-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"1.6.0": "messages/1.6.0.txt" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Added support for experimental Inlay Hints | ||
|
||
Inlay hints are short textual annotations that show parameter names, type hints. | ||
|
||
To enable inlay hints, modify the following settings through `Preferences: LSP-typescript Settings`: | ||
|
||
```js | ||
{ | ||
"settings": { | ||
// Javascript inlay hints options. | ||
"javascript.inlayHints.includeInlayEnumMemberValueHints": false, | ||
"javascript.inlayHints.includeInlayFunctionLikeReturnTypeHints": false, | ||
"javascript.inlayHints.includeInlayFunctionParameterTypeHints": false, | ||
"javascript.inlayHints.includeInlayParameterNameHints": "none", | ||
"javascript.inlayHints.includeInlayParameterNameHintsWhenArgumentMatchesName": false, | ||
"javascript.inlayHints.includeInlayPropertyDeclarationTypeHints": false, | ||
"javascript.inlayHints.includeInlayVariableTypeHints": false, | ||
// Typescript inlay hints options. | ||
"typescript.inlayHints.includeInlayEnumMemberValueHints": false, | ||
"typescript.inlayHints.includeInlayFunctionLikeReturnTypeHints": false, | ||
"typescript.inlayHints.includeInlayFunctionParameterTypeHints": false, | ||
"typescript.inlayHints.includeInlayParameterNameHints": "none", | ||
"typescript.inlayHints.includeInlayParameterNameHintsWhenArgumentMatchesName": false, | ||
"typescript.inlayHints.includeInlayPropertyDeclarationTypeHints": false, | ||
"typescript.inlayHints.includeInlayVariableTypeHints": false, | ||
} | ||
} | ||
``` | ||
|
||
Note: Inlay hints require TypeScript 4.4+. |