mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Disable web TS type acquisition (#213412)
We're waiting on some perf improvement for upstream types installer before turning this on everywhere
This commit is contained in:
@@ -1284,13 +1284,13 @@
|
||||
},
|
||||
"typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"default": true,
|
||||
"description": "%configuration.tsserver.web.projectWideIntellisense.suppressSemanticErrors%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.tsserver.web.typeAcquisition.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"default": false,
|
||||
"description": "%configuration.tsserver.web.typeAcquisition.enabled%",
|
||||
"scope": "window"
|
||||
},
|
||||
|
||||
@@ -261,10 +261,10 @@ export abstract class BaseServiceConfigurationProvider implements ServiceConfigu
|
||||
}
|
||||
|
||||
private readWebProjectWideIntellisenseSuppressSemanticErrors(configuration: vscode.WorkspaceConfiguration): boolean {
|
||||
return configuration.get<boolean>('typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors', false);
|
||||
return configuration.get<boolean>('typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors', true);
|
||||
}
|
||||
|
||||
private readWebTypeAcquisition(configuration: vscode.WorkspaceConfiguration): boolean {
|
||||
return configuration.get<boolean>('typescript.tsserver.web.typeAcquisition.enabled', true);
|
||||
return configuration.get<boolean>('typescript.tsserver.web.typeAcquisition.enabled', false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user