mirror of
https://github.com/Microsoft/vscode
synced 2024-08-25 03:56:03 +00:00
Enable useSeparateSyntaxServer by default and remove the experimental section from setting name
Fixes #76420
This commit is contained in:
parent
ab17d625c8
commit
35f77aab43
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -59,6 +59,5 @@
|
|||
"git.ignoreLimitWarning": true,
|
||||
"remote.extensionKind": {
|
||||
"msjsdiag.debugger-for-chrome": "workspace"
|
||||
},
|
||||
"typescript.experimental.useSeparateSyntaxServer": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue