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
Copy file name to clipboardExpand all lines: extensions/configuration-editing/src/settingsDocumentHelper.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ export class SettingsDocument {
83
83
completions.push(this.newSimpleCompletionItem('${folderPath}',range,localize('folderPath',"file path of the workspace folder the file is contained in (e.g. /Users/Development/myFolder)")));
84
84
completions.push(this.newSimpleCompletionItem('${appName}',range,localize('appName',"e.g. VS Code")));
completions.push(this.newSimpleCompletionItem('${dirty}',range,localize('dirty',"a dirty indicator if the active editor is dirty")));
86
+
completions.push(this.newSimpleCompletionItem('${dirty}',range,localize('dirty',"an indicator for when the active editor has unsaved changes")));
87
87
completions.push(this.newSimpleCompletionItem('${separator}',range,localize('separator',"a conditional separator (' - ') that only shows when surrounded by variables with values")));
exportconstDirtyWorkingCopiesContext=newRawContextKey<boolean>('dirtyWorkingCopies',false,localize('dirtyWorkingCopies',"Whether there are any dirty working copies"));
36
+
exportconstDirtyWorkingCopiesContext=newRawContextKey<boolean>('dirtyWorkingCopies',false,localize('dirtyWorkingCopies',"Whether there are any working copies with unsaved changes"));
37
37
38
38
exportconstRemoteNameContext=newRawContextKey<string>('remoteName','',localize('remoteName',"The name of the remote the window is connected to or an empty string if not connected to any remote"));
39
39
exportconstVirtualWorkspaceContext=newRawContextKey<string>('virtualWorkspace','',localize('virtualWorkspace',"The scheme of the current workspace if is from a virtual file system or an empty string."));
'markdownDescription': localize('highlightModifiedTabs',"Controls whether a top border is drawn on modified (dirty) editor tabs or not. This value is ignored when `#workbench.editor.showTabs#` is disabled."),
50
+
'markdownDescription': localize('highlightModifiedTabs',"Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when `#workbench.editor.showTabs#` is disabled."),
'description': localize('closeOnFileDelete',"Controls whether editors showing a file that was opened during the session should close automatically when getting deleted or renamed by some other process. Disabling this will keep the editor open on such an event. Note that deleting from within the application will always close the editor and that dirty files will never close to preserve your data."),
172
+
'description': localize('closeOnFileDelete',"Controls whether editors showing a file that was opened during the session should close automatically when getting deleted or renamed by some other process. Disabling this will keep the editor open on such an event. Note that deleting from within the application will always close the editor and that editors with unsaved changes will never close to preserve your data."),
'description': localize('limitEditorsEnablement',"Controls if the number of opened editors should be limited or not. When enabled, less recently used editors that are not dirty will close to make space for newly opening editors.")
231
+
'description': localize('limitEditorsEnablement',"Controls if the number of opened editors should be limited or not. When enabled, less recently used editors will close to make space for newly opening editors.")
exportconstActiveEditorDirtyContext=newRawContextKey<boolean>('activeEditorIsDirty',false,localize('activeEditorIsDirty',"Whether the active editor is dirty"));
41
+
exportconstActiveEditorDirtyContext=newRawContextKey<boolean>('activeEditorIsDirty',false,localize('activeEditorIsDirty',"Whether the active editor has unsaved changes"));
42
42
exportconstActiveEditorPinnedContext=newRawContextKey<boolean>('activeEditorIsNotPreview',false,localize('activeEditorIsNotPreview',"Whether the active editor is not in preview mode"));
43
43
exportconstActiveEditorStickyContext=newRawContextKey<boolean>('activeEditorIsPinned',false,localize('activeEditorIsPinned',"Whether the active editor is pinned"));
44
44
exportconstActiveEditorReadonlyContext=newRawContextKey<boolean>('activeEditorIsReadonly',false,localize('activeEditorIsReadonly',"Whether the active editor is readonly"));
},localize('tabActiveModifiedBorder',"Border on the top of modified (dirty) active tabs in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups."));
168
+
},localize('tabActiveModifiedBorder',"Border on the top of modified active tabs in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups."));
},localize('tabInactiveModifiedBorder',"Border on the top of modified (dirty) inactive tabs in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups."));
174
+
},localize('tabInactiveModifiedBorder',"Border on the top of modified inactive tabs in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups."));
},localize('unfocusedActiveModifiedBorder',"Border on the top of modified (dirty) active tabs in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups."));
180
+
},localize('unfocusedActiveModifiedBorder',"Border on the top of modified active tabs in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups."));
},localize('unfocusedINactiveModifiedBorder',"Border on the top of modified (dirty) inactive tabs in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups."));
186
+
},localize('unfocusedINactiveModifiedBorder',"Border on the top of modified inactive tabs in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups."));
nls.localize('hotExit.off','Disable hot exit. A prompt will show when attempting to close a window with dirty files.'),
116
+
nls.localize('hotExit.off','Disable hot exit. A prompt will show when attempting to close a window with editors that have unsaved changes.'),
117
117
nls.localize('hotExit.onExit','Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu). All windows without folders opened will be restored upon next launch. A list of previously opened windows with unsaved files can be accessed via `File > Open Recent > More...`'),
118
118
nls.localize('hotExit.onExitAndWindowClose','Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu), and also for any window with a folder opened regardless of whether it\'s the last window. All windows without folders opened will be restored upon next launch. A list of previously opened windows with unsaved files can be accessed via `File > Open Recent > More...`')
nls.localize('hotExit.off','Disable hot exit. A prompt will show when attempting to close a window with dirty files.'),
127
+
nls.localize('hotExit.off','Disable hot exit. A prompt will show when attempting to close a window with editors that have unsaved changes.'),
128
128
nls.localize('hotExit.onExitAndWindowCloseBrowser','Hot exit will be triggered when the browser quits or the window or tab is closed.')
129
129
],
130
130
'description': nls.localize('hotExit',"Controls whether unsaved files are remembered between sessions, allowing the save prompt when exiting the editor to be skipped.",HotExitConfiguration.ON_EXIT,HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE)
nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'files.autoSave.off'},"A dirty editor is never automatically saved."),
233
-
nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'files.autoSave.afterDelay'},"A dirty editor is automatically saved after the configured `#files.autoSaveDelay#`."),
234
-
nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'files.autoSave.onFocusChange'},"A dirty editor is automatically saved when the editor loses focus."),
235
-
nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'files.autoSave.onWindowChange'},"A dirty editor is automatically saved when the window loses focus.")
232
+
nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'files.autoSave.off'},"An editor with changes is never automatically saved."),
233
+
nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'files.autoSave.afterDelay'},"An editor with changes is automatically saved after the configured `#files.autoSaveDelay#`."),
234
+
nls.localize({comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key: 'files.autoSave.onFocusChange'},"An editor with changes is automatically saved when the editor loses focus."),
235
+
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 of dirty editors. Read more about autosave [here](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save).",AutoSaveConfiguration.OFF,AutoSaveConfiguration.AFTER_DELAY,AutoSaveConfiguration.ON_FOCUS_CHANGE,AutoSaveConfiguration.ON_WINDOW_CHANGE,AutoSaveConfiguration.AFTER_DELAY)
238
+
'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 of editors that have unsaved changes. Read more about autosave [here](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save).",AutoSaveConfiguration.OFF,AutoSaveConfiguration.AFTER_DELAY,AutoSaveConfiguration.ON_FOCUS_CHANGE,AutoSaveConfiguration.ON_WINDOW_CHANGE,AutoSaveConfiguration.AFTER_DELAY)
239
239
},
240
240
'files.autoSaveDelay': {
241
241
'type': 'number',
242
242
'default': 1000,
243
-
'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 ms after which a dirty editor is saved automatically. Only applies when `#files.autoSave#` is set to `{0}`.",AutoSaveConfiguration.AFTER_DELAY)
243
+
'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)
description: localize('terminal.integrated.confirmOnKill',"Controls whether to confirm killing terminals when they have child processes. When set to editor, terminals in the editor area will be marked as dirty when they have child processes. Note that child process detection may not work well for shells like Git Bash which don't run their processes as child processes of the shell."),
315
+
description: localize('terminal.integrated.confirmOnKill',"Controls whether to confirm killing terminals when they have child processes. When set to editor, terminals in the editor area will be marked as changed when they have child processes. Note that child process detection may not work well for shells like Git Bash which don't run their processes as child processes of the shell."),
0 commit comments