title:nls.localize('dirtyWorkspace',"Workspace with Dirty Files"),
message:nls.localize('dirtyWorkspaceConfirm',"Do you want to open the workspace to review the dirty files?"),
detail:nls.localize('dirtyWorkspaceConfirmDetail',"Workspaces with dirty files cannot be removed until all dirty files have been saved or reverted.")
title:isDirtyWorkspace?nls.localize('dirtyWorkspace',"Workspace with Unsaved Files"):nls.localize('dirtyFolder',"Folder with Unsaved Files"),
message:isDirtyWorkspace?nls.localize('dirtyWorkspaceConfirm',"Do you want to open the workspace to review the unsaved files?"):nls.localize('dirtyFolderConfirm',"Do you want to open the folder to review the unsaved files?"),
detail:isDirtyWorkspace?nls.localize('dirtyWorkspaceConfirmDetail',"Workspaces with unsaved files cannot be removed until all unsaved files have been saved or reverted."):nls.localize('dirtyFolderConfirmDetail',"Folders with unsaved files cannot be removed until all unsaved files have been saved or reverted.")
});
if(result.confirmed){
...
...
@@ -170,6 +180,7 @@ abstract class BaseOpenRecentAction extends Action {
leticonClasses:string[];
letfullLabel:string|undefined;
letresource:URI|undefined;
letisWorkspace=false;
// Folder
if(isRecentFolder(recent)){
...
...
@@ -185,6 +196,7 @@ abstract class BaseOpenRecentAction extends Action {
ariaLabel:isDirty?isWorkspace?nls.localize('recentDirtyWorkspaceAriaLabel',"{0}, workspace with unsaved changes",name):nls.localize('recentDirtyFolderAriaLabel',"{0}, folder with unsaved changes",name):name,
this.notificationService.info(nls.localize('noWorkspaceOpened',"There is currently no workspace opened in this instance to close."));
this.notificationService.info(nls.localize('noWorkspaceOrFolderOpened',"There is currently no workspace or folder opened in this instance to close."));
@@ -330,8 +330,8 @@ import { isStandalone } from 'vs/base/browser/browser';
nls.localize('activeFolderLong',"`\${activeFolderLong}`: the full path of the folder the file is contained in (e.g. /Users/Development/myFolder/myFileFolder)."),
nls.localize('folderName',"`\${folderName}`: name of the workspace folder the file is contained in (e.g. myFolder)."),
nls.localize('folderPath',"`\${folderPath}`: file path of the workspace folder the file is contained in (e.g. /Users/Development/myFolder)."),
nls.localize('rootName',"`\${rootName}`: name of the workspace (e.g. myFolder or myWorkspace)."),
nls.localize('rootPath',"`\${rootPath}`: file path of the workspace (e.g. /Users/Development/myWorkspace)."),
nls.localize('rootName',"`\${rootName}`: name of the opened workspace or folder (e.g. myFolder or myWorkspace)."),
nls.localize('rootPath',"`\${rootPath}`: file path of the opened workspace or folder (e.g. /Users/Development/myWorkspace)."),
nls.localize('appName',"`\${appName}`: e.g. VS Code."),
nls.localize('remoteName',"`\${remoteName}`: e.g. SSH"),
nls.localize('dirty',"`\${dirty}`: a dirty indicator if the active editor is dirty."),
},nls.localize('statusBarForeground',"Status bar foreground color when a workspace is opened. The status bar is shown in the bottom of the window."));
},nls.localize('statusBarForeground',"Status bar foreground color when a workspace or folder is opened. The status bar is shown in the bottom of the window."));
},nls.localize('statusBarBackground',"Status bar background color when a workspace is opened. The status bar is shown in the bottom of the window."));
},nls.localize('statusBarBackground',"Status bar background color when a workspace or folder is opened. The status bar is shown in the bottom of the window."));
nls.localize('hotExit.off','Disable hot exit. A prompt will show when attempting to close a window with dirty files.'),
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 workspaces with unsaved files can be accessed via `File > Open Recent > More...`'),
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 workspaces with unsaved files can be accessed via `File > Open Recent > More...`')
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...`'),
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...`')
],
'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)
description:nls.localize('search.seedOnFocus',"Update workspace search query to the editor's selected text when focusing the search view. This happens either on click or when triggering the `workbench.views.search.focus` command.")
description:nls.localize('search.seedOnFocus',"Update the search query to the editor's selected text when focusing the search view. This happens either on click or when triggering the `workbench.views.search.focus` command.")
localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'workbench.startupEditor.none'},"Start without an editor."),
localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'workbench.startupEditor.welcomePage'},"Open the Welcome page (default)."),
localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'workbench.startupEditor.readme'},"Open the README when opening a folder that contains one, fallback to 'welcomePage' otherwise."),
localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'workbench.startupEditor.newUntitledFile'},"Open a new untitled file (only applies when opening an empty workspace)."),
localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'workbench.startupEditor.newUntitledFile'},"Open a new untitled file (only applies when opening an empty window)."),
localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'workbench.startupEditor.welcomePageInEmptyWorkbench'},"Open the Welcome page when opening an empty workbench."),],
...(product.quality!=='stable'
?[localize({comment:['This is the description for a setting. Values surrounded by single quotes are not to be translated.'],key:'workbench.startupEditor.gettingStarted'},"Open the Getting Started page (experimental).")]