mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-09 08:15:05 +01:00
ts - enable use code watcher by default (#213450)
This commit is contained in:
Vendored
+1
-2
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user