You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.logService.trace(`[editor auto save] scheduling auto save after ${this.autoSaveAfterDelay}ms`,workingCopy.resource.toString(),workingCopy.typeId);
185
+
this.logService.trace(`[editor auto save] scheduling auto save after ${autoSaveAfterDelay}ms`,workingCopy.resource.toString(),workingCopy.typeId);
nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'files.autoSave.onWindowChange'},"An editor with changes is automatically saved when the window loses focus.")
'markdownDescription': nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'autoSave'},"Controls [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors that have unsaved changes.",AutoSaveConfiguration.OFF,AutoSaveConfiguration.AFTER_DELAY,AutoSaveConfiguration.ON_FOCUS_CHANGE,AutoSaveConfiguration.ON_WINDOW_CHANGE,AutoSaveConfiguration.AFTER_DELAY)
253
+
'markdownDescription': nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'autoSave'},"Controls [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors that have unsaved changes.",AutoSaveConfiguration.OFF,AutoSaveConfiguration.AFTER_DELAY,AutoSaveConfiguration.ON_FOCUS_CHANGE,AutoSaveConfiguration.ON_WINDOW_CHANGE,AutoSaveConfiguration.AFTER_DELAY),
254
+
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
254
255
},
255
256
'files.autoSaveDelay': {
256
257
'type': 'number',
257
258
'default': 1000,
258
259
'minimum': 0,
259
-
'markdownDescription': nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'autoSaveDelay'},"Controls the delay in milliseconds after which an editor with unsaved changes is saved automatically. Only applies when `#files.autoSave#` is set to `{0}`.",AutoSaveConfiguration.AFTER_DELAY)
260
+
'markdownDescription': nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'autoSaveDelay'},"Controls the delay in milliseconds after which an editor with unsaved changes is saved automatically. Only applies when `#files.autoSave#` is set to `{0}`.",AutoSaveConfiguration.AFTER_DELAY),
261
+
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
262
+
},
263
+
'files.autoSaveWorkspaceFilesOnly': {
264
+
'type': 'boolean',
265
+
'default': false,
266
+
'markdownDescription': nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'autoSaveWorkspaceFilesOnly'},"When enabled, will limit [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors to files that are inside the opened workspace. Only applies when `#files.autoSave#` is enabled."),
267
+
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
268
+
},
269
+
'files.autoSaveWhenNoErrors': {
270
+
'type': 'boolean',
271
+
'default': false,
272
+
'markdownDescription': nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'autoSaveWhenNoErrors'},"When enabled, will limit [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors to files that have no errors reported in them. Only applies when `#files.autoSave#` is enabled."),
0 commit comments