'markdownDescription':nls.localize('disableCustomMenuBarAltFocus',"If enabled, disables the ability to focus the menu bar with the Alt-key when not set to toggle."),
'markdownDescription':nls.localize('disableCustomMenuBarAltFocus',"If enabled, disables the ability to focus the menu bar with the Alt-key when not set to toggle."),
'included':isWindows||isLinux||isWeb
'included':isWindows||isLinux||isWeb
},
'window.openFoldersInNewWindow':{
'type':'string',
'enum':['on','off','default'],
'enumDescriptions':[
nls.localize('window.openFoldersInNewWindow.on',"Folders will open in a new window."),
nls.localize('window.openFoldersInNewWindow.off',"Folders will replace the last active window."),
nls.localize('window.openFoldersInNewWindow.default',"Folders will open in a new window unless a folder is picked from within the application (e.g. via the File menu).")
],
'default':'default',
'scope':ConfigurationScope.APPLICATION,
'markdownDescription':nls.localize('openFoldersInNewWindow',"Controls whether folders should open in a new window or replace the last active window.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option).")
registry.registerWorkbenchAction(newSyncActionDescriptor(CompareWithClipboardAction,CompareWithClipboardAction.ID,CompareWithClipboardAction.LABEL,{primary:KeyChord(KeyMod.CtrlCmd|KeyCode.KEY_K,KeyCode.KEY_C)}),'File: Compare Active File with Clipboard',category.value);
registry.registerWorkbenchAction(newSyncActionDescriptor(CompareWithClipboardAction,CompareWithClipboardAction.ID,CompareWithClipboardAction.LABEL,{primary:KeyChord(KeyMod.CtrlCmd|KeyCode.KEY_K,KeyCode.KEY_C)}),'File: Compare Active File with Clipboard',category.value);
registry.registerWorkbenchAction(newSyncActionDescriptor(ToggleAutoSaveAction,ToggleAutoSaveAction.ID,ToggleAutoSaveAction.LABEL),'File: Toggle Auto Save',category.value);
registry.registerWorkbenchAction(newSyncActionDescriptor(ToggleAutoSaveAction,ToggleAutoSaveAction.ID,ToggleAutoSaveAction.LABEL),'File: Toggle Auto Save',category.value);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenLocalFileFolderAction,OpenLocalFileFolderAction.ID,OpenLocalFileFolderAction.LABEL,{primary:KeyMod.CtrlCmd|KeyCode.KEY_O},RemoteFileDialogContext),'File: Open Local...',fileCategory);
}
}else{
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenFileAction,OpenFileAction.ID,OpenFileAction.LABEL,{primary:KeyMod.CtrlCmd|KeyCode.KEY_O}),'File: Open File...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenFolderAction,OpenFolderAction.ID,OpenFolderAction.LABEL,{primary:KeyChord(KeyMod.CtrlCmd|KeyCode.KEY_K,KeyMod.CtrlCmd|KeyCode.KEY_O)}),'File: Open Folder...',fileCategory);
if(!isWeb){
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenLocalFileAction,OpenLocalFileAction.ID,OpenLocalFileAction.LABEL,{primary:KeyMod.CtrlCmd|KeyCode.KEY_O},RemoteFileDialogContext),'File: Open Local File...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenLocalFolderAction,OpenLocalFolderAction.ID,OpenLocalFolderAction.LABEL,{primary:KeyChord(KeyMod.CtrlCmd|KeyCode.KEY_K,KeyMod.CtrlCmd|KeyCode.KEY_O)},RemoteFileDialogContext),'File: Open Local Folder...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenWorkspaceAction,OpenWorkspaceAction.ID,OpenWorkspaceAction.LABEL),'Workspaces: Open Workspace...',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenLocalFileFolderAction,OpenLocalFileFolderAction.ID,OpenLocalFileFolderAction.LABEL,{primary:KeyMod.CtrlCmd|KeyCode.KEY_O},RemoteFileDialogContext),'File: Open Local...',fileCategory);
}else{
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenFileAction,OpenFileAction.ID,OpenFileAction.LABEL,{primary:KeyMod.CtrlCmd|KeyCode.KEY_O}),'File: Open File...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenFolderAction,OpenFolderAction.ID,OpenFolderAction.LABEL,{primary:KeyChord(KeyMod.CtrlCmd|KeyCode.KEY_K,KeyMod.CtrlCmd|KeyCode.KEY_O)}),'File: Open Folder...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenLocalFileAction,OpenLocalFileAction.ID,OpenLocalFileAction.LABEL,{primary:KeyMod.CtrlCmd|KeyCode.KEY_O},RemoteFileDialogContext),'File: Open Local File...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenLocalFolderAction,OpenLocalFolderAction.ID,OpenLocalFolderAction.LABEL,{primary:KeyChord(KeyMod.CtrlCmd|KeyCode.KEY_K,KeyMod.CtrlCmd|KeyCode.KEY_O)},RemoteFileDialogContext),'File: Open Local Folder...',fileCategory);
}
registry.registerWorkbenchAction(newSyncActionDescriptor(SaveLocalFileAction,SaveLocalFileAction.ID,SaveLocalFileAction.LABEL,{primary:KeyMod.CtrlCmd|KeyMod.Shift|KeyCode.KEY_S},RemoteFileDialogContext),'File: Save Local File...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(SaveLocalFileAction,SaveLocalFileAction.ID,SaveLocalFileAction.LABEL,{primary:KeyMod.CtrlCmd|KeyMod.Shift|KeyCode.KEY_S},RemoteFileDialogContext),'File: Save Local File...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(QuickOpenRecentAction,QuickOpenRecentAction.ID,QuickOpenRecentAction.LABEL),'File: Quick Open Recent...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(QuickOpenRecentAction,QuickOpenRecentAction.ID,QuickOpenRecentAction.LABEL),'File: Quick Open Recent...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenRecentAction,OpenRecentAction.ID,OpenRecentAction.LABEL,{primary:KeyMod.CtrlCmd|KeyCode.KEY_R,mac:{primary:KeyMod.WinCtrl|KeyCode.KEY_R}}),'File: Open Recent...',fileCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenRecentAction,OpenRecentAction.ID,OpenRecentAction.LABEL,{primary:KeyMod.CtrlCmd|KeyCode.KEY_R,mac:{primary:KeyMod.WinCtrl|KeyCode.KEY_R}}),'File: Open Recent...',fileCategory);
...
@@ -119,7 +109,6 @@ import product from 'vs/platform/product/node/product';
...
@@ -119,7 +109,6 @@ import product from 'vs/platform/product/node/product';
registry.registerWorkbenchAction(newSyncActionDescriptor(AddRootFolderAction,AddRootFolderAction.ID,AddRootFolderAction.LABEL),'Workspaces: Add Folder to Workspace...',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(AddRootFolderAction,AddRootFolderAction.ID,AddRootFolderAction.LABEL),'Workspaces: Add Folder to Workspace...',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(GlobalRemoveRootFolderAction,GlobalRemoveRootFolderAction.ID,GlobalRemoveRootFolderAction.LABEL),'Workspaces: Remove Folder from Workspace...',workspacesCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(GlobalRemoveRootFolderAction,GlobalRemoveRootFolderAction.ID,GlobalRemoveRootFolderAction.LABEL),'Workspaces: Remove Folder from Workspace...',workspacesCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(OpenWorkspaceAction,OpenWorkspaceAction.ID,OpenWorkspaceAction.LABEL),'Workspaces: Open Workspace...',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(SaveWorkspaceAsAction,SaveWorkspaceAsAction.ID,SaveWorkspaceAsAction.LABEL),'Workspaces: Save Workspace As...',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(SaveWorkspaceAsAction,SaveWorkspaceAsAction.ID,SaveWorkspaceAsAction.LABEL),'Workspaces: Save Workspace As...',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(DuplicateWorkspaceInNewWindowAction,DuplicateWorkspaceInNewWindowAction.ID,DuplicateWorkspaceInNewWindowAction.LABEL),'Workspaces: Duplicate Workspace in New Window',workspacesCategory);
registry.registerWorkbenchAction(newSyncActionDescriptor(DuplicateWorkspaceInNewWindowAction,DuplicateWorkspaceInNewWindowAction.ID,DuplicateWorkspaceInNewWindowAction.LABEL),'Workspaces: Duplicate Workspace in New Window',workspacesCategory);
...
@@ -227,45 +216,6 @@ import product from 'vs/platform/product/node/product';
...
@@ -227,45 +216,6 @@ import product from 'vs/platform/product/node/product';
title:nls.localize({key:'miOpenRecent',comment:['&& denotes a mnemonic']},"Open &&Recent"),
title:nls.localize({key:'miOpenRecent',comment:['&& denotes a mnemonic']},"Open &&Recent"),
submenu:MenuId.MenubarRecentMenu,
submenu:MenuId.MenubarRecentMenu,
...
@@ -526,18 +476,6 @@ import product from 'vs/platform/product/node/product';
...
@@ -526,18 +476,6 @@ import product from 'vs/platform/product/node/product';
nls.localize('openFilesInNewWindowMac',"Controls whether files should open in a new window. \nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option)."):
nls.localize('openFilesInNewWindowMac',"Controls whether files should open in a new window. \nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option)."):
nls.localize('openFilesInNewWindow',"Controls whether files should open in a new window.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option).")
nls.localize('openFilesInNewWindow',"Controls whether files should open in a new window.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option).")
},
},
'window.openFoldersInNewWindow':{
'type':'string',
'enum':['on','off','default'],
'enumDescriptions':[
nls.localize('window.openFoldersInNewWindow.on',"Folders will open in a new window."),
nls.localize('window.openFoldersInNewWindow.off',"Folders will replace the last active window."),
nls.localize('window.openFoldersInNewWindow.default',"Folders will open in a new window unless a folder is picked from within the application (e.g. via the File menu).")
],
'default':'default',
'scope':ConfigurationScope.APPLICATION,
'markdownDescription':nls.localize('openFoldersInNewWindow',"Controls whether folders should open in a new window or replace the last active window.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option).")