mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Enable useSeparateSyntaxServer by default and remove the experimental section from setting name
Fixes #76420
This commit is contained in:
@@ -592,10 +592,10 @@
|
||||
"description": "%configuration.surveys.enabled%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.experimental.useSeparateSyntaxServer": {
|
||||
"typescript.tsserver.useSeparateSyntaxServer": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.experimental.useSeparateSyntaxServer%",
|
||||
"default": true,
|
||||
"description": "%configuration.tsserver.useSeparateSyntaxServer%",
|
||||
"scope": "window"
|
||||
}
|
||||
}
|
||||
@@ -758,4 +758,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -49,7 +49,7 @@
|
||||
"typescript.problemMatchers.tsc.label": "TypeScript problems",
|
||||
"typescript.problemMatchers.tscWatch.label": "TypeScript problems (watch mode)",
|
||||
"configuration.suggest.paths": "Enable/disable suggestions for paths in import statements and require calls.",
|
||||
"configuration.experimental.useSeparateSyntaxServer": "Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols. Requires using TypeScript 3.4.0 or newer in the workspace.",
|
||||
"configuration.tsserver.useSeparateSyntaxServer": "Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols. Requires using TypeScript 3.4.0 or newer in the workspace.",
|
||||
"typescript.locale": "Sets the locale used to report JavaScript and TypeScript errors. Requires using TypeScript 2.6.0 or newer in the workspace. Default of `null` uses VS Code's locale.",
|
||||
"javascript.implicitProjectConfig.experimentalDecorators": "Enable/disable `experimentalDecorators` for JavaScript files that are not part of a project. Existing jsconfig.json or tsconfig.json files override this setting. Requires using TypeScript 2.3.1 or newer in the workspace.",
|
||||
"configuration.suggest.autoImports": "Enable/disable auto import suggestions. Requires using TypeScript 2.6.1 or newer in the workspace.",
|
||||
|
||||
@@ -144,6 +144,6 @@ export class TypeScriptServiceConfiguration {
|
||||
}
|
||||
|
||||
private static readUseSeparateSyntaxServer(configuration: vscode.WorkspaceConfiguration): boolean {
|
||||
return configuration.get<boolean>('typescript.experimental.useSeparateSyntaxServer', false);
|
||||
return configuration.get<boolean>('typescript.tsserver.useSeparateSyntaxServer', true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user