mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Add ts inline hints (#113412)
* Add ts server for inline hints * Add some feature related configure * Add more config * Rename all options * Support range * use new interface * Fix cr issues * Update inlay hints for ts plugin * Avoid call chain hints * Avoid more option * Update protos * Update extensions/typescript-language-features/package.nls.json Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Use suppress for some option * Update CR issues * Fix missing typedef * Avoid changes Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
This commit is contained in:
@@ -270,6 +270,111 @@
|
||||
"description": "%configuration.suggest.includeAutomaticOptionalChainCompletions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.inlayHints.parameterNames.enabled": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"none",
|
||||
"literals",
|
||||
"all"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%inlayHints.parameterNames.none%",
|
||||
"%inlayHints.parameterNames.literals%",
|
||||
"%inlayHints.parameterNames.all%"
|
||||
],
|
||||
"default": "none",
|
||||
"description": "%configuration.inlayHints.parameterNames.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.inlayHints.parameterNames.suppressWhenArgumentMatchesName%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.inlayHints.parameterTypes.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.parameterTypes.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.inlayHints.variableTypes.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.variableTypes.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
|
||||
"typescript.inlayHints.propertyDeclarationTypes.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.propertyDeclarationTypes.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.inlayHints.functionLikeReturnTypes.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.functionLikeReturnTypes.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.inlayHints.enumMemberValues.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.enumMemberValues.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.inlayHints.parameterNames.enabled": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"none",
|
||||
"literals",
|
||||
"all"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%inlayHints.parameterNames.none%",
|
||||
"%inlayHints.parameterNames.literals%",
|
||||
"%inlayHints.parameterNames.all%"
|
||||
],
|
||||
"default": "none",
|
||||
"description": "%configuration.inlayHints.parameterNames.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.inlayHints.parameterNames.suppressWhenArgumentMatchesName%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.inlayHints.parameterTypes.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.parameterTypes.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.inlayHints.variableTypes.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.variableTypes.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.inlayHints.propertyDeclarationTypes.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.propertyDeclarationTypes.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.inlayHints.functionLikeReturnTypes.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.functionLikeReturnTypes.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.inlayHints.enumMemberValues.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.inlayHints.enumMemberValues.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.includeCompletionsForImportStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
|
||||
Reference in New Issue
Block a user