diff --git a/messages.json b/messages.json new file mode 100644 index 0000000..4d8775f --- /dev/null +++ b/messages.json @@ -0,0 +1,3 @@ +{ + "1.6.0": "messages/1.6.0.txt" +} diff --git a/messages/1.6.0.txt b/messages/1.6.0.txt new file mode 100644 index 0000000..6302e9e --- /dev/null +++ b/messages/1.6.0.txt @@ -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+.