How can I can customize VS Code inlay hints in ways that are both language-independent and extension-independent?
I want to:
customize when the inlays appear
customize their visual style
adjust these using either workspace or user settings
Motivation: So far, I haven't found brief, to-the-point, one-stop documentation for answering this. Hence this question and my answer below.
Terminological clarification: "Built-in" is not necessarily "language-independent". VS Code does offer some built-in settings relating to particular languages; since they are language-dependent, they are not in-scope for this question.
Context: I'm using VS Code version 1.81.
Customization
Here is a summary of the relevant
settings.json
options for VS Code, as of version 1.81.1 :Resources