Skip to content

Commit

Permalink
Add 1.6.0 release message
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Oct 16, 2021
1 parent d7924d0 commit c2fbd5f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"1.6.0": "messages/1.6.0.txt"
}
30 changes: 30 additions & 0 deletions messages/1.6.0.txt
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+.

0 comments on commit c2fbd5f

Please sign in to comment.