Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tbeseda/vscode-toggle-js-inlayhints

Quickly turn on or off all JavaScript inlay hints in VS Code
https://github.com/tbeseda/vscode-toggle-js-inlayhints

Last synced: about 1 month ago
JSON representation

Quickly turn on or off all JavaScript inlay hints in VS Code

Awesome Lists containing this project

README

        

## 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](./vscode-toggle-inlayhints.gif)

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

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

**OFF** simply removes those settings.