mirror of
https://github.com/Microsoft/vscode
synced 2024-10-01 08:50:48 +00:00
ts - enable use code watcher by default (#213450)
This commit is contained in:
parent
3e8b60f276
commit
2188b46e88
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -170,6 +170,5 @@
|
|||
},
|
||||
"css.format.spaceAroundSelectorSeparator": true,
|
||||
"inlineChat.mode": "live",
|
||||
"typescript.enablePromptUseWorkspaceTsdk": true,
|
||||
"typescript.tsserver.experimental.useVsCodeWatcher": true
|
||||
"typescript.enablePromptUseWorkspaceTsdk": true
|
||||
}
|
||||
|
|
|
@ -1177,10 +1177,7 @@
|
|||
"typescript.tsserver.experimental.useVsCodeWatcher": {
|
||||
"type": "boolean",
|
||||
"description": "%configuration.tsserver.useVsCodeWatcher%",
|
||||
"default": false,
|
||||
"tags": [
|
||||
"experimental"
|
||||
]
|
||||
"default": true
|
||||
},
|
||||
"typescript.tsserver.watchOptions": {
|
||||
"type": "object",
|
||||
|
|
|
@ -117,7 +117,7 @@ export interface TypeScriptServiceConfiguration {
|
|||
readonly enableProjectDiagnostics: boolean;
|
||||
readonly maxTsServerMemory: number;
|
||||
readonly enablePromptUseWorkspaceTsdk: boolean;
|
||||
readonly useVsCodeWatcher: boolean;
|
||||
readonly useVsCodeWatcher: boolean; // TODO@bpasero remove this setting eventually
|
||||
readonly watchOptions: Proto.WatchOptions | undefined;
|
||||
readonly includePackageJsonAutoImports: 'auto' | 'on' | 'off' | undefined;
|
||||
readonly enableTsServerTracing: boolean;
|
||||
|
|
|
@ -115,7 +115,8 @@ export class WorkspaceWatcher extends Disposable {
|
|||
reason = 'ETERM';
|
||||
}
|
||||
|
||||
// Log telemetry if we gathered a reason (TODO@bpasero remove me once the TS experiment is over)
|
||||
// Log telemetry if we gathered a reason (logging it from the renderer
|
||||
// allows us to investigate this situation in context of experiments)
|
||||
if (reason) {
|
||||
type WatchErrorClassification = {
|
||||
owner: 'bpasero';
|
||||
|
|
Loading…
Reference in a new issue