[typescript-language-features] Expandable hover (#228255)

* add verbosity level to hover provider

* cleanup

* update minimum ts version

* get `canIncreaseVerbosityLevel` from server response

* add expandable hover experimental setting
This commit is contained in:
Gabriela Araujo Britto
2024-09-24 09:22:09 -07:00
committed by GitHub
parent c45f9a3e8c
commit 0f9abf3c35
5 changed files with 66 additions and 19 deletions

View File

@@ -13,7 +13,8 @@
"mappedEditsProvider",
"codeActionAI",
"codeActionRanges",
"documentPaste"
"documentPaste",
"editorHoverVerbosityLevel"
],
"capabilities": {
"virtualWorkspaces": {
@@ -825,16 +826,16 @@
],
"enumDescriptions": [
"%typescript.locale.auto%",
"Deutsch",
"español",
"Deutsch",
"español",
"English",
"français",
"italiano",
"日本語",
"한국어",
"русский",
"中文(简体)",
"中文(繁體)"
"français",
"italiano",
"日本語",
"한국어",
"русский",
"中文(简体)",
"中文(繁體)"
],
"markdownDescription": "%typescript.locale%",
"scope": "window"
@@ -1483,14 +1484,27 @@
"type": "boolean",
"default": false,
"description": "%configuration.updateImportsOnPaste%",
"tags": ["experimental"]
"tags": [
"experimental"
]
},
"typescript.experimental.updateImportsOnPaste": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "%configuration.updateImportsOnPaste%",
"tags": ["experimental"]
"tags": [
"experimental"
]
},
"typescript.experimental.expandableHover": {
"type": "boolean",
"default": false,
"description": "%configuration.expandableHover%",
"scope": "window",
"tags": [
"experimental"
]
}
}
},