Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Toggle JS & TS InlayHintsNew to Visual Studio Code? Get it now.

Toggle JS & TS InlayHints

tbeseda

|
94 installs
| (0) | Free
Quickly toggle all JavaScript and TypeScript inlay hints
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Toggle JS inlay hints

Quickly turn on or off all JavaScript inlay hints

Add two VS Code commands to turn on and off all JavaScript inlay hint settings.

screen recording

When toggled ON, the following is set for both javascript.inlayHints and typescript.inlayHints in a user's settings JSON:

{
	"enumMemberValues.enabled": true,
	"functionLikeReturnTypes.enabled": true,
	"parameterNames.enabled": "all",
	"parameterTypes.enabled": true,
	"propertyDeclarationTypes.enabled": true,
	"variableTypes.enabled": true,
}

OFF simply removes those settings.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft