Enable useSeparateSyntaxServer by default and remove the experimental section from setting name

Fixes #76420
This commit is contained in:
Matt Bierner 2019-07-01 11:47:21 -07:00
parent ab17d625c8
commit 35f77aab43
4 changed files with 7 additions and 8 deletions

View file

@ -59,6 +59,5 @@
"git.ignoreLimitWarning": true,
"remote.extensionKind": {
"msjsdiag.debugger-for-chrome": "workspace"
},
"typescript.experimental.useSeparateSyntaxServer": true
}
}

View file

@ -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 @@
}
]
}
}
}

View file

@ -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.",

View file

@ -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);
}
}