Enable project wide JS/TS intellisense on web by default (#182812)

Fixes #170920

Enables this feature by default but also disables semantic errors. This is needed to avoid lots of annoying false positive errors for external modules. We plan to remove this limitation once type downloading support is enabled
This commit is contained in:
Matt Bierner
2023-05-17 15:06:00 -07:00
committed by GitHub
parent adddf406d0
commit 4d59b19b73
6 changed files with 53 additions and 33 deletions

View File

@@ -1241,14 +1241,17 @@
"description": "%configuration.suggest.objectLiteralMethodSnippets.enabled%",
"scope": "resource"
},
"typescript.experimental.tsserver.web.enableProjectWideIntellisense": {
"typescript.tsserver.web.projectWideIntellisense.enabled": {
"type": "boolean",
"default": false,
"description": "%typescript.experimental.tsserver.web.enableProjectWideIntellisense%",
"scope": "window",
"tags": [
"experimental"
]
"default": true,
"description": "%configuration.tsserver.web.projectWideIntellisense.enabled%",
"scope": "window"
},
"typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors": {
"type": "boolean",
"default": true,
"description": "%configuration.tsserver.web.projectWideIntellisense.suppressSemanticErrors%",
"scope": "window"
},
"typescript.preferGoToSourceDefinition": {
"type": "boolean",