@codingame/monaco-vscode-api 1.78.4 → 1.78.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -9
- package/dist/api.js +192 -2
- package/dist/assets/breakpointWidget.css +31 -0
- package/dist/assets/callStackEditorContribution.css +12 -0
- package/dist/assets/debug.contribution.css +138 -0
- package/dist/assets/debugHover.css +80 -0
- package/dist/assets/debugToolBar.css +49 -0
- package/dist/assets/editorquickaccess.css +8 -0
- package/dist/assets/editorstatus.css +51 -0
- package/dist/assets/exceptionWidget.css +52 -0
- package/dist/assets/notificationsActions.css +14 -0
- package/dist/assets/notificationsCenter.css +69 -0
- package/dist/assets/notificationsList.css +152 -0
- package/dist/assets/notificationsToasts.css +63 -0
- package/dist/assets/panelpart.css +75 -0
- package/dist/assets/paneview.css +148 -0
- package/dist/assets/paneviewlet.css +79 -0
- package/dist/assets/sidebysideeditor.css +9 -0
- package/dist/assets.js +15 -0
- package/dist/default-extensions/bat.js +6 -6
- package/dist/default-extensions/clojure.js +5 -5
- package/dist/default-extensions/coffeescript.js +6 -6
- package/dist/default-extensions/cpp.js +11 -11
- package/dist/default-extensions/csharp.js +6 -6
- package/dist/default-extensions/css.js +5 -5
- package/dist/default-extensions/dart.js +5 -5
- package/dist/default-extensions/diff.js +5 -5
- package/dist/default-extensions/docker.js +5 -5
- package/dist/default-extensions/fsharp.js +6 -6
- package/dist/default-extensions/go.js +5 -5
- package/dist/default-extensions/groovy.js +6 -6
- package/dist/default-extensions/handlebars.js +5 -5
- package/dist/default-extensions/hlsl.js +5 -5
- package/dist/default-extensions/html.js +7 -7
- package/dist/default-extensions/ini.js +6 -6
- package/dist/default-extensions/java.js +6 -6
- package/dist/default-extensions/javascript.js +9 -9
- package/dist/default-extensions/json.js +6 -6
- package/dist/default-extensions/julia.js +5 -5
- package/dist/default-extensions/latex.js +11 -11
- package/dist/default-extensions/less.js +5 -5
- package/dist/default-extensions/log.js +4 -4
- package/dist/default-extensions/lua.js +5 -5
- package/dist/default-extensions/make.js +5 -5
- package/dist/default-extensions/markdown-basics.js +6 -6
- package/dist/default-extensions/objective-c.js +6 -6
- package/dist/default-extensions/perl.js +7 -7
- package/dist/default-extensions/php.js +7 -7
- package/dist/default-extensions/powershell.js +5 -5
- package/dist/default-extensions/pug.js +5 -5
- package/dist/default-extensions/python.js +6 -6
- package/dist/default-extensions/r.js +5 -5
- package/dist/default-extensions/razor.js +5 -5
- package/dist/default-extensions/ruby.js +5 -5
- package/dist/default-extensions/rust.js +5 -5
- package/dist/default-extensions/scss.js +6 -6
- package/dist/default-extensions/shaderlab.js +5 -5
- package/dist/default-extensions/shellscript.js +5 -5
- package/dist/default-extensions/sql.js +5 -5
- package/dist/default-extensions/swift.js +6 -6
- package/dist/default-extensions/theme-abyss.js +4 -4
- package/dist/default-extensions/theme-defaults.js +12 -12
- package/dist/default-extensions/theme-kimbie-dark.js +4 -4
- package/dist/default-extensions/theme-monokai-dimmed.js +4 -4
- package/dist/default-extensions/theme-monokai.js +4 -4
- package/dist/default-extensions/theme-quietlight.js +4 -4
- package/dist/default-extensions/theme-red.js +4 -4
- package/dist/default-extensions/theme-seti.js +4 -4
- package/dist/default-extensions/theme-solarized-dark.js +4 -4
- package/dist/default-extensions/theme-solarized-light.js +4 -4
- package/dist/default-extensions/theme-tomorrow-night-blue.js +4 -4
- package/dist/default-extensions/typescript-basics.js +9 -9
- package/dist/default-extensions/typescript-language-features.js +3 -3
- package/dist/default-extensions/vb.js +6 -6
- package/dist/default-extensions/xml.js +7 -7
- package/dist/default-extensions/yaml.js +5 -5
- package/dist/{extension-tools-b2d018a3.js → extension-tools-b68a64de.js} +2 -15
- package/dist/extensions.js +150 -4
- package/dist/json.js +92 -0
- package/dist/monaco-treemending.js +882 -0
- package/dist/monaco.js +24 -458
- package/dist/node_modules/tslib/tslib.es6.js +21 -0
- package/dist/override/vs/workbench/browser/parts/editor/textEditor.js +2 -0
- package/dist/rollup-extension-directory-plugin.js +1 -1
- package/dist/rollup-vsix-plugin.js +1 -1
- package/dist/service-override/_46__46__47__46__46__47_vscode_47_vs_47_platform_47_audioCues_47_browser_47_media_47__42__46_mp3.js +11 -0
- package/dist/service-override/audioCue.js +13 -0
- package/dist/service-override/configuration.js +100 -0
- package/dist/service-override/debug.js +23 -0
- package/dist/service-override/dialogs.js +13 -0
- package/dist/service-override/files.js +244 -0
- package/dist/service-override/keybindings.js +100 -0
- package/dist/service-override/languages.js +27 -0
- package/dist/service-override/layout.js +41 -0
- package/dist/service-override/modelEditor.js +128 -0
- package/dist/service-override/notifications.js +34 -0
- package/dist/service-override/preferences.js +10 -0
- package/dist/{snippets.js → service-override/snippets.js} +5 -3
- package/dist/service-override/textmate.js +36 -0
- package/dist/service-override/theme.js +26 -0
- package/dist/services.d.ts +118 -1
- package/dist/services.js +59 -3
- package/dist/tools.js +20 -0
- package/dist/vscode/vs/base/browser/ui/splitview/paneview.js +289 -0
- package/dist/vscode/vs/base/common/console.js +58 -0
- package/dist/vscode/vs/base/common/date.js +204 -0
- package/dist/vscode/vs/base/common/jsonEdit.js +164 -0
- package/dist/vscode/vs/base/common/jsonFormatter.js +187 -0
- package/dist/vscode/vs/base/common/keybindingParser.js +87 -0
- package/dist/vscode/vs/base/common/skipList.js +160 -0
- package/dist/vscode/vs/base/common/uriIpc.js +32 -0
- package/dist/vscode/vs/base/parts/ipc/common/ipc.net.js +45 -0
- package/dist/vscode/vs/base/parts/request/browser/request.js +60 -0
- package/dist/vscode/vs/base/parts/request/common/request.js +8 -0
- package/dist/vscode/vs/editor/browser/config/editorConfiguration.js +91 -0
- package/dist/vscode/vs/editor/common/services/languageFeaturesService.js +41 -0
- package/dist/vscode/vs/editor/common/services/modelUndoRedoParticipant.js +56 -0
- package/dist/vscode/vs/editor/common/services/textResourceConfigurationService.js +112 -0
- package/dist/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +112 -0
- package/dist/vscode/vs/platform/debug/common/extensionHostDebug.js +3 -0
- package/dist/{extensionManagement.js → vscode/vs/platform/extensionManagement/common/extensionManagement.js} +2 -1
- package/dist/vscode/vs/platform/extensionManagement/common/extensionManagementUtil.js +14 -0
- package/dist/vscode/vs/platform/extensionManagement/common/extensionNls.js +66 -0
- package/dist/vscode/vs/platform/extensionManagement/common/implicitActivationEvents.js +53 -0
- package/dist/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +69 -0
- package/dist/vscode/vs/platform/externalServices/common/serviceMachineId.js +27 -0
- package/dist/vscode/vs/platform/files/common/fileService.js +920 -0
- package/dist/vscode/vs/platform/files/common/inMemoryFilesystemProvider.js +175 -0
- package/dist/vscode/vs/platform/files/common/io.js +80 -0
- package/dist/vscode/vs/platform/files/common/watcher.js +69 -0
- package/dist/vscode/vs/platform/keyboardLayout/common/keyboardConfig.js +42 -0
- package/dist/vscode/vs/platform/keyboardLayout/common/keyboardLayout.js +12 -0
- package/dist/vscode/vs/platform/keyboardLayout/common/keyboardMapper.js +23 -0
- package/dist/vscode/vs/platform/remote/common/remoteAuthorityResolver.js +17 -0
- package/dist/vscode/vs/platform/request/browser/requestService.js +25 -0
- package/dist/vscode/vs/platform/request/common/request.js +50 -0
- package/dist/vscode/vs/platform/telemetry/common/telemetryUtils.js +119 -0
- package/dist/{tokenClassificationRegistry.js → vscode/vs/platform/theme/common/tokenClassificationRegistry.js} +82 -136
- package/dist/vscode/vs/platform/tunnel/common/tunnel.js +3 -0
- package/dist/vscode/vs/platform/uriIdentity/common/uriIdentityService.js +80 -0
- package/dist/vscode/vs/platform/userDataSync/common/content.js +9 -0
- package/dist/vscode/vs/platform/userDataSync/common/settingsMerge.js +299 -0
- package/dist/vscode/vs/platform/workspace/common/editSessions.js +3 -0
- package/dist/vscode/vs/platform/workspace/common/virtualWorkspace.js +17 -0
- package/dist/vscode/vs/platform/workspaces/common/workspaces.js +195 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadBulkEdits.js +49 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadClipboard.js +22 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadCommands.js +93 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadConfiguration.js +78 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadConsole.js +33 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadDebugService.js +347 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadDiagnostics.js +67 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadDocumentContentProviders.js +73 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadDocuments.js +246 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +379 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadEditor.js +410 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadEditors.js +223 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadExtensionService.js +213 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadFileSystem.js +270 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadFileSystemEventService.js +223 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadLanguageFeatures.js +909 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadLanguages.js +76 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadMessageService.js +114 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadOutputService.js +73 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadProgress.js +62 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadQuickOpen.js +183 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadSaveParticipant.js +43 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadTelemetry.js +50 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadWindow.js +48 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadWorkspace.js +227 -0
- package/dist/vscode/vs/workbench/api/common/cache.js +28 -0
- package/dist/vscode/vs/workbench/api/common/configurationExtensionPoint.js +450 -0
- package/dist/vscode/vs/workbench/api/common/extHost.protocol.js +131 -0
- package/dist/vscode/vs/workbench/api/common/extHostApiCommands.js +656 -0
- package/dist/vscode/vs/workbench/api/common/extHostApiDeprecationService.js +35 -0
- package/dist/vscode/vs/workbench/api/common/extHostBulkEdits.js +21 -0
- package/dist/vscode/vs/workbench/api/common/extHostClipboard.js +15 -0
- package/dist/vscode/vs/workbench/api/common/extHostCommands.js +415 -0
- package/dist/vscode/vs/workbench/api/common/extHostConfiguration.js +264 -0
- package/dist/vscode/vs/workbench/api/common/extHostDebugService.js +786 -0
- package/dist/vscode/vs/workbench/api/common/extHostDecorations.js +94 -0
- package/dist/vscode/vs/workbench/api/common/extHostDiagnostics.js +292 -0
- package/dist/vscode/vs/workbench/api/common/extHostDocumentContentProviders.js +65 -0
- package/dist/vscode/vs/workbench/api/common/extHostDocumentData.js +212 -0
- package/dist/vscode/vs/workbench/api/common/extHostDocumentSaveParticipant.js +126 -0
- package/dist/vscode/vs/workbench/api/common/extHostDocuments.js +144 -0
- package/dist/vscode/vs/workbench/api/common/extHostDocumentsAndEditors.js +147 -0
- package/dist/vscode/vs/workbench/api/common/extHostEditorTabs.js +328 -0
- package/dist/vscode/vs/workbench/api/common/extHostExtensionActivator.js +309 -0
- package/dist/vscode/vs/workbench/api/common/extHostExtensionService.js +814 -0
- package/dist/vscode/vs/workbench/api/common/extHostFileSystem.js +272 -0
- package/dist/vscode/vs/workbench/api/common/extHostFileSystemConsumer.js +153 -0
- package/dist/vscode/vs/workbench/api/common/extHostFileSystemEventService.js +193 -0
- package/dist/vscode/vs/workbench/api/common/extHostFileSystemInfo.js +35 -0
- package/dist/vscode/vs/workbench/api/common/extHostInitDataService.js +3 -0
- package/dist/vscode/vs/workbench/api/common/extHostLanguageFeatures.js +2038 -0
- package/dist/vscode/vs/workbench/api/common/extHostLanguages.js +164 -0
- package/dist/vscode/vs/workbench/api/common/extHostLocalizationService.js +85 -0
- package/dist/vscode/vs/workbench/api/common/extHostMemento.js +74 -0
- package/dist/vscode/vs/workbench/api/common/extHostMessageService.js +55 -0
- package/dist/vscode/vs/workbench/api/common/extHostOutput.js +257 -0
- package/dist/vscode/vs/workbench/api/common/extHostProgress.js +80 -0
- package/dist/vscode/vs/workbench/api/common/extHostQuickOpen.js +580 -0
- package/dist/vscode/vs/workbench/api/common/extHostRpcService.js +12 -0
- package/dist/vscode/vs/workbench/api/common/extHostSecretState.js +24 -0
- package/dist/vscode/vs/workbench/api/common/extHostSecrets.js +29 -0
- package/dist/vscode/vs/workbench/api/common/extHostStorage.js +42 -0
- package/dist/vscode/vs/workbench/api/common/extHostStoragePaths.js +64 -0
- package/dist/vscode/vs/workbench/api/common/extHostTelemetry.js +266 -0
- package/dist/vscode/vs/workbench/api/common/extHostTerminalService.js +3 -0
- package/dist/vscode/vs/workbench/api/common/extHostTestItem.js +122 -0
- package/dist/vscode/vs/workbench/api/common/extHostTestingPrivateApi.js +15 -0
- package/dist/vscode/vs/workbench/api/common/extHostTextEditor.js +511 -0
- package/dist/vscode/vs/workbench/api/common/extHostTextEditors.js +128 -0
- package/dist/vscode/vs/workbench/api/common/extHostTunnelService.js +36 -0
- package/dist/vscode/vs/workbench/api/common/extHostTypeConverters.js +1766 -0
- package/dist/vscode/vs/workbench/api/common/extHostTypes.js +2810 -0
- package/dist/vscode/vs/workbench/api/common/extHostUriTransformerService.js +19 -0
- package/dist/vscode/vs/workbench/api/common/extHostVariableResolverService.js +138 -0
- package/dist/vscode/vs/workbench/api/common/extHostWindow.js +59 -0
- package/dist/vscode/vs/workbench/api/common/extHostWorkspace.js +534 -0
- package/dist/vscode/vs/workbench/api/common/jsonValidationExtensionPoint.js +97 -0
- package/dist/vscode/vs/workbench/api/common/shared/dataTransferCache.js +36 -0
- package/dist/vscode/vs/workbench/browser/actions/layoutActions.js +1201 -0
- package/dist/vscode/vs/workbench/browser/actions.js +77 -0
- package/dist/vscode/vs/workbench/browser/codeeditor.js +185 -0
- package/dist/vscode/vs/workbench/browser/composite.js +102 -0
- package/dist/vscode/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +146 -0
- package/dist/vscode/vs/workbench/browser/parts/dialogs/dialog.web.contribution.js +68 -0
- package/dist/vscode/vs/workbench/browser/parts/dialogs/dialogHandler.js +124 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editor.contribution.js +876 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editor.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorActions.js +1946 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorAutoSave.js +157 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorCommands.js +1289 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorPane.js +242 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorQuickAccess.js +213 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorStatus.js +460 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorWithViewState.js +139 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/sideBySideEditor.js +387 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/textDiffEditor.js +289 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsActions.js +124 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsAlerts.js +58 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsCenter.js +224 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsCommands.js +241 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsList.js +185 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsTelemetry.js +35 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsToasts.js +417 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsViewer.js +392 -0
- package/dist/vscode/vs/workbench/browser/parts/panel/panelActions.js +422 -0
- package/dist/vscode/vs/workbench/browser/parts/views/viewPane.js +520 -0
- package/dist/vscode/vs/workbench/browser/quickaccess.js +17 -0
- package/dist/vscode/vs/workbench/common/component.js +23 -0
- package/dist/vscode/vs/workbench/common/configuration.js +8 -0
- package/dist/vscode/vs/workbench/common/contextkeys.js +170 -0
- package/dist/vscode/vs/workbench/common/contributions.js +111 -0
- package/dist/vscode/vs/workbench/common/dialogs.js +31 -0
- package/dist/vscode/vs/workbench/common/editor/binaryEditorModel.js +39 -0
- package/dist/vscode/vs/workbench/common/editor/diffEditorInput.js +164 -0
- package/dist/vscode/vs/workbench/common/editor/diffEditorModel.js +23 -0
- package/dist/vscode/vs/workbench/common/editor/editorInput.js +97 -0
- package/dist/vscode/vs/workbench/common/editor/editorModel.js +26 -0
- package/dist/vscode/vs/workbench/common/editor/editorOptions.js +48 -0
- package/dist/vscode/vs/workbench/common/editor/resourceEditorInput.js +133 -0
- package/dist/vscode/vs/workbench/common/editor/sideBySideEditorInput.js +228 -0
- package/dist/vscode/vs/workbench/common/editor/textDiffEditorModel.js +42 -0
- package/dist/vscode/vs/workbench/common/editor/textEditorModel.js +165 -0
- package/dist/vscode/vs/workbench/common/editor/textResourceEditorInput.js +146 -0
- package/dist/vscode/vs/workbench/common/editor/textResourceEditorModel.js +24 -0
- package/dist/vscode/vs/workbench/common/editor.js +307 -0
- package/dist/{memento.js → vscode/vs/workbench/common/memento.js} +1 -1
- package/dist/vscode/vs/workbench/common/notifications.js +448 -0
- package/dist/vscode/vs/workbench/common/resources.js +86 -0
- package/dist/{theme2.js → vscode/vs/workbench/common/theme.js} +1 -168
- package/dist/vscode/vs/workbench/common/views.js +20 -0
- package/dist/vscode/vs/workbench/contrib/audioCues/browser/audioCueDebuggerContribution.js +45 -0
- package/dist/vscode/vs/workbench/contrib/audioCues/browser/audioCueLineFeatureContribution.js +170 -0
- package/dist/vscode/vs/workbench/contrib/audioCues/browser/audioCues.contribution.js +160 -0
- package/dist/vscode/vs/workbench/contrib/audioCues/browser/commands.js +49 -0
- package/dist/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +25 -0
- package/dist/vscode/vs/workbench/contrib/callHierarchy/common/callHierarchy.js +126 -0
- package/dist/vscode/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.js +100 -0
- package/dist/{languages.js → vscode/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js} +154 -180
- package/dist/vscode/vs/workbench/contrib/codeEditor/browser/menuPreventer.js +35 -0
- package/dist/vscode/vs/workbench/contrib/codeEditor/browser/selectionClipboard.js +2 -0
- package/dist/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions.js +50 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/baseDebugView.js +192 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +776 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/breakpointWidget.js +378 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/breakpointsView.js +714 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +172 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debug.contribution.js +451 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugActionViewItems.js +294 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugAdapterManager.js +397 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugColors.js +309 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugCommands.js +749 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +619 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +58 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugEditorContribution.js +675 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugHover.js +317 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugIcons.js +135 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugMemory.js +204 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugQuickAccess.js +142 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugService.js +1171 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugSession.js +1134 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugSessionPicker.js +104 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugTaskRunner.js +273 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugToolBar.js +312 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/exceptionWidget.js +103 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/linkDetector.js +229 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/rawDebugSession.js +666 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/variablesView.js +287 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +150 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/breakpoints.js +19 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debug.js +285 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugCompoundRoot.js +15 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugContentProvider.js +96 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugModel.js +1451 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugSchemas.js +344 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugSource.js +121 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugStorage.js +148 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugTelemetry.js +34 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugUtils.js +292 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugViewModel.js +107 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/debugger.js +254 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput.js +25 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +81 -0
- package/dist/vscode/vs/workbench/contrib/debug/common/replModel.js +230 -0
- package/dist/vscode/vs/workbench/contrib/extensions/common/extensions.js +3 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +321 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/explorerService.js +398 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/files.contribution.js +389 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/files.js +3 -0
- package/dist/vscode/vs/workbench/contrib/files/common/explorerFileNestingTrie.js +212 -0
- package/dist/vscode/vs/workbench/contrib/files/common/explorerModel.js +369 -0
- package/dist/{files2.js → vscode/vs/workbench/contrib/files/common/files.js} +1 -1
- package/dist/vscode/vs/workbench/contrib/markers/common/markers.js +20 -0
- package/dist/vscode/vs/workbench/contrib/notebook/common/notebookCommon.js +9 -0
- package/dist/vscode/vs/workbench/contrib/output/browser/outputLinkProvider.js +74 -0
- package/dist/vscode/vs/workbench/contrib/output/browser/outputServices.js +166 -0
- package/dist/vscode/vs/workbench/contrib/output/common/outputChannelModel.js +317 -0
- package/dist/vscode/vs/workbench/contrib/output/common/outputChannelModelService.js +31 -0
- package/dist/vscode/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +153 -0
- package/dist/vscode/vs/workbench/contrib/search/common/search.js +27 -0
- package/dist/vscode/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +159 -0
- package/dist/vscode/vs/workbench/contrib/snippets/browser/snippets.js +3 -0
- package/dist/vscode/vs/workbench/contrib/snippets/browser/snippetsFile.js +229 -0
- package/dist/{snippetsService.js → vscode/vs/workbench/contrib/snippets/browser/snippetsService.js} +28 -412
- package/dist/vscode/vs/workbench/contrib/snippets/browser/tabCompletion.js +166 -0
- package/dist/vscode/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +161 -0
- package/dist/vscode/vs/workbench/contrib/tasks/common/taskService.js +3 -0
- package/dist/vscode/vs/workbench/contrib/testing/common/testId.js +109 -0
- package/dist/vscode/vs/workbench/contrib/testing/common/testItemCollection.js +75 -0
- package/dist/vscode/vs/workbench/contrib/testing/common/testTypes.js +7 -0
- package/dist/vscode/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.js +133 -0
- package/dist/vscode/vs/workbench/services/actions/common/menusExtensionPoint.js +829 -0
- package/dist/vscode/vs/workbench/services/activity/common/activity.js +22 -0
- package/dist/vscode/vs/workbench/services/configuration/browser/configuration.js +847 -0
- package/dist/vscode/vs/workbench/services/configuration/browser/configurationService.js +1104 -0
- package/dist/{configuration2.js → vscode/vs/workbench/services/configuration/common/configuration.js} +1 -1
- package/dist/vscode/vs/workbench/services/configuration/common/configurationCache.js +80 -0
- package/dist/vscode/vs/workbench/services/configuration/common/configurationEditing.js +590 -0
- package/dist/vscode/vs/workbench/services/configuration/common/configurationModels.js +119 -0
- package/dist/vscode/vs/workbench/services/configuration/common/jsonEditing.js +9 -0
- package/dist/vscode/vs/workbench/services/configuration/common/jsonEditingService.js +119 -0
- package/dist/vscode/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +303 -0
- package/dist/vscode/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +26 -0
- package/dist/vscode/vs/workbench/services/configurationResolver/common/configurationResolver.js +36 -0
- package/dist/vscode/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +174 -0
- package/dist/vscode/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +10 -0
- package/dist/vscode/vs/workbench/services/configurationResolver/common/variableResolver.js +299 -0
- package/dist/vscode/vs/workbench/services/decorations/browser/decorationsService.js +312 -0
- package/dist/vscode/vs/workbench/services/decorations/common/decorations.js +3 -0
- package/dist/vscode/vs/workbench/services/dialogs/common/dialogService.js +65 -0
- package/dist/vscode/vs/workbench/services/editor/browser/codeEditorService.js +80 -0
- package/dist/vscode/vs/workbench/services/editor/common/editorGroupColumn.js +23 -0
- package/dist/vscode/vs/workbench/services/editor/common/editorGroupsService.js +14 -0
- package/dist/vscode/vs/workbench/services/editor/common/editorResolverService.js +31 -0
- package/dist/vscode/vs/workbench/services/editor/common/editorService.js +10 -0
- package/dist/vscode/vs/workbench/services/environment/browser/environmentService.js +4 -0
- package/dist/vscode/vs/workbench/services/environment/common/environmentService.js +4 -0
- package/dist/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.js +6 -0
- package/dist/vscode/vs/workbench/services/extensions/common/extHostCustomers.js +40 -0
- package/dist/vscode/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +189 -0
- package/dist/vscode/vs/workbench/services/extensions/common/extensionDevOptions.js +23 -0
- package/dist/vscode/vs/workbench/services/extensions/common/extensionHostProtocol.js +6 -0
- package/dist/vscode/vs/workbench/services/extensions/common/extensions.js +57 -0
- package/dist/vscode/vs/workbench/services/extensions/common/extensionsApiProposals.js +74 -0
- package/dist/{extensionsRegistry.js → vscode/vs/workbench/services/extensions/common/extensionsRegistry.js} +87 -208
- package/dist/vscode/vs/workbench/services/extensions/common/lazyPromise.js +70 -0
- package/dist/vscode/vs/workbench/services/extensions/common/proxyIdentifier.js +23 -0
- package/dist/vscode/vs/workbench/services/extensions/common/remoteConsoleUtil.js +47 -0
- package/dist/vscode/vs/workbench/services/extensions/common/rpcProtocol.js +762 -0
- package/dist/vscode/vs/workbench/services/extensions/common/workspaceContains.js +92 -0
- package/dist/vscode/vs/workbench/services/files/browser/elevatedFileService.js +9 -0
- package/dist/vscode/vs/workbench/services/files/common/elevatedFileService.js +3 -0
- package/dist/vscode/vs/workbench/services/files/common/files.js +4 -0
- package/dist/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +124 -0
- package/dist/vscode/vs/workbench/services/history/common/history.js +3 -0
- package/dist/vscode/vs/workbench/services/host/browser/host.js +3 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keybindingService.js +855 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +490 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/cz.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/de-swiss.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/de.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/de.linux.js +180 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/de.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/dk.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/dvorak.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-belgian.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-ext.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-in.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-intl.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-intl.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-uk.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-uk.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en.darwin.js +133 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en.linux.js +182 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en.win.js +167 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/es-latin.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/es.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/es.linux.js +180 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/es.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.linux.js +180 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/hu.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/it.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/it.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/jp-roman.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/jp.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/ko.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.darwin.js +17 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.linux.js +6 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.win.js +23 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/no.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pl.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pl.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pt-br.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pt.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pt.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.linux.js +180 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/sv.win.js +164 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/thai.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/tr.win.js +162 -0
- package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/zh-hans.darwin.js +125 -0
- package/dist/vscode/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.js +28 -0
- package/dist/vscode/vs/workbench/services/keybinding/common/keybindingIO.js +72 -0
- package/dist/vscode/vs/workbench/services/keybinding/common/keymapInfo.js +108 -0
- package/dist/vscode/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.js +888 -0
- package/dist/vscode/vs/workbench/services/keybinding/common/windowsKeyboardMapper.js +350 -0
- package/dist/vscode/vs/workbench/services/label/common/labelService.js +302 -0
- package/dist/{languageService.js → vscode/vs/workbench/services/language/common/languageService.js} +8 -163
- package/dist/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +5 -0
- package/dist/vscode/vs/workbench/services/languageStatus/common/languageStatusService.js +3 -0
- package/dist/vscode/vs/workbench/services/layout/browser/layoutService.js +12 -0
- package/dist/vscode/vs/workbench/services/lifecycle/common/lifecycle.js +11 -0
- package/dist/vscode/vs/workbench/services/lifecycle/common/lifecycleService.js +85 -0
- package/dist/vscode/vs/workbench/services/notification/common/notificationService.js +186 -0
- package/dist/vscode/vs/workbench/services/output/common/output.js +51 -0
- package/dist/vscode/vs/workbench/services/panecomposite/browser/panecomposite.js +3 -0
- package/dist/vscode/vs/workbench/services/path/browser/pathService.js +34 -0
- package/dist/vscode/vs/workbench/services/path/common/pathService.js +107 -0
- package/dist/vscode/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +35 -0
- package/dist/vscode/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +555 -0
- package/dist/vscode/vs/workbench/services/preferences/browser/preferencesService.js +547 -0
- package/dist/vscode/vs/workbench/services/preferences/common/preferences.js +20 -0
- package/dist/vscode/vs/workbench/services/preferences/common/preferencesEditorInput.js +37 -0
- package/dist/vscode/vs/workbench/services/preferences/common/preferencesModels.js +1031 -0
- package/dist/vscode/vs/workbench/services/preferences/common/preferencesValidation.js +357 -0
- package/dist/vscode/vs/workbench/services/progress/browser/progressIndicator.js +174 -0
- package/dist/vscode/vs/workbench/services/remote/common/remoteAgentService.js +3 -0
- package/dist/vscode/vs/workbench/services/search/common/queryBuilder.js +428 -0
- package/dist/vscode/vs/workbench/services/search/common/search.js +158 -0
- package/dist/vscode/vs/workbench/services/search/common/searchHelpers.js +72 -0
- package/dist/vscode/vs/workbench/services/search/common/searchService.js +355 -0
- package/dist/vscode/vs/workbench/services/textMate/browser/arrayOperation.js +62 -0
- package/dist/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.js +3 -0
- package/dist/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +422 -0
- package/dist/vscode/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.js +60 -0
- package/dist/vscode/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.js +36 -0
- package/dist/vscode/vs/workbench/services/textMate/browser/workerHost/textMateWorkerHost.js +198 -0
- package/dist/vscode/vs/workbench/services/textMate/browser/workerHost/textMateWorkerTokenizerController.js +151 -0
- package/dist/vscode/vs/workbench/services/textMate/common/TMGrammarFactory.js +117 -0
- package/dist/vscode/vs/workbench/services/textMate/common/TMGrammars.js +93 -0
- package/dist/vscode/vs/workbench/services/textMate/common/TMScopeRegistry.js +24 -0
- package/dist/vscode/vs/workbench/services/textfile/browser/browserTextFileService.js +55 -0
- package/dist/vscode/vs/workbench/services/textfile/browser/textFileService.js +578 -0
- package/dist/vscode/vs/workbench/services/textfile/common/encoding.js +493 -0
- package/dist/vscode/vs/workbench/services/textfile/common/textEditorService.js +150 -0
- package/dist/vscode/vs/workbench/services/textfile/common/textFileEditorModel.js +711 -0
- package/dist/vscode/vs/workbench/services/textfile/common/textFileEditorModelManager.js +401 -0
- package/dist/vscode/vs/workbench/services/textfile/common/textFileSaveParticipant.js +54 -0
- package/dist/vscode/vs/workbench/services/textfile/common/textfiles.js +45 -0
- package/dist/vscode/vs/workbench/services/textmodelResolver/common/textModelResolverService.js +187 -0
- package/dist/vscode/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +37 -0
- package/dist/vscode/vs/workbench/services/themes/browser/fileIconThemeData.js +353 -0
- package/dist/vscode/vs/workbench/services/themes/browser/productIconThemeData.js +291 -0
- package/dist/vscode/vs/workbench/services/themes/browser/workbenchThemeService.js +736 -0
- package/dist/vscode/vs/workbench/services/themes/common/colorExtensionPoint.js +171 -0
- package/dist/vscode/vs/workbench/services/themes/common/colorThemeData.js +864 -0
- package/dist/vscode/vs/workbench/services/themes/common/colorThemeSchema.js +265 -0
- package/dist/vscode/vs/workbench/services/themes/common/fileIconThemeSchema.js +303 -0
- package/dist/vscode/vs/workbench/services/themes/common/hostColorSchemeService.js +3 -0
- package/dist/vscode/vs/workbench/services/themes/common/plistParser.js +439 -0
- package/dist/vscode/vs/workbench/services/themes/common/productIconThemeSchema.js +94 -0
- package/dist/vscode/vs/workbench/services/themes/common/textMateScopeMatcher.js +120 -0
- package/dist/vscode/vs/workbench/services/themes/common/themeCompatibility.js +66 -0
- package/dist/vscode/vs/workbench/services/themes/common/themeConfiguration.js +374 -0
- package/dist/vscode/vs/workbench/services/themes/common/themeExtensionPoints.js +258 -0
- package/dist/vscode/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +268 -0
- package/dist/vscode/vs/workbench/services/themes/common/workbenchThemeService.js +46 -0
- package/dist/vscode/vs/workbench/services/timer/browser/timerService.js +3 -0
- package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput.js +122 -0
- package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorModel.js +240 -0
- package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.js +3 -0
- package/dist/vscode/vs/workbench/services/userData/browser/userDataInit.js +3 -0
- package/dist/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.js +7 -0
- package/dist/vscode/vs/workbench/services/userDataProfile/common/userDataProfileService.js +52 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +55 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopy.js +2 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.js +3 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +414 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyFileOperationParticipant.js +39 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.js +181 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyService.js +112 -0
- package/dist/vscode/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +325 -0
- package/dist/vscode/vs/workbench/services/workspaces/browser/workspaces.js +11 -0
- package/dist/vscode/vs/workbench/services/workspaces/browser/workspacesService.js +154 -0
- package/dist/vscode/vs/workbench/services/workspaces/common/workspaceEditing.js +3 -0
- package/dist/vscode-default-extensions/bat/package.json.js +2 -0
- package/dist/vscode-default-extensions/clojure/package.json.js +2 -0
- package/dist/vscode-default-extensions/coffeescript/package.json.js +2 -0
- package/dist/vscode-default-extensions/cpp/package.json.js +2 -0
- package/dist/vscode-default-extensions/csharp/package.json.js +2 -0
- package/dist/vscode-default-extensions/css/package.json.js +2 -0
- package/dist/vscode-default-extensions/dart/package.json.js +2 -0
- package/dist/vscode-default-extensions/diff/package.json.js +2 -0
- package/dist/vscode-default-extensions/docker/package.json.js +2 -0
- package/dist/vscode-default-extensions/fsharp/package.json.js +2 -0
- package/dist/vscode-default-extensions/go/package.json.js +2 -0
- package/dist/vscode-default-extensions/groovy/package.json.js +2 -0
- package/dist/vscode-default-extensions/handlebars/package.json.js +2 -0
- package/dist/vscode-default-extensions/hlsl/package.json.js +2 -0
- package/dist/vscode-default-extensions/html/package.json.js +2 -0
- package/dist/vscode-default-extensions/ini/package.json.js +2 -0
- package/dist/vscode-default-extensions/java/package.json.js +2 -0
- package/dist/vscode-default-extensions/javascript/package.json.js +2 -0
- package/dist/vscode-default-extensions/json/package.json.js +2 -0
- package/dist/vscode-default-extensions/julia/package.json.js +2 -0
- package/dist/vscode-default-extensions/latex/package.json.js +2 -0
- package/dist/vscode-default-extensions/less/package.json.js +2 -0
- package/dist/vscode-default-extensions/log/package.json.js +2 -0
- package/dist/vscode-default-extensions/lua/package.json.js +2 -0
- package/dist/vscode-default-extensions/make/package.json.js +2 -0
- package/dist/vscode-default-extensions/markdown-basics/package.json.js +2 -0
- package/dist/vscode-default-extensions/objective-c/package.json.js +2 -0
- package/dist/vscode-default-extensions/perl/package.json.js +2 -0
- package/dist/vscode-default-extensions/php/package.json.js +2 -0
- package/dist/vscode-default-extensions/powershell/package.json.js +2 -0
- package/dist/vscode-default-extensions/pug/package.json.js +2 -0
- package/dist/vscode-default-extensions/python/package.json.js +2 -0
- package/dist/vscode-default-extensions/r/package.json.js +2 -0
- package/dist/vscode-default-extensions/razor/package.json.js +2 -0
- package/dist/vscode-default-extensions/ruby/package.json.js +2 -0
- package/dist/vscode-default-extensions/rust/package.json.js +2 -0
- package/dist/vscode-default-extensions/scss/package.json.js +2 -0
- package/dist/vscode-default-extensions/shaderlab/package.json.js +2 -0
- package/dist/vscode-default-extensions/shellscript/package.json.js +2 -0
- package/dist/vscode-default-extensions/sql/package.json.js +2 -0
- package/dist/vscode-default-extensions/swift/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-abyss/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-defaults/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-kimbie-dark/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-monokai/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-monokai-dimmed/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-quietlight/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-red/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-seti/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-solarized-dark/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-solarized-light/package.json.js +2 -0
- package/dist/vscode-default-extensions/theme-tomorrow-night-blue/package.json.js +2 -0
- package/dist/vscode-default-extensions/typescript-basics/package.json.js +2 -0
- package/dist/vscode-default-extensions/typescript-language-features/package.json.js +2 -0
- package/dist/vscode-default-extensions/vb/package.json.js +2 -0
- package/dist/vscode-default-extensions/xml/package.json.js +2 -0
- package/dist/vscode-default-extensions/yaml/package.json.js +2 -0
- package/dist/vscode-services/commands.js +37 -0
- package/dist/vscode-services/debug.js +74 -0
- package/dist/vscode-services/env.js +69 -0
- package/dist/vscode-services/extHost.js +385 -0
- package/dist/vscode-services/extensions.js +46 -0
- package/dist/vscode-services/languages.js +203 -0
- package/dist/vscode-services/missing-services.js +959 -0
- package/dist/vscode-services/window.js +189 -0
- package/dist/vscode-services/workspace.js +164 -0
- package/monaco-editor-treemending.patch +23574 -0
- package/monaco-treemending.js +3 -0
- package/package.json +57 -60
- package/dist/api2.js +0 -1294
- package/dist/audioCue.js +0 -805
- package/dist/button.js +0 -352
- package/dist/configuration.js +0 -4438
- package/dist/debug.js +0 -15673
- package/dist/dialogs.js +0 -752
- package/dist/dom.js +0 -101
- package/dist/files.js +0 -3167
- package/dist/keybindings.js +0 -4310
- package/dist/layout.contribution.darwin.js +0 -1994
- package/dist/layout.contribution.linux.js +0 -899
- package/dist/layout.contribution.win.js +0 -3551
- package/dist/modelEditor.js +0 -8893
- package/dist/notifications.js +0 -2302
- package/dist/platform.js +0 -105
- package/dist/polyfill.js +0 -55651
- package/dist/preferences.js +0 -2532
- package/dist/textmate.js +0 -1428
- package/dist/theme.js +0 -4116
- package/dist/utils.js +0 -345
- package/dist/webpack-loader.cjs +0 -18
- package/dist/webpack-loader.d.ts +0 -4
- package/dist/{iconv.js → override/iconv.js} +0 -0
- package/dist/{jschardet.js → override/jschardet.js} +0 -0
- package/dist/{audioCue.d.ts → service-override/audioCue.d.ts} +0 -0
- package/dist/{configuration.d.ts → service-override/configuration.d.ts} +0 -0
- package/dist/{debug.d.ts → service-override/debug.d.ts} +0 -0
- package/dist/{dialogs.d.ts → service-override/dialogs.d.ts} +0 -0
- package/dist/{files.d.ts → service-override/files.d.ts} +0 -0
- package/dist/{keybindings.d.ts → service-override/keybindings.d.ts} +0 -0
- package/dist/{languages.d.ts → service-override/languages.d.ts} +0 -0
- package/dist/{modelEditor.d.ts → service-override/modelEditor.d.ts} +0 -0
- package/dist/{notifications.d.ts → service-override/notifications.d.ts} +0 -0
- package/dist/{preferences.d.ts → service-override/preferences.d.ts} +0 -0
- package/dist/{snippets.d.ts → service-override/snippets.d.ts} +0 -0
- package/dist/{textmate.d.ts → service-override/textmate.d.ts} +0 -0
- package/dist/{theme.d.ts → service-override/theme.d.ts} +0 -0
- package/dist/{injection.js → tools/injection.js} +0 -0
- package/dist/{jsonErrorMessages.js → vscode/vs/base/common/jsonErrorMessages.js} +0 -0
- package/dist/{_.contribution.js → vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/_.contribution.js} +0 -0
- package/dist/{unboundCommands.js → vscode/vs/workbench/services/keybinding/browser/unboundCommands.js} +2 -2
- /package/dist/{language-configuration.js → vscode-default-extensions/bat/language-configuration.json.js} +0 -0
- /package/dist/{batchfile.js → vscode-default-extensions/bat/snippets/batchfile.code-snippets.js} +0 -0
- /package/dist/{batchfile.tmLanguage.js → vscode-default-extensions/bat/syntaxes/batchfile.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration2.js → vscode-default-extensions/clojure/language-configuration.json.js} +0 -0
- /package/dist/{clojure.tmLanguage.js → vscode-default-extensions/clojure/syntaxes/clojure.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration3.js → vscode-default-extensions/coffeescript/language-configuration.json.js} +0 -0
- /package/dist/{coffeescript.js → vscode-default-extensions/coffeescript/snippets/coffeescript.code-snippets.js} +0 -0
- /package/dist/{coffeescript.tmLanguage.js → vscode-default-extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration4.js → vscode-default-extensions/cpp/language-configuration.json.js} +0 -0
- /package/dist/{c.js → vscode-default-extensions/cpp/snippets/c.code-snippets.js} +0 -0
- /package/dist/{cpp.js → vscode-default-extensions/cpp/snippets/cpp.code-snippets.js} +0 -0
- /package/dist/{c.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/c.tmLanguage.json.js} +0 -0
- /package/dist/{cpp.embedded.macro.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.js} +0 -0
- /package/dist/{cpp.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/cpp.tmLanguage.json.js} +0 -0
- /package/dist/{cuda-cpp.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/cuda-cpp.tmLanguage.json.js} +0 -0
- /package/dist/{platform.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/platform.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration5.js → vscode-default-extensions/csharp/language-configuration.json.js} +0 -0
- /package/dist/{csharp.js → vscode-default-extensions/csharp/snippets/csharp.code-snippets.js} +0 -0
- /package/dist/{csharp.tmLanguage.js → vscode-default-extensions/csharp/syntaxes/csharp.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration6.js → vscode-default-extensions/css/language-configuration.json.js} +0 -0
- /package/dist/{css.tmLanguage.js → vscode-default-extensions/css/syntaxes/css.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration7.js → vscode-default-extensions/dart/language-configuration.json.js} +0 -0
- /package/dist/{dart.tmLanguage.js → vscode-default-extensions/dart/syntaxes/dart.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration8.js → vscode-default-extensions/diff/language-configuration.json.js} +0 -0
- /package/dist/{diff.tmLanguage.js → vscode-default-extensions/diff/syntaxes/diff.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration9.js → vscode-default-extensions/docker/language-configuration.json.js} +0 -0
- /package/dist/{docker.tmLanguage.js → vscode-default-extensions/docker/syntaxes/docker.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration10.js → vscode-default-extensions/fsharp/language-configuration.json.js} +0 -0
- /package/dist/{fsharp.js → vscode-default-extensions/fsharp/snippets/fsharp.code-snippets.js} +0 -0
- /package/dist/{fsharp.tmLanguage.js → vscode-default-extensions/fsharp/syntaxes/fsharp.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration11.js → vscode-default-extensions/go/language-configuration.json.js} +0 -0
- /package/dist/{go.tmLanguage.js → vscode-default-extensions/go/syntaxes/go.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration12.js → vscode-default-extensions/groovy/language-configuration.json.js} +0 -0
- /package/dist/{groovy.js → vscode-default-extensions/groovy/snippets/groovy.code-snippets.js} +0 -0
- /package/dist/{groovy.tmLanguage.js → vscode-default-extensions/groovy/syntaxes/groovy.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration13.js → vscode-default-extensions/handlebars/language-configuration.json.js} +0 -0
- /package/dist/{Handlebars.tmLanguage.js → vscode-default-extensions/handlebars/syntaxes/Handlebars.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration14.js → vscode-default-extensions/hlsl/language-configuration.json.js} +0 -0
- /package/dist/{hlsl.tmLanguage.js → vscode-default-extensions/hlsl/syntaxes/hlsl.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration15.js → vscode-default-extensions/html/language-configuration.json.js} +0 -0
- /package/dist/{html.js → vscode-default-extensions/html/snippets/html.code-snippets.js} +0 -0
- /package/dist/{html-derivative.tmLanguage.js → vscode-default-extensions/html/syntaxes/html-derivative.tmLanguage.json.js} +0 -0
- /package/dist/{html.tmLanguage.js → vscode-default-extensions/html/syntaxes/html.tmLanguage.json.js} +0 -0
- /package/dist/{ini.language-configuration.js → vscode-default-extensions/ini/ini.language-configuration.json.js} +0 -0
- /package/dist/{properties.language-configuration.js → vscode-default-extensions/ini/properties.language-configuration.json.js} +0 -0
- /package/dist/{ini.tmLanguage.js → vscode-default-extensions/ini/syntaxes/ini.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration16.js → vscode-default-extensions/java/language-configuration.json.js} +0 -0
- /package/dist/{java.js → vscode-default-extensions/java/snippets/java.code-snippets.js} +0 -0
- /package/dist/{java.tmLanguage.js → vscode-default-extensions/java/syntaxes/java.tmLanguage.json.js} +0 -0
- /package/dist/{javascript-language-configuration.js → vscode-default-extensions/javascript/javascript-language-configuration.json.js} +0 -0
- /package/dist/{javascript.js → vscode-default-extensions/javascript/snippets/javascript.code-snippets.js} +0 -0
- /package/dist/{JavaScript.tmLanguage.js → vscode-default-extensions/javascript/syntaxes/JavaScript.tmLanguage.json.js} +0 -0
- /package/dist/{JavaScriptReact.tmLanguage.js → vscode-default-extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json.js} +0 -0
- /package/dist/{Regular Expressions (JavaScript).js → vscode-default-extensions/javascript/syntaxes/Regular Expressions (JavaScript).tmLanguage.js} +0 -0
- /package/dist/{tags-language-configuration.js → vscode-default-extensions/javascript/tags-language-configuration.json.js} +0 -0
- /package/dist/{language-configuration17.js → vscode-default-extensions/json/language-configuration.json.js} +0 -0
- /package/dist/{JSON.tmLanguage.js → vscode-default-extensions/json/syntaxes/JSON.tmLanguage.json.js} +0 -0
- /package/dist/{JSONC.tmLanguage.js → vscode-default-extensions/json/syntaxes/JSONC.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration18.js → vscode-default-extensions/julia/language-configuration.json.js} +0 -0
- /package/dist/{julia.tmLanguage.js → vscode-default-extensions/julia/syntaxes/julia.tmLanguage.json.js} +0 -0
- /package/dist/{latex-cpp-embedded-language-configuration.js → vscode-default-extensions/latex/latex-cpp-embedded-language-configuration.json.js} +0 -0
- /package/dist/{latex-language-configuration.js → vscode-default-extensions/latex/latex-language-configuration.json.js} +0 -0
- /package/dist/{markdown-latex-combined-language-configuration.js → vscode-default-extensions/latex/markdown-latex-combined-language-configuration.json.js} +0 -0
- /package/dist/{Bibtex.tmLanguage.js → vscode-default-extensions/latex/syntaxes/Bibtex.tmLanguage.json.js} +0 -0
- /package/dist/{LaTeX.tmLanguage.js → vscode-default-extensions/latex/syntaxes/LaTeX.tmLanguage.json.js} +0 -0
- /package/dist/{TeX.tmLanguage.js → vscode-default-extensions/latex/syntaxes/TeX.tmLanguage.json.js} +0 -0
- /package/dist/{cpp-grammar-bailout.tmLanguage.js → vscode-default-extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json.js} +0 -0
- /package/dist/{markdown-latex-combined.tmLanguage.js → vscode-default-extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration19.js → vscode-default-extensions/less/language-configuration.json.js} +0 -0
- /package/dist/{less.tmLanguage.js → vscode-default-extensions/less/syntaxes/less.tmLanguage.json.js} +0 -0
- /package/dist/{log.tmLanguage.js → vscode-default-extensions/log/syntaxes/log.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration20.js → vscode-default-extensions/lua/language-configuration.json.js} +0 -0
- /package/dist/{lua.tmLanguage.js → vscode-default-extensions/lua/syntaxes/lua.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration21.js → vscode-default-extensions/make/language-configuration.json.js} +0 -0
- /package/dist/{make.tmLanguage.js → vscode-default-extensions/make/syntaxes/make.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration22.js → vscode-default-extensions/markdown-basics/language-configuration.json.js} +0 -0
- /package/dist/{markdown.js → vscode-default-extensions/markdown-basics/snippets/markdown.code-snippets.js} +0 -0
- /package/dist/{markdown.tmLanguage.js → vscode-default-extensions/markdown-basics/syntaxes/markdown.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration23.js → vscode-default-extensions/objective-c/language-configuration.json.js} +0 -0
- /package/dist/{objective-c.tmLanguage.js → vscode-default-extensions/objective-c/syntaxes/objective-c.tmLanguage.json.js} +0 -0
- /package/dist/{objective-c__.tmLanguage.js → vscode-default-extensions/objective-c/syntaxes/objective-c__.tmLanguage.json.js} +0 -0
- /package/dist/{perl.language-configuration.js → vscode-default-extensions/perl/perl.language-configuration.json.js} +0 -0
- /package/dist/{perl6.language-configuration.js → vscode-default-extensions/perl/perl6.language-configuration.json.js} +0 -0
- /package/dist/{perl.tmLanguage.js → vscode-default-extensions/perl/syntaxes/perl.tmLanguage.json.js} +0 -0
- /package/dist/{perl6.tmLanguage.js → vscode-default-extensions/perl/syntaxes/perl6.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration24.js → vscode-default-extensions/php/language-configuration.json.js} +0 -0
- /package/dist/{php.js → vscode-default-extensions/php/snippets/php.code-snippets.js} +0 -0
- /package/dist/{html.tmLanguage2.js → vscode-default-extensions/php/syntaxes/html.tmLanguage.json.js} +0 -0
- /package/dist/{php.tmLanguage.js → vscode-default-extensions/php/syntaxes/php.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration25.js → vscode-default-extensions/powershell/language-configuration.json.js} +0 -0
- /package/dist/{powershell.tmLanguage.js → vscode-default-extensions/powershell/syntaxes/powershell.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration26.js → vscode-default-extensions/pug/language-configuration.json.js} +0 -0
- /package/dist/{pug.tmLanguage.js → vscode-default-extensions/pug/syntaxes/pug.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration27.js → vscode-default-extensions/python/language-configuration.json.js} +0 -0
- /package/dist/{MagicPython.tmLanguage.js → vscode-default-extensions/python/syntaxes/MagicPython.tmLanguage.json.js} +0 -0
- /package/dist/{MagicRegExp.tmLanguage.js → vscode-default-extensions/python/syntaxes/MagicRegExp.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration28.js → vscode-default-extensions/r/language-configuration.json.js} +0 -0
- /package/dist/{r.tmLanguage.js → vscode-default-extensions/r/syntaxes/r.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration29.js → vscode-default-extensions/razor/language-configuration.json.js} +0 -0
- /package/dist/{cshtml.tmLanguage.js → vscode-default-extensions/razor/syntaxes/cshtml.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration30.js → vscode-default-extensions/ruby/language-configuration.json.js} +0 -0
- /package/dist/{ruby.tmLanguage.js → vscode-default-extensions/ruby/syntaxes/ruby.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration31.js → vscode-default-extensions/rust/language-configuration.json.js} +0 -0
- /package/dist/{rust.tmLanguage.js → vscode-default-extensions/rust/syntaxes/rust.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration32.js → vscode-default-extensions/scss/language-configuration.json.js} +0 -0
- /package/dist/{sassdoc.tmLanguage.js → vscode-default-extensions/scss/syntaxes/sassdoc.tmLanguage.json.js} +0 -0
- /package/dist/{scss.tmLanguage.js → vscode-default-extensions/scss/syntaxes/scss.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration33.js → vscode-default-extensions/shaderlab/language-configuration.json.js} +0 -0
- /package/dist/{shaderlab.tmLanguage.js → vscode-default-extensions/shaderlab/syntaxes/shaderlab.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration34.js → vscode-default-extensions/shellscript/language-configuration.json.js} +0 -0
- /package/dist/{shell-unix-bash.tmLanguage.js → vscode-default-extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration35.js → vscode-default-extensions/sql/language-configuration.json.js} +0 -0
- /package/dist/{sql.tmLanguage.js → vscode-default-extensions/sql/syntaxes/sql.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration36.js → vscode-default-extensions/swift/language-configuration.json.js} +0 -0
- /package/dist/{swift.js → vscode-default-extensions/swift/snippets/swift.code-snippets.js} +0 -0
- /package/dist/{swift.tmLanguage.js → vscode-default-extensions/swift/syntaxes/swift.tmLanguage.json.js} +0 -0
- /package/dist/{abyss-color-theme.js → vscode-default-extensions/theme-abyss/themes/abyss-color-theme.json.js} +0 -0
- /package/dist/{vs_minimal-icon-theme.js → vscode-default-extensions/theme-defaults/fileicons/vs_minimal-icon-theme.json.js} +0 -0
- /package/dist/{dark_plus.js → vscode-default-extensions/theme-defaults/themes/dark_plus.json.js} +0 -0
- /package/dist/{dark_plus_experimental.js → vscode-default-extensions/theme-defaults/themes/dark_plus_experimental.json.js} +0 -0
- /package/dist/{dark_vs.js → vscode-default-extensions/theme-defaults/themes/dark_vs.json.js} +0 -0
- /package/dist/{hc_black.js → vscode-default-extensions/theme-defaults/themes/hc_black.json.js} +0 -0
- /package/dist/{hc_light.js → vscode-default-extensions/theme-defaults/themes/hc_light.json.js} +0 -0
- /package/dist/{light_plus.js → vscode-default-extensions/theme-defaults/themes/light_plus.json.js} +0 -0
- /package/dist/{light_plus_experimental.js → vscode-default-extensions/theme-defaults/themes/light_plus_experimental.json.js} +0 -0
- /package/dist/{light_vs.js → vscode-default-extensions/theme-defaults/themes/light_vs.json.js} +0 -0
- /package/dist/{kimbie-dark-color-theme.js → vscode-default-extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json.js} +0 -0
- /package/dist/{monokai-color-theme.js → vscode-default-extensions/theme-monokai/themes/monokai-color-theme.json.js} +0 -0
- /package/dist/{dimmed-monokai-color-theme.js → vscode-default-extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json.js} +0 -0
- /package/dist/{quietlight-color-theme.js → vscode-default-extensions/theme-quietlight/themes/quietlight-color-theme.json.js} +0 -0
- /package/dist/{Red-color-theme.js → vscode-default-extensions/theme-red/themes/Red-color-theme.json.js} +0 -0
- /package/dist/{vs-seti-icon-theme.js → vscode-default-extensions/theme-seti/icons/vs-seti-icon-theme.json.js} +0 -0
- /package/dist/{solarized-dark-color-theme.js → vscode-default-extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json.js} +0 -0
- /package/dist/{solarized-light-color-theme.js → vscode-default-extensions/theme-solarized-light/themes/solarized-light-color-theme.json.js} +0 -0
- /package/dist/{tomorrow-night-blue-color-theme.js → vscode-default-extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-color-theme.json.js} +0 -0
- /package/dist/{language-configuration37.js → vscode-default-extensions/typescript-basics/language-configuration.json.js} +0 -0
- /package/dist/{typescript.js → vscode-default-extensions/typescript-basics/snippets/typescript.code-snippets.js} +0 -0
- /package/dist/{TypeScript.tmLanguage.js → vscode-default-extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json.js} +0 -0
- /package/dist/{TypeScriptReact.tmLanguage.js → vscode-default-extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json.js} +0 -0
- /package/dist/{jsdoc.js.injection.tmLanguage.js → vscode-default-extensions/typescript-basics/syntaxes/jsdoc.js.injection.tmLanguage.json.js} +0 -0
- /package/dist/{jsdoc.ts.injection.tmLanguage.js → vscode-default-extensions/typescript-basics/syntaxes/jsdoc.ts.injection.tmLanguage.json.js} +0 -0
- /package/dist/{language-configuration38.js → vscode-default-extensions/vb/language-configuration.json.js} +0 -0
- /package/dist/{vb.js → vscode-default-extensions/vb/snippets/vb.code-snippets.js} +0 -0
- /package/dist/{asp-vb-net.tmlanguage.js → vscode-default-extensions/vb/syntaxes/asp-vb-net.tmlanguage.json.js} +0 -0
- /package/dist/{xml.tmLanguage.js → vscode-default-extensions/xml/syntaxes/xml.tmLanguage.json.js} +0 -0
- /package/dist/{xsl.tmLanguage.js → vscode-default-extensions/xml/syntaxes/xsl.tmLanguage.json.js} +0 -0
- /package/dist/{xml.language-configuration.js → vscode-default-extensions/xml/xml.language-configuration.json.js} +0 -0
- /package/dist/{xsl.language-configuration.js → vscode-default-extensions/xml/xsl.language-configuration.json.js} +0 -0
- /package/dist/{language-configuration39.js → vscode-default-extensions/yaml/language-configuration.json.js} +0 -0
- /package/dist/{yaml.tmLanguage.js → vscode-default-extensions/yaml/syntaxes/yaml.tmLanguage.json.js} +0 -0
|
@@ -0,0 +1,1946 @@
|
|
|
1
|
+
import { __decorate, __param } from '../../../../../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
3
|
+
import { Action } from 'monaco-editor/esm/vs/base/common/actions.js';
|
|
4
|
+
import { firstOrDefault } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
5
|
+
import { EditorResourceAccessor, DEFAULT_EDITOR_ASSOCIATION } from '../../../common/editor.js';
|
|
6
|
+
import { SideBySideEditorInput } from '../../../common/editor/sideBySideEditorInput.js';
|
|
7
|
+
import { IWorkbenchLayoutService } from '../../../services/layout/browser/layoutService.js';
|
|
8
|
+
import { IHistoryService } from '../../../services/history/common/history.js';
|
|
9
|
+
import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
|
|
10
|
+
import { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
11
|
+
import { SPLIT_EDITOR_LEFT, SPLIT_EDITOR_RIGHT, SPLIT_EDITOR_UP, SPLIT_EDITOR_DOWN, CLOSE_EDITOR_COMMAND_ID, UNPIN_EDITOR_COMMAND_ID, MOVE_ACTIVE_EDITOR_COMMAND_ID, COPY_ACTIVE_EDITOR_COMMAND_ID, LAYOUT_EDITOR_GROUPS_COMMAND_ID, splitEditor } from './editorCommands.js';
|
|
12
|
+
import { preferredSideBySideGroupDirection, IEditorGroupsService } from '../../../services/editor/common/editorGroupsService.js';
|
|
13
|
+
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
14
|
+
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
15
|
+
import { IWorkspacesService } from '../../../../platform/workspaces/common/workspaces.js';
|
|
16
|
+
import { IDialogService, IFileDialogService } from 'monaco-editor/esm/vs/platform/dialogs/common/dialogs.js';
|
|
17
|
+
import { IQuickInputService, ItemActivation } from 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
|
|
18
|
+
import { ActiveGroupEditorsByMostRecentlyUsedQuickAccess, AllEditorsByAppearanceQuickAccess, AllEditorsByMostRecentlyUsedQuickAccess } from './editorQuickAccess.js';
|
|
19
|
+
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
20
|
+
import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
|
|
21
|
+
import { IFilesConfigurationService } from '../../../services/filesConfiguration/common/filesConfigurationService.js';
|
|
22
|
+
import { IEditorResolverService } from '../../../services/editor/common/editorResolverService.js';
|
|
23
|
+
import { isNative, isWindows, isLinux } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
24
|
+
import { Action2, MenuId } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
|
|
25
|
+
import { ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
26
|
+
import { KeyChord } from 'monaco-editor/esm/vs/base/common/keyCodes.js';
|
|
27
|
+
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
28
|
+
import { Categories } from 'monaco-editor/esm/vs/platform/action/common/actionCommonCategories.js';
|
|
29
|
+
import { ActiveEditorGroupEmptyContext, ActiveEditorAvailableEditorIdsContext } from '../../../common/contextkeys.js';
|
|
30
|
+
class ExecuteCommandAction extends Action2 {
|
|
31
|
+
constructor(desc, commandId, commandArgs) {
|
|
32
|
+
super(desc);
|
|
33
|
+
this.commandId = commandId;
|
|
34
|
+
this.commandArgs = commandArgs;
|
|
35
|
+
}
|
|
36
|
+
run(accessor) {
|
|
37
|
+
const commandService = accessor.get(ICommandService);
|
|
38
|
+
return commandService.executeCommand(this.commandId, this.commandArgs);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
class AbstractSplitEditorAction extends Action2 {
|
|
42
|
+
getDirection(configurationService) {
|
|
43
|
+
return preferredSideBySideGroupDirection(configurationService);
|
|
44
|
+
}
|
|
45
|
+
async run(accessor, context) {
|
|
46
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
47
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
48
|
+
splitEditor(editorGroupService, this.getDirection(configurationService), context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
class SplitEditorAction extends AbstractSplitEditorAction {
|
|
52
|
+
constructor() {
|
|
53
|
+
super({
|
|
54
|
+
id: SplitEditorAction.ID,
|
|
55
|
+
title: { value: ( localize('splitEditor', "Split Editor")), original: 'Split Editor' },
|
|
56
|
+
f1: true,
|
|
57
|
+
keybinding: {
|
|
58
|
+
weight: 200 ,
|
|
59
|
+
primary: 2048 | 88
|
|
60
|
+
},
|
|
61
|
+
category: Categories.View
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
SplitEditorAction.ID = 'workbench.action.splitEditor';
|
|
66
|
+
class SplitEditorOrthogonalAction extends AbstractSplitEditorAction {
|
|
67
|
+
constructor() {
|
|
68
|
+
super({
|
|
69
|
+
id: 'workbench.action.splitEditorOrthogonal',
|
|
70
|
+
title: { value: ( localize('splitEditorOrthogonal', "Split Editor Orthogonal")), original: 'Split Editor Orthogonal' },
|
|
71
|
+
f1: true,
|
|
72
|
+
keybinding: {
|
|
73
|
+
weight: 200 ,
|
|
74
|
+
primary: KeyChord(2048 | 41 , 2048 | 88 )
|
|
75
|
+
},
|
|
76
|
+
category: Categories.View
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
getDirection(configurationService) {
|
|
80
|
+
const direction = preferredSideBySideGroupDirection(configurationService);
|
|
81
|
+
return direction === 3 ? 1 : 3 ;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
class SplitEditorLeftAction extends ExecuteCommandAction {
|
|
85
|
+
constructor() {
|
|
86
|
+
super({
|
|
87
|
+
id: SPLIT_EDITOR_LEFT,
|
|
88
|
+
title: { value: ( localize('splitEditorGroupLeft', "Split Editor Left")), original: 'Split Editor Left' },
|
|
89
|
+
f1: true,
|
|
90
|
+
keybinding: {
|
|
91
|
+
weight: 200 ,
|
|
92
|
+
primary: KeyChord(2048 | 41 , 2048 | 88 )
|
|
93
|
+
},
|
|
94
|
+
category: Categories.View
|
|
95
|
+
}, SPLIT_EDITOR_LEFT);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
class SplitEditorRightAction extends ExecuteCommandAction {
|
|
99
|
+
constructor() {
|
|
100
|
+
super({
|
|
101
|
+
id: SPLIT_EDITOR_RIGHT,
|
|
102
|
+
title: { value: ( localize('splitEditorGroupRight', "Split Editor Right")), original: 'Split Editor Right' },
|
|
103
|
+
f1: true,
|
|
104
|
+
keybinding: {
|
|
105
|
+
weight: 200 ,
|
|
106
|
+
primary: KeyChord(2048 | 41 , 2048 | 88 )
|
|
107
|
+
},
|
|
108
|
+
category: Categories.View
|
|
109
|
+
}, SPLIT_EDITOR_RIGHT);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
class SplitEditorUpAction extends ExecuteCommandAction {
|
|
113
|
+
constructor() {
|
|
114
|
+
super({
|
|
115
|
+
id: SPLIT_EDITOR_UP,
|
|
116
|
+
title: { value: ( localize('splitEditorGroupUp', "Split Editor Up")), original: 'Split Editor Up' },
|
|
117
|
+
f1: true,
|
|
118
|
+
keybinding: {
|
|
119
|
+
weight: 200 ,
|
|
120
|
+
primary: KeyChord(2048 | 41 , 2048 | 88 )
|
|
121
|
+
},
|
|
122
|
+
category: Categories.View
|
|
123
|
+
}, SPLIT_EDITOR_UP);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
SplitEditorUpAction.LABEL = ( localize('splitEditorGroupUp', "Split Editor Up"));
|
|
127
|
+
class SplitEditorDownAction extends ExecuteCommandAction {
|
|
128
|
+
constructor() {
|
|
129
|
+
super({
|
|
130
|
+
id: SPLIT_EDITOR_DOWN,
|
|
131
|
+
title: { value: ( localize('splitEditorGroupDown', "Split Editor Down")), original: 'Split Editor Down' },
|
|
132
|
+
f1: true,
|
|
133
|
+
keybinding: {
|
|
134
|
+
weight: 200 ,
|
|
135
|
+
primary: KeyChord(2048 | 41 , 2048 | 88 )
|
|
136
|
+
},
|
|
137
|
+
category: Categories.View
|
|
138
|
+
}, SPLIT_EDITOR_DOWN);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
SplitEditorDownAction.LABEL = ( localize('splitEditorGroupDown', "Split Editor Down"));
|
|
142
|
+
class JoinTwoGroupsAction extends Action2 {
|
|
143
|
+
constructor() {
|
|
144
|
+
super({
|
|
145
|
+
id: 'workbench.action.joinTwoGroups',
|
|
146
|
+
title: { value: ( localize('joinTwoGroups', "Join Editor Group with Next Group")), original: 'Join Editor Group with Next Group' },
|
|
147
|
+
f1: true,
|
|
148
|
+
category: Categories.View
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
async run(accessor, context) {
|
|
152
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
153
|
+
let sourceGroup;
|
|
154
|
+
if (context && typeof context.groupId === 'number') {
|
|
155
|
+
sourceGroup = editorGroupService.getGroup(context.groupId);
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
sourceGroup = editorGroupService.activeGroup;
|
|
159
|
+
}
|
|
160
|
+
if (sourceGroup) {
|
|
161
|
+
const targetGroupDirections = [3 , 1 , 2 , 0 ];
|
|
162
|
+
for (const targetGroupDirection of targetGroupDirections) {
|
|
163
|
+
const targetGroup = editorGroupService.findGroup({ direction: targetGroupDirection }, sourceGroup);
|
|
164
|
+
if (targetGroup && sourceGroup !== targetGroup) {
|
|
165
|
+
editorGroupService.mergeGroup(sourceGroup, targetGroup);
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
class JoinAllGroupsAction extends Action2 {
|
|
173
|
+
constructor() {
|
|
174
|
+
super({
|
|
175
|
+
id: 'workbench.action.joinAllGroups',
|
|
176
|
+
title: { value: ( localize('joinAllGroups', "Join All Editor Groups")), original: 'Join All Editor Groups' },
|
|
177
|
+
f1: true,
|
|
178
|
+
category: Categories.View
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
async run(accessor) {
|
|
182
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
183
|
+
editorGroupService.mergeAllGroups();
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
class NavigateBetweenGroupsAction extends Action2 {
|
|
187
|
+
constructor() {
|
|
188
|
+
super({
|
|
189
|
+
id: 'workbench.action.navigateEditorGroups',
|
|
190
|
+
title: { value: ( localize('navigateEditorGroups', "Navigate Between Editor Groups")), original: 'Navigate Between Editor Groups' },
|
|
191
|
+
f1: true,
|
|
192
|
+
category: Categories.View
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
async run(accessor) {
|
|
196
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
197
|
+
const nextGroup = editorGroupService.findGroup({ location: 2 }, editorGroupService.activeGroup, true);
|
|
198
|
+
nextGroup?.focus();
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
class FocusActiveGroupAction extends Action2 {
|
|
202
|
+
constructor() {
|
|
203
|
+
super({
|
|
204
|
+
id: 'workbench.action.focusActiveEditorGroup',
|
|
205
|
+
title: { value: ( localize('focusActiveEditorGroup', "Focus Active Editor Group")), original: 'Focus Active Editor Group' },
|
|
206
|
+
f1: true,
|
|
207
|
+
category: Categories.View
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
async run(accessor) {
|
|
211
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
212
|
+
editorGroupService.activeGroup.focus();
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
class AbstractFocusGroupAction extends Action2 {
|
|
216
|
+
constructor(desc, scope) {
|
|
217
|
+
super(desc);
|
|
218
|
+
this.scope = scope;
|
|
219
|
+
}
|
|
220
|
+
async run(accessor) {
|
|
221
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
222
|
+
const group = editorGroupService.findGroup(this.scope, editorGroupService.activeGroup, true);
|
|
223
|
+
group?.focus();
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
class FocusFirstGroupAction extends AbstractFocusGroupAction {
|
|
227
|
+
constructor() {
|
|
228
|
+
super({
|
|
229
|
+
id: 'workbench.action.focusFirstEditorGroup',
|
|
230
|
+
title: { value: ( localize('focusFirstEditorGroup', "Focus First Editor Group")), original: 'Focus First Editor Group' },
|
|
231
|
+
f1: true,
|
|
232
|
+
keybinding: {
|
|
233
|
+
weight: 200 ,
|
|
234
|
+
primary: 2048 | 22
|
|
235
|
+
},
|
|
236
|
+
category: Categories.View
|
|
237
|
+
}, { location: 0 });
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
class FocusLastGroupAction extends AbstractFocusGroupAction {
|
|
241
|
+
constructor() {
|
|
242
|
+
super({
|
|
243
|
+
id: 'workbench.action.focusLastEditorGroup',
|
|
244
|
+
title: { value: ( localize('focusLastEditorGroup', "Focus Last Editor Group")), original: 'Focus Last Editor Group' },
|
|
245
|
+
f1: true,
|
|
246
|
+
category: Categories.View
|
|
247
|
+
}, { location: 1 });
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
class FocusNextGroup extends AbstractFocusGroupAction {
|
|
251
|
+
constructor() {
|
|
252
|
+
super({
|
|
253
|
+
id: 'workbench.action.focusNextGroup',
|
|
254
|
+
title: { value: ( localize('focusNextGroup', "Focus Next Editor Group")), original: 'Focus Next Editor Group' },
|
|
255
|
+
f1: true,
|
|
256
|
+
category: Categories.View
|
|
257
|
+
}, { location: 2 });
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
class FocusPreviousGroup extends AbstractFocusGroupAction {
|
|
261
|
+
constructor() {
|
|
262
|
+
super({
|
|
263
|
+
id: 'workbench.action.focusPreviousGroup',
|
|
264
|
+
title: { value: ( localize('focusPreviousGroup', "Focus Previous Editor Group")), original: 'Focus Previous Editor Group' },
|
|
265
|
+
f1: true,
|
|
266
|
+
category: Categories.View
|
|
267
|
+
}, { location: 3 });
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
class FocusLeftGroup extends AbstractFocusGroupAction {
|
|
271
|
+
constructor() {
|
|
272
|
+
super({
|
|
273
|
+
id: 'workbench.action.focusLeftGroup',
|
|
274
|
+
title: { value: ( localize('focusLeftGroup', "Focus Left Editor Group")), original: 'Focus Left Editor Group' },
|
|
275
|
+
f1: true,
|
|
276
|
+
keybinding: {
|
|
277
|
+
weight: 200 ,
|
|
278
|
+
primary: KeyChord(2048 | 41 , 2048 | 15 )
|
|
279
|
+
},
|
|
280
|
+
category: Categories.View
|
|
281
|
+
}, { direction: 2 });
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
class FocusRightGroup extends AbstractFocusGroupAction {
|
|
285
|
+
constructor() {
|
|
286
|
+
super({
|
|
287
|
+
id: 'workbench.action.focusRightGroup',
|
|
288
|
+
title: { value: ( localize('focusRightGroup', "Focus Right Editor Group")), original: 'Focus Right Editor Group' },
|
|
289
|
+
f1: true,
|
|
290
|
+
keybinding: {
|
|
291
|
+
weight: 200 ,
|
|
292
|
+
primary: KeyChord(2048 | 41 , 2048 | 17 )
|
|
293
|
+
},
|
|
294
|
+
category: Categories.View
|
|
295
|
+
}, { direction: 3 });
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
class FocusAboveGroup extends AbstractFocusGroupAction {
|
|
299
|
+
constructor() {
|
|
300
|
+
super({
|
|
301
|
+
id: 'workbench.action.focusAboveGroup',
|
|
302
|
+
title: { value: ( localize('focusAboveGroup', "Focus Editor Group Above")), original: 'Focus Editor Group Above' },
|
|
303
|
+
f1: true,
|
|
304
|
+
keybinding: {
|
|
305
|
+
weight: 200 ,
|
|
306
|
+
primary: KeyChord(2048 | 41 , 2048 | 16 )
|
|
307
|
+
},
|
|
308
|
+
category: Categories.View
|
|
309
|
+
}, { direction: 0 });
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
class FocusBelowGroup extends AbstractFocusGroupAction {
|
|
313
|
+
constructor() {
|
|
314
|
+
super({
|
|
315
|
+
id: 'workbench.action.focusBelowGroup',
|
|
316
|
+
title: { value: ( localize('focusBelowGroup', "Focus Editor Group Below")), original: 'Focus Editor Group Below' },
|
|
317
|
+
f1: true,
|
|
318
|
+
keybinding: {
|
|
319
|
+
weight: 200 ,
|
|
320
|
+
primary: KeyChord(2048 | 41 , 2048 | 18 )
|
|
321
|
+
},
|
|
322
|
+
category: Categories.View
|
|
323
|
+
}, { direction: 1 });
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
let CloseEditorAction = class CloseEditorAction extends Action {
|
|
327
|
+
constructor(id, label, commandService) {
|
|
328
|
+
super(id, label, ThemeIcon.asClassName(Codicon.close));
|
|
329
|
+
this.commandService = commandService;
|
|
330
|
+
}
|
|
331
|
+
run(context) {
|
|
332
|
+
return this.commandService.executeCommand(CLOSE_EDITOR_COMMAND_ID, undefined, context);
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
CloseEditorAction.ID = 'workbench.action.closeActiveEditor';
|
|
336
|
+
CloseEditorAction.LABEL = ( localize('closeEditor', "Close Editor"));
|
|
337
|
+
CloseEditorAction = ( __decorate([
|
|
338
|
+
( __param(2, ICommandService))
|
|
339
|
+
], CloseEditorAction));
|
|
340
|
+
let UnpinEditorAction = class UnpinEditorAction extends Action {
|
|
341
|
+
constructor(id, label, commandService) {
|
|
342
|
+
super(id, label, ThemeIcon.asClassName(Codicon.pinned));
|
|
343
|
+
this.commandService = commandService;
|
|
344
|
+
}
|
|
345
|
+
run(context) {
|
|
346
|
+
return this.commandService.executeCommand(UNPIN_EDITOR_COMMAND_ID, undefined, context);
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
UnpinEditorAction.ID = 'workbench.action.unpinActiveEditor';
|
|
350
|
+
UnpinEditorAction.LABEL = ( localize('unpinEditor', "Unpin Editor"));
|
|
351
|
+
UnpinEditorAction = ( __decorate([
|
|
352
|
+
( __param(2, ICommandService))
|
|
353
|
+
], UnpinEditorAction));
|
|
354
|
+
let CloseOneEditorAction = class CloseOneEditorAction extends Action {
|
|
355
|
+
constructor(id, label, editorGroupService) {
|
|
356
|
+
super(id, label, ThemeIcon.asClassName(Codicon.close));
|
|
357
|
+
this.editorGroupService = editorGroupService;
|
|
358
|
+
}
|
|
359
|
+
async run(context) {
|
|
360
|
+
let group;
|
|
361
|
+
let editorIndex;
|
|
362
|
+
if (context) {
|
|
363
|
+
group = this.editorGroupService.getGroup(context.groupId);
|
|
364
|
+
if (group) {
|
|
365
|
+
editorIndex = context.editorIndex;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
if (!group) {
|
|
369
|
+
group = this.editorGroupService.activeGroup;
|
|
370
|
+
}
|
|
371
|
+
if (typeof editorIndex === 'number') {
|
|
372
|
+
const editorAtIndex = group.getEditorByIndex(editorIndex);
|
|
373
|
+
if (editorAtIndex) {
|
|
374
|
+
await group.closeEditor(editorAtIndex, { preserveFocus: context?.preserveFocus });
|
|
375
|
+
return;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
if (group.activeEditor) {
|
|
379
|
+
await group.closeEditor(group.activeEditor, { preserveFocus: context?.preserveFocus });
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
CloseOneEditorAction.ID = 'workbench.action.closeActiveEditor';
|
|
385
|
+
CloseOneEditorAction.LABEL = ( localize('closeOneEditor', "Close"));
|
|
386
|
+
CloseOneEditorAction = ( __decorate([
|
|
387
|
+
( __param(2, IEditorGroupsService))
|
|
388
|
+
], CloseOneEditorAction));
|
|
389
|
+
class RevertAndCloseEditorAction extends Action2 {
|
|
390
|
+
constructor() {
|
|
391
|
+
super({
|
|
392
|
+
id: 'workbench.action.revertAndCloseActiveEditor',
|
|
393
|
+
title: { value: ( localize('revertAndCloseActiveEditor', "Revert and Close Editor")), original: 'Revert and Close Editor' },
|
|
394
|
+
f1: true,
|
|
395
|
+
category: Categories.View
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
async run(accessor) {
|
|
399
|
+
const editorService = accessor.get(IEditorService);
|
|
400
|
+
const logService = accessor.get(ILogService);
|
|
401
|
+
const activeEditorPane = editorService.activeEditorPane;
|
|
402
|
+
if (activeEditorPane) {
|
|
403
|
+
const editor = activeEditorPane.input;
|
|
404
|
+
const group = activeEditorPane.group;
|
|
405
|
+
try {
|
|
406
|
+
await editorService.revert({ editor, groupId: group.id });
|
|
407
|
+
}
|
|
408
|
+
catch (error) {
|
|
409
|
+
logService.error(error);
|
|
410
|
+
await editorService.revert({ editor, groupId: group.id }, { soft: true });
|
|
411
|
+
}
|
|
412
|
+
await group.closeEditor(editor);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
class CloseLeftEditorsInGroupAction extends Action2 {
|
|
417
|
+
constructor() {
|
|
418
|
+
super({
|
|
419
|
+
id: 'workbench.action.closeEditorsToTheLeft',
|
|
420
|
+
title: { value: ( localize('closeEditorsToTheLeft', "Close Editors to the Left in Group")), original: 'Close Editors to the Left in Group' },
|
|
421
|
+
f1: true,
|
|
422
|
+
category: Categories.View
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
async run(accessor, context) {
|
|
426
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
427
|
+
const { group, editor } = this.getTarget(editorGroupService, context);
|
|
428
|
+
if (group && editor) {
|
|
429
|
+
await group.closeEditors({ direction: 0 , except: editor, excludeSticky: true });
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
getTarget(editorGroupService, context) {
|
|
433
|
+
if (context) {
|
|
434
|
+
return { editor: context.editor, group: editorGroupService.getGroup(context.groupId) };
|
|
435
|
+
}
|
|
436
|
+
return { group: editorGroupService.activeGroup, editor: editorGroupService.activeGroup.activeEditor };
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
class AbstractCloseAllAction extends Action2 {
|
|
440
|
+
groupsToClose(editorGroupService) {
|
|
441
|
+
const groupsToClose = [];
|
|
442
|
+
const groups = editorGroupService.getGroups(2 );
|
|
443
|
+
for (let i = groups.length - 1; i >= 0; i--) {
|
|
444
|
+
groupsToClose.push(groups[i]);
|
|
445
|
+
}
|
|
446
|
+
return groupsToClose;
|
|
447
|
+
}
|
|
448
|
+
async run(accessor) {
|
|
449
|
+
const editorService = accessor.get(IEditorService);
|
|
450
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
451
|
+
const filesConfigurationService = accessor.get(IFilesConfigurationService);
|
|
452
|
+
const fileDialogService = accessor.get(IFileDialogService);
|
|
453
|
+
const dirtyEditorsWithDefaultConfirm = ( new Set());
|
|
454
|
+
const dirtyAutoSaveOnFocusChangeEditors = ( new Set());
|
|
455
|
+
const dirtyAutoSaveOnWindowChangeEditors = ( new Set());
|
|
456
|
+
const editorsWithCustomConfirm = ( new Map());
|
|
457
|
+
for (const { editor, groupId } of editorService.getEditors(1 , { excludeSticky: this.excludeSticky })) {
|
|
458
|
+
let confirmClose = false;
|
|
459
|
+
if (editor.closeHandler) {
|
|
460
|
+
confirmClose = editor.closeHandler.showConfirm();
|
|
461
|
+
}
|
|
462
|
+
else {
|
|
463
|
+
confirmClose = editor.isDirty() && !editor.isSaving();
|
|
464
|
+
}
|
|
465
|
+
if (!confirmClose) {
|
|
466
|
+
continue;
|
|
467
|
+
}
|
|
468
|
+
if (typeof editor.closeHandler?.confirm === 'function') {
|
|
469
|
+
let customEditorsToConfirm = editorsWithCustomConfirm.get(editor.typeId);
|
|
470
|
+
if (!customEditorsToConfirm) {
|
|
471
|
+
customEditorsToConfirm = ( new Set());
|
|
472
|
+
editorsWithCustomConfirm.set(editor.typeId, customEditorsToConfirm);
|
|
473
|
+
}
|
|
474
|
+
customEditorsToConfirm.add({ editor, groupId });
|
|
475
|
+
}
|
|
476
|
+
else if (filesConfigurationService.getAutoSaveMode() === 3 && !editor.hasCapability(4 )) {
|
|
477
|
+
dirtyAutoSaveOnFocusChangeEditors.add({ editor, groupId });
|
|
478
|
+
}
|
|
479
|
+
else if ((isNative && (isWindows || isLinux)) && filesConfigurationService.getAutoSaveMode() === 4 && !editor.hasCapability(4 )) {
|
|
480
|
+
dirtyAutoSaveOnWindowChangeEditors.add({ editor, groupId });
|
|
481
|
+
}
|
|
482
|
+
else {
|
|
483
|
+
dirtyEditorsWithDefaultConfirm.add({ editor, groupId });
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
if (dirtyEditorsWithDefaultConfirm.size > 0) {
|
|
487
|
+
const editors = Array.from(( dirtyEditorsWithDefaultConfirm.values()));
|
|
488
|
+
await this.revealEditorsToConfirm(editors, editorGroupService);
|
|
489
|
+
const confirmation = await fileDialogService.showSaveConfirm(( editors.map(({ editor }) => {
|
|
490
|
+
if (editor instanceof SideBySideEditorInput) {
|
|
491
|
+
return editor.primary.getName();
|
|
492
|
+
}
|
|
493
|
+
return editor.getName();
|
|
494
|
+
})));
|
|
495
|
+
switch (confirmation) {
|
|
496
|
+
case 2 :
|
|
497
|
+
return;
|
|
498
|
+
case 1 :
|
|
499
|
+
await editorService.revert(editors, { soft: true });
|
|
500
|
+
break;
|
|
501
|
+
case 0 :
|
|
502
|
+
await editorService.save(editors, { reason: 1 });
|
|
503
|
+
break;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
for (const [, editorIdentifiers] of editorsWithCustomConfirm) {
|
|
507
|
+
const editors = Array.from(( editorIdentifiers.values()));
|
|
508
|
+
await this.revealEditorsToConfirm(editors, editorGroupService);
|
|
509
|
+
const confirmation = await firstOrDefault(editors)?.editor.closeHandler?.confirm?.(editors);
|
|
510
|
+
if (typeof confirmation === 'number') {
|
|
511
|
+
switch (confirmation) {
|
|
512
|
+
case 2 :
|
|
513
|
+
return;
|
|
514
|
+
case 1 :
|
|
515
|
+
await editorService.revert(editors, { soft: true });
|
|
516
|
+
break;
|
|
517
|
+
case 0 :
|
|
518
|
+
await editorService.save(editors, { reason: 1 });
|
|
519
|
+
break;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
if (dirtyAutoSaveOnFocusChangeEditors.size > 0) {
|
|
524
|
+
const editors = Array.from(( dirtyAutoSaveOnFocusChangeEditors.values()));
|
|
525
|
+
await editorService.save(editors, { reason: 3 });
|
|
526
|
+
}
|
|
527
|
+
if (dirtyAutoSaveOnWindowChangeEditors.size > 0) {
|
|
528
|
+
const editors = Array.from(( dirtyAutoSaveOnWindowChangeEditors.values()));
|
|
529
|
+
await editorService.save(editors, { reason: 4 });
|
|
530
|
+
}
|
|
531
|
+
return this.doCloseAll(editorGroupService);
|
|
532
|
+
}
|
|
533
|
+
async revealEditorsToConfirm(editors, editorGroupService) {
|
|
534
|
+
try {
|
|
535
|
+
const handledGroups = ( new Set());
|
|
536
|
+
for (const { editor, groupId } of editors) {
|
|
537
|
+
if (handledGroups.has(groupId)) {
|
|
538
|
+
continue;
|
|
539
|
+
}
|
|
540
|
+
handledGroups.add(groupId);
|
|
541
|
+
const group = editorGroupService.getGroup(groupId);
|
|
542
|
+
await group?.openEditor(editor);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
catch (error) {
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
async doCloseAll(editorGroupService) {
|
|
549
|
+
await Promise.all(( this.groupsToClose(editorGroupService).map(group => group.closeAllEditors({ excludeSticky: this.excludeSticky }))));
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
class CloseAllEditorsAction extends AbstractCloseAllAction {
|
|
553
|
+
constructor() {
|
|
554
|
+
super({
|
|
555
|
+
id: CloseAllEditorsAction.ID,
|
|
556
|
+
title: CloseAllEditorsAction.LABEL,
|
|
557
|
+
f1: true,
|
|
558
|
+
keybinding: {
|
|
559
|
+
weight: 200 ,
|
|
560
|
+
primary: KeyChord(2048 | 41 , 2048 | 53 )
|
|
561
|
+
},
|
|
562
|
+
icon: Codicon.closeAll,
|
|
563
|
+
category: Categories.View
|
|
564
|
+
});
|
|
565
|
+
}
|
|
566
|
+
get excludeSticky() {
|
|
567
|
+
return true;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
CloseAllEditorsAction.ID = 'workbench.action.closeAllEditors';
|
|
571
|
+
CloseAllEditorsAction.LABEL = { value: ( localize('closeAllEditors', "Close All Editors")), original: 'Close All Editors' };
|
|
572
|
+
class CloseAllEditorGroupsAction extends AbstractCloseAllAction {
|
|
573
|
+
constructor() {
|
|
574
|
+
super({
|
|
575
|
+
id: 'workbench.action.closeAllGroups',
|
|
576
|
+
title: { value: ( localize('closeAllGroups', "Close All Editor Groups")), original: 'Close All Editor Groups' },
|
|
577
|
+
f1: true,
|
|
578
|
+
keybinding: {
|
|
579
|
+
weight: 200 ,
|
|
580
|
+
primary: KeyChord(2048 | 41 , 2048 | 1024 | 53 )
|
|
581
|
+
},
|
|
582
|
+
category: Categories.View
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
get excludeSticky() {
|
|
586
|
+
return false;
|
|
587
|
+
}
|
|
588
|
+
async doCloseAll(editorGroupService) {
|
|
589
|
+
await super.doCloseAll(editorGroupService);
|
|
590
|
+
for (const groupToClose of this.groupsToClose(editorGroupService)) {
|
|
591
|
+
editorGroupService.removeGroup(groupToClose);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
class CloseEditorsInOtherGroupsAction extends Action2 {
|
|
596
|
+
constructor() {
|
|
597
|
+
super({
|
|
598
|
+
id: 'workbench.action.closeEditorsInOtherGroups',
|
|
599
|
+
title: { value: ( localize('closeEditorsInOtherGroups', "Close Editors in Other Groups")), original: 'Close Editors in Other Groups' },
|
|
600
|
+
f1: true,
|
|
601
|
+
category: Categories.View
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
async run(accessor, context) {
|
|
605
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
606
|
+
const groupToSkip = context ? editorGroupService.getGroup(context.groupId) : editorGroupService.activeGroup;
|
|
607
|
+
await Promise.all(( editorGroupService.getGroups(1 ).map(async (group) => {
|
|
608
|
+
if (groupToSkip && group.id === groupToSkip.id) {
|
|
609
|
+
return;
|
|
610
|
+
}
|
|
611
|
+
return group.closeAllEditors({ excludeSticky: true });
|
|
612
|
+
})));
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
class CloseEditorInAllGroupsAction extends Action2 {
|
|
616
|
+
constructor() {
|
|
617
|
+
super({
|
|
618
|
+
id: 'workbench.action.closeEditorInAllGroups',
|
|
619
|
+
title: { value: ( localize('closeEditorInAllGroups', "Close Editor in All Groups")), original: 'Close Editor in All Groups' },
|
|
620
|
+
f1: true,
|
|
621
|
+
category: Categories.View
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
async run(accessor) {
|
|
625
|
+
const editorService = accessor.get(IEditorService);
|
|
626
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
627
|
+
const activeEditor = editorService.activeEditor;
|
|
628
|
+
if (activeEditor) {
|
|
629
|
+
await Promise.all(( editorGroupService.getGroups(1 ).map(group => group.closeEditor(activeEditor))));
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
class AbstractMoveCopyGroupAction extends Action2 {
|
|
634
|
+
constructor(desc, direction, isMove) {
|
|
635
|
+
super(desc);
|
|
636
|
+
this.direction = direction;
|
|
637
|
+
this.isMove = isMove;
|
|
638
|
+
}
|
|
639
|
+
async run(accessor, context) {
|
|
640
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
641
|
+
let sourceGroup;
|
|
642
|
+
if (context && typeof context.groupId === 'number') {
|
|
643
|
+
sourceGroup = editorGroupService.getGroup(context.groupId);
|
|
644
|
+
}
|
|
645
|
+
else {
|
|
646
|
+
sourceGroup = editorGroupService.activeGroup;
|
|
647
|
+
}
|
|
648
|
+
if (sourceGroup) {
|
|
649
|
+
let resultGroup = undefined;
|
|
650
|
+
if (this.isMove) {
|
|
651
|
+
const targetGroup = this.findTargetGroup(editorGroupService, sourceGroup);
|
|
652
|
+
if (targetGroup) {
|
|
653
|
+
resultGroup = editorGroupService.moveGroup(sourceGroup, targetGroup, this.direction);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
else {
|
|
657
|
+
resultGroup = editorGroupService.copyGroup(sourceGroup, sourceGroup, this.direction);
|
|
658
|
+
}
|
|
659
|
+
if (resultGroup) {
|
|
660
|
+
editorGroupService.activateGroup(resultGroup);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
findTargetGroup(editorGroupService, sourceGroup) {
|
|
665
|
+
const targetNeighbours = [this.direction];
|
|
666
|
+
switch (this.direction) {
|
|
667
|
+
case 2 :
|
|
668
|
+
case 3 :
|
|
669
|
+
targetNeighbours.push(0 , 1 );
|
|
670
|
+
break;
|
|
671
|
+
case 0 :
|
|
672
|
+
case 1 :
|
|
673
|
+
targetNeighbours.push(2 , 3 );
|
|
674
|
+
break;
|
|
675
|
+
}
|
|
676
|
+
for (const targetNeighbour of targetNeighbours) {
|
|
677
|
+
const targetNeighbourGroup = editorGroupService.findGroup({ direction: targetNeighbour }, sourceGroup);
|
|
678
|
+
if (targetNeighbourGroup) {
|
|
679
|
+
return targetNeighbourGroup;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
return undefined;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
class AbstractMoveGroupAction extends AbstractMoveCopyGroupAction {
|
|
686
|
+
constructor(desc, direction) {
|
|
687
|
+
super(desc, direction, true);
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
class MoveGroupLeftAction extends AbstractMoveGroupAction {
|
|
691
|
+
constructor() {
|
|
692
|
+
super({
|
|
693
|
+
id: 'workbench.action.moveActiveEditorGroupLeft',
|
|
694
|
+
title: { value: ( localize('moveActiveGroupLeft', "Move Editor Group Left")), original: 'Move Editor Group Left' },
|
|
695
|
+
f1: true,
|
|
696
|
+
keybinding: {
|
|
697
|
+
weight: 200 ,
|
|
698
|
+
primary: KeyChord(2048 | 41 , 15 )
|
|
699
|
+
},
|
|
700
|
+
category: Categories.View
|
|
701
|
+
}, 2 );
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
class MoveGroupRightAction extends AbstractMoveGroupAction {
|
|
705
|
+
constructor() {
|
|
706
|
+
super({
|
|
707
|
+
id: 'workbench.action.moveActiveEditorGroupRight',
|
|
708
|
+
title: { value: ( localize('moveActiveGroupRight', "Move Editor Group Right")), original: 'Move Editor Group Right' },
|
|
709
|
+
f1: true,
|
|
710
|
+
keybinding: {
|
|
711
|
+
weight: 200 ,
|
|
712
|
+
primary: KeyChord(2048 | 41 , 17 )
|
|
713
|
+
},
|
|
714
|
+
category: Categories.View
|
|
715
|
+
}, 3 );
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
class MoveGroupUpAction extends AbstractMoveGroupAction {
|
|
719
|
+
constructor() {
|
|
720
|
+
super({
|
|
721
|
+
id: 'workbench.action.moveActiveEditorGroupUp',
|
|
722
|
+
title: { value: ( localize('moveActiveGroupUp', "Move Editor Group Up")), original: 'Move Editor Group Up' },
|
|
723
|
+
f1: true,
|
|
724
|
+
keybinding: {
|
|
725
|
+
weight: 200 ,
|
|
726
|
+
primary: KeyChord(2048 | 41 , 16 )
|
|
727
|
+
},
|
|
728
|
+
category: Categories.View
|
|
729
|
+
}, 0 );
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
class MoveGroupDownAction extends AbstractMoveGroupAction {
|
|
733
|
+
constructor() {
|
|
734
|
+
super({
|
|
735
|
+
id: 'workbench.action.moveActiveEditorGroupDown',
|
|
736
|
+
title: { value: ( localize('moveActiveGroupDown', "Move Editor Group Down")), original: 'Move Editor Group Down' },
|
|
737
|
+
f1: true,
|
|
738
|
+
keybinding: {
|
|
739
|
+
weight: 200 ,
|
|
740
|
+
primary: KeyChord(2048 | 41 , 18 )
|
|
741
|
+
},
|
|
742
|
+
category: Categories.View
|
|
743
|
+
}, 1 );
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
class AbstractDuplicateGroupAction extends AbstractMoveCopyGroupAction {
|
|
747
|
+
constructor(desc, direction) {
|
|
748
|
+
super(desc, direction, false);
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
class DuplicateGroupLeftAction extends AbstractDuplicateGroupAction {
|
|
752
|
+
constructor() {
|
|
753
|
+
super({
|
|
754
|
+
id: 'workbench.action.duplicateActiveEditorGroupLeft',
|
|
755
|
+
title: { value: ( localize('duplicateActiveGroupLeft', "Duplicate Editor Group Left")), original: 'Duplicate Editor Group Left' },
|
|
756
|
+
f1: true,
|
|
757
|
+
category: Categories.View
|
|
758
|
+
}, 2 );
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
class DuplicateGroupRightAction extends AbstractDuplicateGroupAction {
|
|
762
|
+
constructor() {
|
|
763
|
+
super({
|
|
764
|
+
id: 'workbench.action.duplicateActiveEditorGroupRight',
|
|
765
|
+
title: { value: ( localize('duplicateActiveGroupRight', "Duplicate Editor Group Right")), original: 'Duplicate Editor Group Right' },
|
|
766
|
+
f1: true,
|
|
767
|
+
category: Categories.View
|
|
768
|
+
}, 3 );
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
class DuplicateGroupUpAction extends AbstractDuplicateGroupAction {
|
|
772
|
+
constructor() {
|
|
773
|
+
super({
|
|
774
|
+
id: 'workbench.action.duplicateActiveEditorGroupUp',
|
|
775
|
+
title: { value: ( localize('duplicateActiveGroupUp', "Duplicate Editor Group Up")), original: 'Duplicate Editor Group Up' },
|
|
776
|
+
f1: true,
|
|
777
|
+
category: Categories.View
|
|
778
|
+
}, 0 );
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
class DuplicateGroupDownAction extends AbstractDuplicateGroupAction {
|
|
782
|
+
constructor() {
|
|
783
|
+
super({
|
|
784
|
+
id: 'workbench.action.duplicateActiveEditorGroupDown',
|
|
785
|
+
title: { value: ( localize('duplicateActiveGroupDown', "Duplicate Editor Group Down")), original: 'Duplicate Editor Group Down' },
|
|
786
|
+
f1: true,
|
|
787
|
+
category: Categories.View
|
|
788
|
+
}, 1 );
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
class MinimizeOtherGroupsAction extends Action2 {
|
|
792
|
+
constructor() {
|
|
793
|
+
super({
|
|
794
|
+
id: 'workbench.action.minimizeOtherEditors',
|
|
795
|
+
title: { value: ( localize('minimizeOtherEditorGroups', "Maximize Editor Group")), original: 'Maximize Editor Group' },
|
|
796
|
+
f1: true,
|
|
797
|
+
category: Categories.View
|
|
798
|
+
});
|
|
799
|
+
}
|
|
800
|
+
async run(accessor) {
|
|
801
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
802
|
+
editorGroupService.arrangeGroups(0 );
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
class ResetGroupSizesAction extends Action2 {
|
|
806
|
+
constructor() {
|
|
807
|
+
super({
|
|
808
|
+
id: 'workbench.action.evenEditorWidths',
|
|
809
|
+
title: { value: ( localize('evenEditorGroups', "Reset Editor Group Sizes")), original: 'Reset Editor Group Sizes' },
|
|
810
|
+
f1: true,
|
|
811
|
+
category: Categories.View
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
async run(accessor) {
|
|
815
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
816
|
+
editorGroupService.arrangeGroups(1 );
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
class ToggleGroupSizesAction extends Action2 {
|
|
820
|
+
constructor() {
|
|
821
|
+
super({
|
|
822
|
+
id: 'workbench.action.toggleEditorWidths',
|
|
823
|
+
title: { value: ( localize('toggleEditorWidths', "Toggle Editor Group Sizes")), original: 'Toggle Editor Group Sizes' },
|
|
824
|
+
f1: true,
|
|
825
|
+
category: Categories.View
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
async run(accessor) {
|
|
829
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
830
|
+
editorGroupService.arrangeGroups(2 );
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
class MaximizeGroupAction extends Action2 {
|
|
834
|
+
constructor() {
|
|
835
|
+
super({
|
|
836
|
+
id: 'workbench.action.maximizeEditor',
|
|
837
|
+
title: { value: ( localize('maximizeEditor', "Maximize Editor Group and Hide Side Bars")), original: 'Maximize Editor Group and Hide Side Bars' },
|
|
838
|
+
f1: true,
|
|
839
|
+
category: Categories.View
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
async run(accessor) {
|
|
843
|
+
const layoutService = accessor.get(IWorkbenchLayoutService);
|
|
844
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
845
|
+
const editorService = accessor.get(IEditorService);
|
|
846
|
+
if (editorService.activeEditor) {
|
|
847
|
+
layoutService.setPartHidden(true, "workbench.parts.sidebar" );
|
|
848
|
+
layoutService.setPartHidden(true, "workbench.parts.auxiliarybar" );
|
|
849
|
+
editorGroupService.arrangeGroups(0 );
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
class AbstractNavigateEditorAction extends Action2 {
|
|
854
|
+
async run(accessor) {
|
|
855
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
856
|
+
const result = this.navigate(editorGroupService);
|
|
857
|
+
if (!result) {
|
|
858
|
+
return;
|
|
859
|
+
}
|
|
860
|
+
const { groupId, editor } = result;
|
|
861
|
+
if (!editor) {
|
|
862
|
+
return;
|
|
863
|
+
}
|
|
864
|
+
const group = editorGroupService.getGroup(groupId);
|
|
865
|
+
if (group) {
|
|
866
|
+
await group.openEditor(editor);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
class OpenNextEditor extends AbstractNavigateEditorAction {
|
|
871
|
+
constructor() {
|
|
872
|
+
super({
|
|
873
|
+
id: 'workbench.action.nextEditor',
|
|
874
|
+
title: { value: ( localize('openNextEditor', "Open Next Editor")), original: 'Open Next Editor' },
|
|
875
|
+
f1: true,
|
|
876
|
+
keybinding: {
|
|
877
|
+
weight: 200 ,
|
|
878
|
+
primary: 2048 | 12 ,
|
|
879
|
+
mac: {
|
|
880
|
+
primary: 2048 | 512 | 17 ,
|
|
881
|
+
secondary: [2048 | 1024 | 89 ]
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
category: Categories.View
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
navigate(editorGroupService) {
|
|
888
|
+
const activeGroup = editorGroupService.activeGroup;
|
|
889
|
+
const activeGroupEditors = activeGroup.getEditors(1 );
|
|
890
|
+
const activeEditorIndex = activeGroup.activeEditor ? activeGroupEditors.indexOf(activeGroup.activeEditor) : -1;
|
|
891
|
+
if (activeEditorIndex + 1 < activeGroupEditors.length) {
|
|
892
|
+
return { editor: activeGroupEditors[activeEditorIndex + 1], groupId: activeGroup.id };
|
|
893
|
+
}
|
|
894
|
+
const handledGroups = ( new Set());
|
|
895
|
+
let currentGroup = editorGroupService.activeGroup;
|
|
896
|
+
while (currentGroup && !handledGroups.has(currentGroup.id)) {
|
|
897
|
+
currentGroup = editorGroupService.findGroup({ location: 2 }, currentGroup, true);
|
|
898
|
+
if (currentGroup) {
|
|
899
|
+
handledGroups.add(currentGroup.id);
|
|
900
|
+
const groupEditors = currentGroup.getEditors(1 );
|
|
901
|
+
if (groupEditors.length > 0) {
|
|
902
|
+
return { editor: groupEditors[0], groupId: currentGroup.id };
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
return undefined;
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
class OpenPreviousEditor extends AbstractNavigateEditorAction {
|
|
910
|
+
constructor() {
|
|
911
|
+
super({
|
|
912
|
+
id: 'workbench.action.previousEditor',
|
|
913
|
+
title: { value: ( localize('openPreviousEditor', "Open Previous Editor")), original: 'Open Previous Editor' },
|
|
914
|
+
f1: true,
|
|
915
|
+
keybinding: {
|
|
916
|
+
weight: 200 ,
|
|
917
|
+
primary: 2048 | 11 ,
|
|
918
|
+
mac: {
|
|
919
|
+
primary: 2048 | 512 | 15 ,
|
|
920
|
+
secondary: [2048 | 1024 | 87 ]
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
category: Categories.View
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
navigate(editorGroupService) {
|
|
927
|
+
const activeGroup = editorGroupService.activeGroup;
|
|
928
|
+
const activeGroupEditors = activeGroup.getEditors(1 );
|
|
929
|
+
const activeEditorIndex = activeGroup.activeEditor ? activeGroupEditors.indexOf(activeGroup.activeEditor) : -1;
|
|
930
|
+
if (activeEditorIndex > 0) {
|
|
931
|
+
return { editor: activeGroupEditors[activeEditorIndex - 1], groupId: activeGroup.id };
|
|
932
|
+
}
|
|
933
|
+
const handledGroups = ( new Set());
|
|
934
|
+
let currentGroup = editorGroupService.activeGroup;
|
|
935
|
+
while (currentGroup && !handledGroups.has(currentGroup.id)) {
|
|
936
|
+
currentGroup = editorGroupService.findGroup({ location: 3 }, currentGroup, true);
|
|
937
|
+
if (currentGroup) {
|
|
938
|
+
handledGroups.add(currentGroup.id);
|
|
939
|
+
const groupEditors = currentGroup.getEditors(1 );
|
|
940
|
+
if (groupEditors.length > 0) {
|
|
941
|
+
return { editor: groupEditors[groupEditors.length - 1], groupId: currentGroup.id };
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
return undefined;
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
class OpenNextEditorInGroup extends AbstractNavigateEditorAction {
|
|
949
|
+
constructor() {
|
|
950
|
+
super({
|
|
951
|
+
id: 'workbench.action.nextEditorInGroup',
|
|
952
|
+
title: { value: ( localize('nextEditorInGroup', "Open Next Editor in Group")), original: 'Open Next Editor in Group' },
|
|
953
|
+
f1: true,
|
|
954
|
+
keybinding: {
|
|
955
|
+
weight: 200 ,
|
|
956
|
+
primary: KeyChord(2048 | 41 , 2048 | 12 ),
|
|
957
|
+
mac: {
|
|
958
|
+
primary: KeyChord(2048 | 41 , 2048 | 512 | 17 )
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
category: Categories.View
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
navigate(editorGroupService) {
|
|
965
|
+
const group = editorGroupService.activeGroup;
|
|
966
|
+
const editors = group.getEditors(1 );
|
|
967
|
+
const index = group.activeEditor ? editors.indexOf(group.activeEditor) : -1;
|
|
968
|
+
return { editor: index + 1 < editors.length ? editors[index + 1] : editors[0], groupId: group.id };
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
class OpenPreviousEditorInGroup extends AbstractNavigateEditorAction {
|
|
972
|
+
constructor() {
|
|
973
|
+
super({
|
|
974
|
+
id: 'workbench.action.previousEditorInGroup',
|
|
975
|
+
title: { value: ( localize('openPreviousEditorInGroup', "Open Previous Editor in Group")), original: 'Open Previous Editor in Group' },
|
|
976
|
+
f1: true,
|
|
977
|
+
keybinding: {
|
|
978
|
+
weight: 200 ,
|
|
979
|
+
primary: KeyChord(2048 | 41 , 2048 | 11 ),
|
|
980
|
+
mac: {
|
|
981
|
+
primary: KeyChord(2048 | 41 , 2048 | 512 | 15 )
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
category: Categories.View
|
|
985
|
+
});
|
|
986
|
+
}
|
|
987
|
+
navigate(editorGroupService) {
|
|
988
|
+
const group = editorGroupService.activeGroup;
|
|
989
|
+
const editors = group.getEditors(1 );
|
|
990
|
+
const index = group.activeEditor ? editors.indexOf(group.activeEditor) : -1;
|
|
991
|
+
return { editor: index > 0 ? editors[index - 1] : editors[editors.length - 1], groupId: group.id };
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
class OpenFirstEditorInGroup extends AbstractNavigateEditorAction {
|
|
995
|
+
constructor() {
|
|
996
|
+
super({
|
|
997
|
+
id: 'workbench.action.firstEditorInGroup',
|
|
998
|
+
title: { value: ( localize('firstEditorInGroup', "Open First Editor in Group")), original: 'Open First Editor in Group' },
|
|
999
|
+
f1: true,
|
|
1000
|
+
category: Categories.View
|
|
1001
|
+
});
|
|
1002
|
+
}
|
|
1003
|
+
navigate(editorGroupService) {
|
|
1004
|
+
const group = editorGroupService.activeGroup;
|
|
1005
|
+
const editors = group.getEditors(1 );
|
|
1006
|
+
return { editor: editors[0], groupId: group.id };
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
class OpenLastEditorInGroup extends AbstractNavigateEditorAction {
|
|
1010
|
+
constructor() {
|
|
1011
|
+
super({
|
|
1012
|
+
id: 'workbench.action.lastEditorInGroup',
|
|
1013
|
+
title: { value: ( localize('lastEditorInGroup', "Open Last Editor in Group")), original: 'Open Last Editor in Group' },
|
|
1014
|
+
f1: true,
|
|
1015
|
+
keybinding: {
|
|
1016
|
+
weight: 200 ,
|
|
1017
|
+
primary: 512 | 21 ,
|
|
1018
|
+
secondary: [2048 | 30 ],
|
|
1019
|
+
mac: {
|
|
1020
|
+
primary: 256 | 21 ,
|
|
1021
|
+
secondary: [2048 | 30 ]
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
category: Categories.View
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
navigate(editorGroupService) {
|
|
1028
|
+
const group = editorGroupService.activeGroup;
|
|
1029
|
+
const editors = group.getEditors(1 );
|
|
1030
|
+
return { editor: editors[editors.length - 1], groupId: group.id };
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
class NavigateForwardAction extends Action2 {
|
|
1034
|
+
constructor() {
|
|
1035
|
+
super({
|
|
1036
|
+
id: NavigateForwardAction.ID,
|
|
1037
|
+
title: { value: ( localize('navigateForward', "Go Forward")), original: 'Go Forward', mnemonicTitle: ( localize({ key: 'miForward', comment: ['&& denotes a mnemonic'] }, "&&Forward")) },
|
|
1038
|
+
f1: true,
|
|
1039
|
+
icon: Codicon.arrowRight,
|
|
1040
|
+
precondition: ContextKeyExpr.has('canNavigateForward'),
|
|
1041
|
+
keybinding: {
|
|
1042
|
+
weight: 200 ,
|
|
1043
|
+
win: { primary: 512 | 17 },
|
|
1044
|
+
mac: { primary: 256 | 1024 | 83 },
|
|
1045
|
+
linux: { primary: 2048 | 1024 | 83 }
|
|
1046
|
+
},
|
|
1047
|
+
menu: [
|
|
1048
|
+
{ id: MenuId.MenubarGoMenu, group: '1_history_nav', order: 2 },
|
|
1049
|
+
{ id: MenuId.CommandCenter, order: 2 }
|
|
1050
|
+
]
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1053
|
+
async run(accessor) {
|
|
1054
|
+
const historyService = accessor.get(IHistoryService);
|
|
1055
|
+
await historyService.goForward(0 );
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
NavigateForwardAction.ID = 'workbench.action.navigateForward';
|
|
1059
|
+
NavigateForwardAction.LABEL = ( localize('navigateForward', "Go Forward"));
|
|
1060
|
+
class NavigateBackwardsAction extends Action2 {
|
|
1061
|
+
constructor() {
|
|
1062
|
+
super({
|
|
1063
|
+
id: NavigateBackwardsAction.ID,
|
|
1064
|
+
title: { value: ( localize('navigateBack', "Go Back")), original: 'Go Back', mnemonicTitle: ( localize({ key: 'miBack', comment: ['&& denotes a mnemonic'] }, "&&Back")) },
|
|
1065
|
+
f1: true,
|
|
1066
|
+
precondition: ContextKeyExpr.has('canNavigateBack'),
|
|
1067
|
+
icon: Codicon.arrowLeft,
|
|
1068
|
+
keybinding: {
|
|
1069
|
+
weight: 200 ,
|
|
1070
|
+
win: { primary: 512 | 15 },
|
|
1071
|
+
mac: { primary: 256 | 83 },
|
|
1072
|
+
linux: { primary: 2048 | 512 | 83 }
|
|
1073
|
+
},
|
|
1074
|
+
menu: [
|
|
1075
|
+
{ id: MenuId.MenubarGoMenu, group: '1_history_nav', order: 1 },
|
|
1076
|
+
{ id: MenuId.CommandCenter, order: 1 }
|
|
1077
|
+
]
|
|
1078
|
+
});
|
|
1079
|
+
}
|
|
1080
|
+
async run(accessor) {
|
|
1081
|
+
const historyService = accessor.get(IHistoryService);
|
|
1082
|
+
await historyService.goBack(0 );
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
NavigateBackwardsAction.ID = 'workbench.action.navigateBack';
|
|
1086
|
+
NavigateBackwardsAction.LABEL = ( localize('navigateBack', "Go Back"));
|
|
1087
|
+
class NavigatePreviousAction extends Action2 {
|
|
1088
|
+
constructor() {
|
|
1089
|
+
super({
|
|
1090
|
+
id: 'workbench.action.navigateLast',
|
|
1091
|
+
title: { value: ( localize('navigatePrevious', "Go Previous")), original: 'Go Previous' },
|
|
1092
|
+
f1: true
|
|
1093
|
+
});
|
|
1094
|
+
}
|
|
1095
|
+
async run(accessor) {
|
|
1096
|
+
const historyService = accessor.get(IHistoryService);
|
|
1097
|
+
await historyService.goPrevious(0 );
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
class NavigateForwardInEditsAction extends Action2 {
|
|
1101
|
+
constructor() {
|
|
1102
|
+
super({
|
|
1103
|
+
id: 'workbench.action.navigateForwardInEditLocations',
|
|
1104
|
+
title: { value: ( localize('navigateForwardInEdits', "Go Forward in Edit Locations")), original: 'Go Forward in Edit Locations' },
|
|
1105
|
+
f1: true
|
|
1106
|
+
});
|
|
1107
|
+
}
|
|
1108
|
+
async run(accessor) {
|
|
1109
|
+
const historyService = accessor.get(IHistoryService);
|
|
1110
|
+
await historyService.goForward(1 );
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
class NavigateBackwardsInEditsAction extends Action2 {
|
|
1114
|
+
constructor() {
|
|
1115
|
+
super({
|
|
1116
|
+
id: 'workbench.action.navigateBackInEditLocations',
|
|
1117
|
+
title: { value: ( localize('navigateBackInEdits', "Go Back in Edit Locations")), original: 'Go Back in Edit Locations' },
|
|
1118
|
+
f1: true
|
|
1119
|
+
});
|
|
1120
|
+
}
|
|
1121
|
+
async run(accessor) {
|
|
1122
|
+
const historyService = accessor.get(IHistoryService);
|
|
1123
|
+
await historyService.goBack(1 );
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
class NavigatePreviousInEditsAction extends Action2 {
|
|
1127
|
+
constructor() {
|
|
1128
|
+
super({
|
|
1129
|
+
id: 'workbench.action.navigatePreviousInEditLocations',
|
|
1130
|
+
title: { value: ( localize('navigatePreviousInEdits', "Go Previous in Edit Locations")), original: 'Go Previous in Edit Locations' },
|
|
1131
|
+
f1: true
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
async run(accessor) {
|
|
1135
|
+
const historyService = accessor.get(IHistoryService);
|
|
1136
|
+
await historyService.goPrevious(1 );
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
class NavigateToLastEditLocationAction extends Action2 {
|
|
1140
|
+
constructor() {
|
|
1141
|
+
super({
|
|
1142
|
+
id: 'workbench.action.navigateToLastEditLocation',
|
|
1143
|
+
title: { value: ( localize('navigateToLastEditLocation', "Go to Last Edit Location")), original: 'Go to Last Edit Location' },
|
|
1144
|
+
f1: true,
|
|
1145
|
+
keybinding: {
|
|
1146
|
+
weight: 200 ,
|
|
1147
|
+
primary: KeyChord(2048 | 41 , 2048 | 47 )
|
|
1148
|
+
}
|
|
1149
|
+
});
|
|
1150
|
+
}
|
|
1151
|
+
async run(accessor) {
|
|
1152
|
+
const historyService = accessor.get(IHistoryService);
|
|
1153
|
+
await historyService.goLast(1 );
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
class NavigateForwardInNavigationsAction extends Action2 {
|
|
1157
|
+
constructor() {
|
|
1158
|
+
super({
|
|
1159
|
+
id: 'workbench.action.navigateForwardInNavigationLocations',
|
|
1160
|
+
title: { value: ( localize('navigateForwardInNavigations', "Go Forward in Navigation Locations")), original: 'Go Forward in Navigation Locations' },
|
|
1161
|
+
f1: true
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
async run(accessor) {
|
|
1165
|
+
const historyService = accessor.get(IHistoryService);
|
|
1166
|
+
await historyService.goForward(2 );
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
class NavigateBackwardsInNavigationsAction extends Action2 {
|
|
1170
|
+
constructor() {
|
|
1171
|
+
super({
|
|
1172
|
+
id: 'workbench.action.navigateBackInNavigationLocations',
|
|
1173
|
+
title: { value: ( localize('navigateBackInNavigations', "Go Back in Navigation Locations")), original: 'Go Back in Navigation Locations' },
|
|
1174
|
+
f1: true
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
async run(accessor) {
|
|
1178
|
+
const historyService = accessor.get(IHistoryService);
|
|
1179
|
+
await historyService.goBack(2 );
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
class NavigatePreviousInNavigationsAction extends Action2 {
|
|
1183
|
+
constructor() {
|
|
1184
|
+
super({
|
|
1185
|
+
id: 'workbench.action.navigatePreviousInNavigationLocations',
|
|
1186
|
+
title: { value: ( localize(
|
|
1187
|
+
'navigatePreviousInNavigationLocations',
|
|
1188
|
+
"Go Previous in Navigation Locations"
|
|
1189
|
+
)), original: 'Go Previous in Navigation Locations' },
|
|
1190
|
+
f1: true
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
async run(accessor) {
|
|
1194
|
+
const historyService = accessor.get(IHistoryService);
|
|
1195
|
+
await historyService.goPrevious(2 );
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
class NavigateToLastNavigationLocationAction extends Action2 {
|
|
1199
|
+
constructor() {
|
|
1200
|
+
super({
|
|
1201
|
+
id: 'workbench.action.navigateToLastNavigationLocation',
|
|
1202
|
+
title: { value: ( localize('navigateToLastNavigationLocation', "Go to Last Navigation Location")), original: 'Go to Last Navigation Location' },
|
|
1203
|
+
f1: true
|
|
1204
|
+
});
|
|
1205
|
+
}
|
|
1206
|
+
async run(accessor) {
|
|
1207
|
+
const historyService = accessor.get(IHistoryService);
|
|
1208
|
+
await historyService.goLast(2 );
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
class ReopenClosedEditorAction extends Action2 {
|
|
1212
|
+
constructor() {
|
|
1213
|
+
super({
|
|
1214
|
+
id: ReopenClosedEditorAction.ID,
|
|
1215
|
+
title: { value: ( localize('reopenClosedEditor', "Reopen Closed Editor")), original: 'Reopen Closed Editor' },
|
|
1216
|
+
f1: true,
|
|
1217
|
+
keybinding: {
|
|
1218
|
+
weight: 200 ,
|
|
1219
|
+
primary: 2048 | 1024 | 50
|
|
1220
|
+
},
|
|
1221
|
+
category: Categories.View
|
|
1222
|
+
});
|
|
1223
|
+
}
|
|
1224
|
+
async run(accessor) {
|
|
1225
|
+
const historyService = accessor.get(IHistoryService);
|
|
1226
|
+
await historyService.reopenLastClosedEditor();
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
ReopenClosedEditorAction.ID = 'workbench.action.reopenClosedEditor';
|
|
1230
|
+
class ClearRecentFilesAction extends Action2 {
|
|
1231
|
+
constructor() {
|
|
1232
|
+
super({
|
|
1233
|
+
id: ClearRecentFilesAction.ID,
|
|
1234
|
+
title: { value: ( localize('clearRecentFiles', "Clear Recently Opened")), original: 'Clear Recently Opened' },
|
|
1235
|
+
f1: true,
|
|
1236
|
+
category: Categories.File
|
|
1237
|
+
});
|
|
1238
|
+
}
|
|
1239
|
+
async run(accessor) {
|
|
1240
|
+
const dialogService = accessor.get(IDialogService);
|
|
1241
|
+
const workspacesService = accessor.get(IWorkspacesService);
|
|
1242
|
+
const historyService = accessor.get(IHistoryService);
|
|
1243
|
+
const { confirmed } = await dialogService.confirm({
|
|
1244
|
+
type: 'warning',
|
|
1245
|
+
message: ( localize(
|
|
1246
|
+
'confirmClearRecentsMessage',
|
|
1247
|
+
"Do you want to clear all recently opened files and workspaces?"
|
|
1248
|
+
)),
|
|
1249
|
+
detail: ( localize('confirmClearDetail', "This action is irreversible!")),
|
|
1250
|
+
primaryButton: ( localize({ key: 'clearButtonLabel', comment: ['&& denotes a mnemonic'] }, "&&Clear"))
|
|
1251
|
+
});
|
|
1252
|
+
if (!confirmed) {
|
|
1253
|
+
return;
|
|
1254
|
+
}
|
|
1255
|
+
workspacesService.clearRecentlyOpened();
|
|
1256
|
+
historyService.clearRecentlyOpened();
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
ClearRecentFilesAction.ID = 'workbench.action.clearRecentFiles';
|
|
1260
|
+
class ShowEditorsInActiveGroupByMostRecentlyUsedAction extends Action2 {
|
|
1261
|
+
constructor() {
|
|
1262
|
+
super({
|
|
1263
|
+
id: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID,
|
|
1264
|
+
title: { value: ( localize(
|
|
1265
|
+
'showEditorsInActiveGroup',
|
|
1266
|
+
"Show Editors in Active Group By Most Recently Used"
|
|
1267
|
+
)), original: 'Show Editors in Active Group By Most Recently Used' },
|
|
1268
|
+
f1: true,
|
|
1269
|
+
category: Categories.View
|
|
1270
|
+
});
|
|
1271
|
+
}
|
|
1272
|
+
async run(accessor) {
|
|
1273
|
+
const quickInputService = accessor.get(IQuickInputService);
|
|
1274
|
+
quickInputService.quickAccess.show(ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX);
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID = 'workbench.action.showEditorsInActiveGroup';
|
|
1278
|
+
class ShowAllEditorsByAppearanceAction extends Action2 {
|
|
1279
|
+
constructor() {
|
|
1280
|
+
super({
|
|
1281
|
+
id: ShowAllEditorsByAppearanceAction.ID,
|
|
1282
|
+
title: { value: ( localize('showAllEditors', "Show All Editors By Appearance")), original: 'Show All Editors By Appearance' },
|
|
1283
|
+
f1: true,
|
|
1284
|
+
keybinding: {
|
|
1285
|
+
weight: 200 ,
|
|
1286
|
+
primary: KeyChord(2048 | 41 , 2048 | 46 ),
|
|
1287
|
+
mac: {
|
|
1288
|
+
primary: 2048 | 512 | 2
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
category: Categories.File
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
async run(accessor) {
|
|
1295
|
+
const quickInputService = accessor.get(IQuickInputService);
|
|
1296
|
+
quickInputService.quickAccess.show(AllEditorsByAppearanceQuickAccess.PREFIX);
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
ShowAllEditorsByAppearanceAction.ID = 'workbench.action.showAllEditors';
|
|
1300
|
+
class ShowAllEditorsByMostRecentlyUsedAction extends Action2 {
|
|
1301
|
+
constructor() {
|
|
1302
|
+
super({
|
|
1303
|
+
id: ShowAllEditorsByMostRecentlyUsedAction.ID,
|
|
1304
|
+
title: { value: ( localize(
|
|
1305
|
+
'showAllEditorsByMostRecentlyUsed',
|
|
1306
|
+
"Show All Editors By Most Recently Used"
|
|
1307
|
+
)), original: 'Show All Editors By Most Recently Used' },
|
|
1308
|
+
f1: true,
|
|
1309
|
+
category: Categories.View
|
|
1310
|
+
});
|
|
1311
|
+
}
|
|
1312
|
+
async run(accessor) {
|
|
1313
|
+
const quickInputService = accessor.get(IQuickInputService);
|
|
1314
|
+
quickInputService.quickAccess.show(AllEditorsByMostRecentlyUsedQuickAccess.PREFIX);
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
ShowAllEditorsByMostRecentlyUsedAction.ID = 'workbench.action.showAllEditorsByMostRecentlyUsed';
|
|
1318
|
+
class AbstractQuickAccessEditorAction extends Action2 {
|
|
1319
|
+
constructor(desc, prefix, itemActivation) {
|
|
1320
|
+
super(desc);
|
|
1321
|
+
this.prefix = prefix;
|
|
1322
|
+
this.itemActivation = itemActivation;
|
|
1323
|
+
}
|
|
1324
|
+
async run(accessor) {
|
|
1325
|
+
const keybindingService = accessor.get(IKeybindingService);
|
|
1326
|
+
const quickInputService = accessor.get(IQuickInputService);
|
|
1327
|
+
const keybindings = keybindingService.lookupKeybindings(this.desc.id);
|
|
1328
|
+
quickInputService.quickAccess.show(this.prefix, {
|
|
1329
|
+
quickNavigateConfiguration: { keybindings },
|
|
1330
|
+
itemActivation: this.itemActivation
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
class QuickAccessPreviousRecentlyUsedEditorAction extends AbstractQuickAccessEditorAction {
|
|
1335
|
+
constructor() {
|
|
1336
|
+
super({
|
|
1337
|
+
id: 'workbench.action.quickOpenPreviousRecentlyUsedEditor',
|
|
1338
|
+
title: { value: ( localize(
|
|
1339
|
+
'quickOpenPreviousRecentlyUsedEditor',
|
|
1340
|
+
"Quick Open Previous Recently Used Editor"
|
|
1341
|
+
)), original: 'Quick Open Previous Recently Used Editor' },
|
|
1342
|
+
f1: true,
|
|
1343
|
+
category: Categories.View
|
|
1344
|
+
}, AllEditorsByMostRecentlyUsedQuickAccess.PREFIX, undefined);
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
class QuickAccessLeastRecentlyUsedEditorAction extends AbstractQuickAccessEditorAction {
|
|
1348
|
+
constructor() {
|
|
1349
|
+
super({
|
|
1350
|
+
id: 'workbench.action.quickOpenLeastRecentlyUsedEditor',
|
|
1351
|
+
title: { value: ( localize(
|
|
1352
|
+
'quickOpenLeastRecentlyUsedEditor',
|
|
1353
|
+
"Quick Open Least Recently Used Editor"
|
|
1354
|
+
)), original: 'Quick Open Least Recently Used Editor' },
|
|
1355
|
+
f1: true,
|
|
1356
|
+
category: Categories.View
|
|
1357
|
+
}, AllEditorsByMostRecentlyUsedQuickAccess.PREFIX, undefined);
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
class QuickAccessPreviousRecentlyUsedEditorInGroupAction extends AbstractQuickAccessEditorAction {
|
|
1361
|
+
constructor() {
|
|
1362
|
+
super({
|
|
1363
|
+
id: 'workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup',
|
|
1364
|
+
title: { value: ( localize(
|
|
1365
|
+
'quickOpenPreviousRecentlyUsedEditorInGroup',
|
|
1366
|
+
"Quick Open Previous Recently Used Editor in Group"
|
|
1367
|
+
)), original: 'Quick Open Previous Recently Used Editor in Group' },
|
|
1368
|
+
f1: true,
|
|
1369
|
+
keybinding: {
|
|
1370
|
+
weight: 200 ,
|
|
1371
|
+
primary: 2048 | 2 ,
|
|
1372
|
+
mac: {
|
|
1373
|
+
primary: 256 | 2
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
precondition: ( ActiveEditorGroupEmptyContext.toNegated()),
|
|
1377
|
+
category: Categories.View
|
|
1378
|
+
}, ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX, undefined);
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
class QuickAccessLeastRecentlyUsedEditorInGroupAction extends AbstractQuickAccessEditorAction {
|
|
1382
|
+
constructor() {
|
|
1383
|
+
super({
|
|
1384
|
+
id: 'workbench.action.quickOpenLeastRecentlyUsedEditorInGroup',
|
|
1385
|
+
title: { value: ( localize(
|
|
1386
|
+
'quickOpenLeastRecentlyUsedEditorInGroup',
|
|
1387
|
+
"Quick Open Least Recently Used Editor in Group"
|
|
1388
|
+
)), original: 'Quick Open Least Recently Used Editor in Group' },
|
|
1389
|
+
f1: true,
|
|
1390
|
+
keybinding: {
|
|
1391
|
+
weight: 200 ,
|
|
1392
|
+
primary: 2048 | 1024 | 2 ,
|
|
1393
|
+
mac: {
|
|
1394
|
+
primary: 256 | 1024 | 2
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
precondition: ( ActiveEditorGroupEmptyContext.toNegated()),
|
|
1398
|
+
category: Categories.View
|
|
1399
|
+
}, ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX, ItemActivation.LAST);
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
class QuickAccessPreviousEditorFromHistoryAction extends Action2 {
|
|
1403
|
+
constructor() {
|
|
1404
|
+
super({
|
|
1405
|
+
id: QuickAccessPreviousEditorFromHistoryAction.ID,
|
|
1406
|
+
title: { value: ( localize('navigateEditorHistoryByInput', "Quick Open Previous Editor from History")), original: 'Quick Open Previous Editor from History' },
|
|
1407
|
+
f1: true
|
|
1408
|
+
});
|
|
1409
|
+
}
|
|
1410
|
+
async run(accessor) {
|
|
1411
|
+
const keybindingService = accessor.get(IKeybindingService);
|
|
1412
|
+
const quickInputService = accessor.get(IQuickInputService);
|
|
1413
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
1414
|
+
const keybindings = keybindingService.lookupKeybindings(QuickAccessPreviousEditorFromHistoryAction.ID);
|
|
1415
|
+
let itemActivation = undefined;
|
|
1416
|
+
if (editorGroupService.activeGroup.count === 0) {
|
|
1417
|
+
itemActivation = ItemActivation.FIRST;
|
|
1418
|
+
}
|
|
1419
|
+
quickInputService.quickAccess.show('', { quickNavigateConfiguration: { keybindings }, itemActivation });
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
QuickAccessPreviousEditorFromHistoryAction.ID = 'workbench.action.openPreviousEditorFromHistory';
|
|
1423
|
+
class OpenNextRecentlyUsedEditorAction extends Action2 {
|
|
1424
|
+
constructor() {
|
|
1425
|
+
super({
|
|
1426
|
+
id: 'workbench.action.openNextRecentlyUsedEditor',
|
|
1427
|
+
title: { value: ( localize('openNextRecentlyUsedEditor', "Open Next Recently Used Editor")), original: 'Open Next Recently Used Editor' },
|
|
1428
|
+
f1: true,
|
|
1429
|
+
category: Categories.View
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
async run(accessor) {
|
|
1433
|
+
const historyService = accessor.get(IHistoryService);
|
|
1434
|
+
historyService.openNextRecentlyUsedEditor();
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
class OpenPreviousRecentlyUsedEditorAction extends Action2 {
|
|
1438
|
+
constructor() {
|
|
1439
|
+
super({
|
|
1440
|
+
id: 'workbench.action.openPreviousRecentlyUsedEditor',
|
|
1441
|
+
title: { value: ( localize('openPreviousRecentlyUsedEditor', "Open Previous Recently Used Editor")), original: 'Open Previous Recently Used Editor' },
|
|
1442
|
+
f1: true,
|
|
1443
|
+
category: Categories.View
|
|
1444
|
+
});
|
|
1445
|
+
}
|
|
1446
|
+
async run(accessor) {
|
|
1447
|
+
const historyService = accessor.get(IHistoryService);
|
|
1448
|
+
historyService.openPreviouslyUsedEditor();
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
class OpenNextRecentlyUsedEditorInGroupAction extends Action2 {
|
|
1452
|
+
constructor() {
|
|
1453
|
+
super({
|
|
1454
|
+
id: 'workbench.action.openNextRecentlyUsedEditorInGroup',
|
|
1455
|
+
title: { value: ( localize(
|
|
1456
|
+
'openNextRecentlyUsedEditorInGroup',
|
|
1457
|
+
"Open Next Recently Used Editor In Group"
|
|
1458
|
+
)), original: 'Open Next Recently Used Editor In Group' },
|
|
1459
|
+
f1: true,
|
|
1460
|
+
category: Categories.View
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
async run(accessor) {
|
|
1464
|
+
const historyService = accessor.get(IHistoryService);
|
|
1465
|
+
const editorGroupsService = accessor.get(IEditorGroupsService);
|
|
1466
|
+
historyService.openNextRecentlyUsedEditor(editorGroupsService.activeGroup.id);
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
class OpenPreviousRecentlyUsedEditorInGroupAction extends Action2 {
|
|
1470
|
+
constructor() {
|
|
1471
|
+
super({
|
|
1472
|
+
id: 'workbench.action.openPreviousRecentlyUsedEditorInGroup',
|
|
1473
|
+
title: { value: ( localize(
|
|
1474
|
+
'openPreviousRecentlyUsedEditorInGroup',
|
|
1475
|
+
"Open Previous Recently Used Editor In Group"
|
|
1476
|
+
)), original: 'Open Previous Recently Used Editor In Group' },
|
|
1477
|
+
f1: true,
|
|
1478
|
+
category: Categories.View
|
|
1479
|
+
});
|
|
1480
|
+
}
|
|
1481
|
+
async run(accessor) {
|
|
1482
|
+
const historyService = accessor.get(IHistoryService);
|
|
1483
|
+
const editorGroupsService = accessor.get(IEditorGroupsService);
|
|
1484
|
+
historyService.openPreviouslyUsedEditor(editorGroupsService.activeGroup.id);
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
class ClearEditorHistoryAction extends Action2 {
|
|
1488
|
+
constructor() {
|
|
1489
|
+
super({
|
|
1490
|
+
id: 'workbench.action.clearEditorHistory',
|
|
1491
|
+
title: { value: ( localize('clearEditorHistory', "Clear Editor History")), original: 'Clear Editor History' },
|
|
1492
|
+
f1: true
|
|
1493
|
+
});
|
|
1494
|
+
}
|
|
1495
|
+
async run(accessor) {
|
|
1496
|
+
const dialogService = accessor.get(IDialogService);
|
|
1497
|
+
const historyService = accessor.get(IHistoryService);
|
|
1498
|
+
const { confirmed } = await dialogService.confirm({
|
|
1499
|
+
type: 'warning',
|
|
1500
|
+
message: ( localize(
|
|
1501
|
+
'confirmClearEditorHistoryMessage',
|
|
1502
|
+
"Do you want to clear the history of recently opened editors?"
|
|
1503
|
+
)),
|
|
1504
|
+
detail: ( localize('confirmClearDetail', "This action is irreversible!")),
|
|
1505
|
+
primaryButton: ( localize({ key: 'clearButtonLabel', comment: ['&& denotes a mnemonic'] }, "&&Clear"))
|
|
1506
|
+
});
|
|
1507
|
+
if (!confirmed) {
|
|
1508
|
+
return;
|
|
1509
|
+
}
|
|
1510
|
+
historyService.clear();
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
class MoveEditorLeftInGroupAction extends ExecuteCommandAction {
|
|
1514
|
+
constructor() {
|
|
1515
|
+
super({
|
|
1516
|
+
id: 'workbench.action.moveEditorLeftInGroup',
|
|
1517
|
+
title: { value: ( localize('moveEditorLeft', "Move Editor Left")), original: 'Move Editor Left' },
|
|
1518
|
+
keybinding: {
|
|
1519
|
+
weight: 200 ,
|
|
1520
|
+
primary: 2048 | 1024 | 11 ,
|
|
1521
|
+
mac: {
|
|
1522
|
+
primary: KeyChord(2048 | 41 , 2048 | 1024 | 15 )
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
f1: true,
|
|
1526
|
+
category: Categories.View
|
|
1527
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'left' });
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
class MoveEditorRightInGroupAction extends ExecuteCommandAction {
|
|
1531
|
+
constructor() {
|
|
1532
|
+
super({
|
|
1533
|
+
id: 'workbench.action.moveEditorRightInGroup',
|
|
1534
|
+
title: { value: ( localize('moveEditorRight', "Move Editor Right")), original: 'Move Editor Right' },
|
|
1535
|
+
keybinding: {
|
|
1536
|
+
weight: 200 ,
|
|
1537
|
+
primary: 2048 | 1024 | 12 ,
|
|
1538
|
+
mac: {
|
|
1539
|
+
primary: KeyChord(2048 | 41 , 2048 | 1024 | 17 )
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
f1: true,
|
|
1543
|
+
category: Categories.View
|
|
1544
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'right' });
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
class MoveEditorToPreviousGroupAction extends ExecuteCommandAction {
|
|
1548
|
+
constructor() {
|
|
1549
|
+
super({
|
|
1550
|
+
id: 'workbench.action.moveEditorToPreviousGroup',
|
|
1551
|
+
title: { value: ( localize('moveEditorToPreviousGroup', "Move Editor into Previous Group")), original: 'Move Editor into Previous Group' },
|
|
1552
|
+
keybinding: {
|
|
1553
|
+
weight: 200 ,
|
|
1554
|
+
primary: 2048 | 512 | 15 ,
|
|
1555
|
+
mac: {
|
|
1556
|
+
primary: 2048 | 256 | 15
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
f1: true,
|
|
1560
|
+
category: Categories.View,
|
|
1561
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'previous', by: 'group' });
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
class MoveEditorToNextGroupAction extends ExecuteCommandAction {
|
|
1565
|
+
constructor() {
|
|
1566
|
+
super({
|
|
1567
|
+
id: 'workbench.action.moveEditorToNextGroup',
|
|
1568
|
+
title: { value: ( localize('moveEditorToNextGroup', "Move Editor into Next Group")), original: 'Move Editor into Next Group' },
|
|
1569
|
+
f1: true,
|
|
1570
|
+
keybinding: {
|
|
1571
|
+
weight: 200 ,
|
|
1572
|
+
primary: 2048 | 512 | 17 ,
|
|
1573
|
+
mac: {
|
|
1574
|
+
primary: 2048 | 256 | 17
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
category: Categories.View
|
|
1578
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'next', by: 'group' });
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
class MoveEditorToAboveGroupAction extends ExecuteCommandAction {
|
|
1582
|
+
constructor() {
|
|
1583
|
+
super({
|
|
1584
|
+
id: 'workbench.action.moveEditorToAboveGroup',
|
|
1585
|
+
title: { value: ( localize('moveEditorToAboveGroup', "Move Editor into Group Above")), original: 'Move Editor into Group Above' },
|
|
1586
|
+
f1: true,
|
|
1587
|
+
category: Categories.View
|
|
1588
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'up', by: 'group' });
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
class MoveEditorToBelowGroupAction extends ExecuteCommandAction {
|
|
1592
|
+
constructor() {
|
|
1593
|
+
super({
|
|
1594
|
+
id: 'workbench.action.moveEditorToBelowGroup',
|
|
1595
|
+
title: { value: ( localize('moveEditorToBelowGroup', "Move Editor into Group Below")), original: 'Move Editor into Group Below' },
|
|
1596
|
+
f1: true,
|
|
1597
|
+
category: Categories.View
|
|
1598
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'down', by: 'group' });
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
class MoveEditorToLeftGroupAction extends ExecuteCommandAction {
|
|
1602
|
+
constructor() {
|
|
1603
|
+
super({
|
|
1604
|
+
id: 'workbench.action.moveEditorToLeftGroup',
|
|
1605
|
+
title: { value: ( localize('moveEditorToLeftGroup', "Move Editor into Left Group")), original: 'Move Editor into Left Group' },
|
|
1606
|
+
f1: true,
|
|
1607
|
+
category: Categories.View
|
|
1608
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'left', by: 'group' });
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
class MoveEditorToRightGroupAction extends ExecuteCommandAction {
|
|
1612
|
+
constructor() {
|
|
1613
|
+
super({
|
|
1614
|
+
id: 'workbench.action.moveEditorToRightGroup',
|
|
1615
|
+
title: { value: ( localize('moveEditorToRightGroup', "Move Editor into Right Group")), original: 'Move Editor into Right Group' },
|
|
1616
|
+
f1: true,
|
|
1617
|
+
category: Categories.View
|
|
1618
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'right', by: 'group' });
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
class MoveEditorToFirstGroupAction extends ExecuteCommandAction {
|
|
1622
|
+
constructor() {
|
|
1623
|
+
super({
|
|
1624
|
+
id: 'workbench.action.moveEditorToFirstGroup',
|
|
1625
|
+
title: { value: ( localize('moveEditorToFirstGroup', "Move Editor into First Group")), original: 'Move Editor into First Group' },
|
|
1626
|
+
f1: true,
|
|
1627
|
+
keybinding: {
|
|
1628
|
+
weight: 200 ,
|
|
1629
|
+
primary: 1024 | 512 | 22 ,
|
|
1630
|
+
mac: {
|
|
1631
|
+
primary: 2048 | 256 | 22
|
|
1632
|
+
}
|
|
1633
|
+
},
|
|
1634
|
+
category: Categories.View
|
|
1635
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'first', by: 'group' });
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
class MoveEditorToLastGroupAction extends ExecuteCommandAction {
|
|
1639
|
+
constructor() {
|
|
1640
|
+
super({
|
|
1641
|
+
id: 'workbench.action.moveEditorToLastGroup',
|
|
1642
|
+
title: { value: ( localize('moveEditorToLastGroup', "Move Editor into Last Group")), original: 'Move Editor into Last Group' },
|
|
1643
|
+
f1: true,
|
|
1644
|
+
keybinding: {
|
|
1645
|
+
weight: 200 ,
|
|
1646
|
+
primary: 1024 | 512 | 30 ,
|
|
1647
|
+
mac: {
|
|
1648
|
+
primary: 2048 | 256 | 30
|
|
1649
|
+
}
|
|
1650
|
+
},
|
|
1651
|
+
category: Categories.View
|
|
1652
|
+
}, MOVE_ACTIVE_EDITOR_COMMAND_ID, { to: 'last', by: 'group' });
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
class SplitEditorToPreviousGroupAction extends ExecuteCommandAction {
|
|
1656
|
+
constructor() {
|
|
1657
|
+
super({
|
|
1658
|
+
id: 'workbench.action.splitEditorToPreviousGroup',
|
|
1659
|
+
title: { value: ( localize('splitEditorToPreviousGroup', "Split Editor into Previous Group")), original: 'Split Editor into Previous Group' },
|
|
1660
|
+
f1: true,
|
|
1661
|
+
category: Categories.View
|
|
1662
|
+
}, COPY_ACTIVE_EDITOR_COMMAND_ID, { to: 'previous', by: 'group' });
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
class SplitEditorToNextGroupAction extends ExecuteCommandAction {
|
|
1666
|
+
constructor() {
|
|
1667
|
+
super({
|
|
1668
|
+
id: 'workbench.action.splitEditorToNextGroup',
|
|
1669
|
+
title: { value: ( localize('splitEditorToNextGroup', "Split Editor into Next Group")), original: 'Split Editor into Next Group' },
|
|
1670
|
+
f1: true,
|
|
1671
|
+
category: Categories.View
|
|
1672
|
+
}, COPY_ACTIVE_EDITOR_COMMAND_ID, { to: 'next', by: 'group' });
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
class SplitEditorToAboveGroupAction extends ExecuteCommandAction {
|
|
1676
|
+
constructor() {
|
|
1677
|
+
super({
|
|
1678
|
+
id: 'workbench.action.splitEditorToAboveGroup',
|
|
1679
|
+
title: { value: ( localize('splitEditorToAboveGroup', "Split Editor into Group Above")), original: 'Split Editor into Group Above' },
|
|
1680
|
+
f1: true,
|
|
1681
|
+
category: Categories.View
|
|
1682
|
+
}, COPY_ACTIVE_EDITOR_COMMAND_ID, { to: 'up', by: 'group' });
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
class SplitEditorToBelowGroupAction extends ExecuteCommandAction {
|
|
1686
|
+
constructor() {
|
|
1687
|
+
super({
|
|
1688
|
+
id: 'workbench.action.splitEditorToBelowGroup',
|
|
1689
|
+
title: { value: ( localize('splitEditorToBelowGroup', "Split Editor into Group Below")), original: 'Split Editor into Group Below' },
|
|
1690
|
+
f1: true,
|
|
1691
|
+
category: Categories.View
|
|
1692
|
+
}, COPY_ACTIVE_EDITOR_COMMAND_ID, { to: 'down', by: 'group' });
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
class SplitEditorToLeftGroupAction extends ExecuteCommandAction {
|
|
1696
|
+
constructor() {
|
|
1697
|
+
super({
|
|
1698
|
+
id: 'workbench.action.splitEditorToLeftGroup',
|
|
1699
|
+
title: { value: ( localize('splitEditorToLeftGroup', "Split Editor into Left Group")), original: 'Split Editor into Left Group' },
|
|
1700
|
+
f1: true,
|
|
1701
|
+
category: Categories.View
|
|
1702
|
+
}, COPY_ACTIVE_EDITOR_COMMAND_ID, { to: 'left', by: 'group' });
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
SplitEditorToLeftGroupAction.ID = 'workbench.action.splitEditorToLeftGroup';
|
|
1706
|
+
SplitEditorToLeftGroupAction.LABEL = ( localize('splitEditorToLeftGroup', "Split Editor into Left Group"));
|
|
1707
|
+
class SplitEditorToRightGroupAction extends ExecuteCommandAction {
|
|
1708
|
+
constructor() {
|
|
1709
|
+
super({
|
|
1710
|
+
id: 'workbench.action.splitEditorToRightGroup',
|
|
1711
|
+
title: { value: ( localize('splitEditorToRightGroup', "Split Editor into Right Group")), original: 'Split Editor into Right Group' },
|
|
1712
|
+
f1: true,
|
|
1713
|
+
category: Categories.View
|
|
1714
|
+
}, COPY_ACTIVE_EDITOR_COMMAND_ID, { to: 'right', by: 'group' });
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
class SplitEditorToFirstGroupAction extends ExecuteCommandAction {
|
|
1718
|
+
constructor() {
|
|
1719
|
+
super({
|
|
1720
|
+
id: 'workbench.action.splitEditorToFirstGroup',
|
|
1721
|
+
title: { value: ( localize('splitEditorToFirstGroup', "Split Editor into First Group")), original: 'Split Editor into First Group' },
|
|
1722
|
+
f1: true,
|
|
1723
|
+
category: Categories.View
|
|
1724
|
+
}, COPY_ACTIVE_EDITOR_COMMAND_ID, { to: 'first', by: 'group' });
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
class SplitEditorToLastGroupAction extends ExecuteCommandAction {
|
|
1728
|
+
constructor() {
|
|
1729
|
+
super({
|
|
1730
|
+
id: 'workbench.action.splitEditorToLastGroup',
|
|
1731
|
+
title: { value: ( localize('splitEditorToLastGroup', "Split Editor into Last Group")), original: 'Split Editor into Last Group' },
|
|
1732
|
+
f1: true,
|
|
1733
|
+
category: Categories.View
|
|
1734
|
+
}, COPY_ACTIVE_EDITOR_COMMAND_ID, { to: 'last', by: 'group' });
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
class EditorLayoutSingleAction extends ExecuteCommandAction {
|
|
1738
|
+
constructor() {
|
|
1739
|
+
super({
|
|
1740
|
+
id: EditorLayoutSingleAction.ID,
|
|
1741
|
+
title: { value: ( localize('editorLayoutSingle', "Single Column Editor Layout")), original: 'Single Column Editor Layout' },
|
|
1742
|
+
f1: true,
|
|
1743
|
+
category: Categories.View
|
|
1744
|
+
}, LAYOUT_EDITOR_GROUPS_COMMAND_ID, { groups: [{}] });
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
EditorLayoutSingleAction.ID = 'workbench.action.editorLayoutSingle';
|
|
1748
|
+
class EditorLayoutTwoColumnsAction extends ExecuteCommandAction {
|
|
1749
|
+
constructor() {
|
|
1750
|
+
super({
|
|
1751
|
+
id: EditorLayoutTwoColumnsAction.ID,
|
|
1752
|
+
title: { value: ( localize('editorLayoutTwoColumns', "Two Columns Editor Layout")), original: 'Two Columns Editor Layout' },
|
|
1753
|
+
f1: true,
|
|
1754
|
+
category: Categories.View
|
|
1755
|
+
}, LAYOUT_EDITOR_GROUPS_COMMAND_ID, { groups: [{}, {}], orientation: 0 });
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
EditorLayoutTwoColumnsAction.ID = 'workbench.action.editorLayoutTwoColumns';
|
|
1759
|
+
class EditorLayoutThreeColumnsAction extends ExecuteCommandAction {
|
|
1760
|
+
constructor() {
|
|
1761
|
+
super({
|
|
1762
|
+
id: EditorLayoutThreeColumnsAction.ID,
|
|
1763
|
+
title: { value: ( localize('editorLayoutThreeColumns', "Three Columns Editor Layout")), original: 'Three Columns Editor Layout' },
|
|
1764
|
+
f1: true,
|
|
1765
|
+
category: Categories.View
|
|
1766
|
+
}, LAYOUT_EDITOR_GROUPS_COMMAND_ID, { groups: [{}, {}, {}], orientation: 0 });
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
EditorLayoutThreeColumnsAction.ID = 'workbench.action.editorLayoutThreeColumns';
|
|
1770
|
+
class EditorLayoutTwoRowsAction extends ExecuteCommandAction {
|
|
1771
|
+
constructor() {
|
|
1772
|
+
super({
|
|
1773
|
+
id: EditorLayoutTwoRowsAction.ID,
|
|
1774
|
+
title: { value: ( localize('editorLayoutTwoRows', "Two Rows Editor Layout")), original: 'Two Rows Editor Layout' },
|
|
1775
|
+
f1: true,
|
|
1776
|
+
category: Categories.View
|
|
1777
|
+
}, LAYOUT_EDITOR_GROUPS_COMMAND_ID, { groups: [{}, {}], orientation: 1 });
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
EditorLayoutTwoRowsAction.ID = 'workbench.action.editorLayoutTwoRows';
|
|
1781
|
+
class EditorLayoutThreeRowsAction extends ExecuteCommandAction {
|
|
1782
|
+
constructor() {
|
|
1783
|
+
super({
|
|
1784
|
+
id: EditorLayoutThreeRowsAction.ID,
|
|
1785
|
+
title: { value: ( localize('editorLayoutThreeRows', "Three Rows Editor Layout")), original: 'Three Rows Editor Layout' },
|
|
1786
|
+
f1: true,
|
|
1787
|
+
category: Categories.View
|
|
1788
|
+
}, LAYOUT_EDITOR_GROUPS_COMMAND_ID, { groups: [{}, {}, {}], orientation: 1 });
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
EditorLayoutThreeRowsAction.ID = 'workbench.action.editorLayoutThreeRows';
|
|
1792
|
+
class EditorLayoutTwoByTwoGridAction extends ExecuteCommandAction {
|
|
1793
|
+
constructor() {
|
|
1794
|
+
super({
|
|
1795
|
+
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
1796
|
+
title: { value: ( localize('editorLayoutTwoByTwoGrid', "Grid Editor Layout (2x2)")), original: 'Grid Editor Layout (2x2)' },
|
|
1797
|
+
f1: true,
|
|
1798
|
+
category: Categories.View
|
|
1799
|
+
}, LAYOUT_EDITOR_GROUPS_COMMAND_ID, { groups: [{ groups: [{}, {}] }, { groups: [{}, {}] }] });
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
EditorLayoutTwoByTwoGridAction.ID = 'workbench.action.editorLayoutTwoByTwoGrid';
|
|
1803
|
+
class EditorLayoutTwoColumnsBottomAction extends ExecuteCommandAction {
|
|
1804
|
+
constructor() {
|
|
1805
|
+
super({
|
|
1806
|
+
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
1807
|
+
title: { value: ( localize('editorLayoutTwoColumnsBottom', "Two Columns Bottom Editor Layout")), original: 'Two Columns Bottom Editor Layout' },
|
|
1808
|
+
f1: true,
|
|
1809
|
+
category: Categories.View
|
|
1810
|
+
}, LAYOUT_EDITOR_GROUPS_COMMAND_ID, { groups: [{}, { groups: [{}, {}] }], orientation: 1 });
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
EditorLayoutTwoColumnsBottomAction.ID = 'workbench.action.editorLayoutTwoColumnsBottom';
|
|
1814
|
+
class EditorLayoutTwoRowsRightAction extends ExecuteCommandAction {
|
|
1815
|
+
constructor() {
|
|
1816
|
+
super({
|
|
1817
|
+
id: EditorLayoutTwoRowsRightAction.ID,
|
|
1818
|
+
title: { value: ( localize('editorLayoutTwoRowsRight', "Two Rows Right Editor Layout")), original: 'Two Rows Right Editor Layout' },
|
|
1819
|
+
f1: true,
|
|
1820
|
+
category: Categories.View
|
|
1821
|
+
}, LAYOUT_EDITOR_GROUPS_COMMAND_ID, { groups: [{}, { groups: [{}, {}] }], orientation: 0 });
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
EditorLayoutTwoRowsRightAction.ID = 'workbench.action.editorLayoutTwoRowsRight';
|
|
1825
|
+
class AbstractCreateEditorGroupAction extends Action2 {
|
|
1826
|
+
constructor(desc, direction) {
|
|
1827
|
+
super(desc);
|
|
1828
|
+
this.direction = direction;
|
|
1829
|
+
}
|
|
1830
|
+
async run(accessor) {
|
|
1831
|
+
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
1832
|
+
editorGroupService.addGroup(editorGroupService.activeGroup, this.direction, { activate: true });
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
class NewEditorGroupLeftAction extends AbstractCreateEditorGroupAction {
|
|
1836
|
+
constructor() {
|
|
1837
|
+
super({
|
|
1838
|
+
id: 'workbench.action.newGroupLeft',
|
|
1839
|
+
title: { value: ( localize('newGroupLeft', "New Editor Group to the Left")), original: 'New Editor Group to the Left' },
|
|
1840
|
+
f1: true,
|
|
1841
|
+
category: Categories.View
|
|
1842
|
+
}, 2 );
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
class NewEditorGroupRightAction extends AbstractCreateEditorGroupAction {
|
|
1846
|
+
constructor() {
|
|
1847
|
+
super({
|
|
1848
|
+
id: 'workbench.action.newGroupRight',
|
|
1849
|
+
title: { value: ( localize('newGroupRight', "New Editor Group to the Right")), original: 'New Editor Group to the Right' },
|
|
1850
|
+
f1: true,
|
|
1851
|
+
category: Categories.View
|
|
1852
|
+
}, 3 );
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
class NewEditorGroupAboveAction extends AbstractCreateEditorGroupAction {
|
|
1856
|
+
constructor() {
|
|
1857
|
+
super({
|
|
1858
|
+
id: 'workbench.action.newGroupAbove',
|
|
1859
|
+
title: { value: ( localize('newGroupAbove', "New Editor Group Above")), original: 'New Editor Group Above' },
|
|
1860
|
+
f1: true,
|
|
1861
|
+
category: Categories.View
|
|
1862
|
+
}, 0 );
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
class NewEditorGroupBelowAction extends AbstractCreateEditorGroupAction {
|
|
1866
|
+
constructor() {
|
|
1867
|
+
super({
|
|
1868
|
+
id: 'workbench.action.newGroupBelow',
|
|
1869
|
+
title: { value: ( localize('newGroupBelow', "New Editor Group Below")), original: 'New Editor Group Below' },
|
|
1870
|
+
f1: true,
|
|
1871
|
+
category: Categories.View
|
|
1872
|
+
}, 1 );
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
class ToggleEditorTypeAction extends Action2 {
|
|
1876
|
+
constructor() {
|
|
1877
|
+
super({
|
|
1878
|
+
id: 'workbench.action.toggleEditorType',
|
|
1879
|
+
title: { value: ( localize('toggleEditorType', "Toggle Editor Type")), original: 'Toggle Editor Type' },
|
|
1880
|
+
f1: true,
|
|
1881
|
+
category: Categories.View,
|
|
1882
|
+
precondition: ActiveEditorAvailableEditorIdsContext
|
|
1883
|
+
});
|
|
1884
|
+
}
|
|
1885
|
+
async run(accessor) {
|
|
1886
|
+
const editorService = accessor.get(IEditorService);
|
|
1887
|
+
const editorResolverService = accessor.get(IEditorResolverService);
|
|
1888
|
+
const activeEditorPane = editorService.activeEditorPane;
|
|
1889
|
+
if (!activeEditorPane) {
|
|
1890
|
+
return;
|
|
1891
|
+
}
|
|
1892
|
+
const activeEditorResource = EditorResourceAccessor.getCanonicalUri(activeEditorPane.input);
|
|
1893
|
+
if (!activeEditorResource) {
|
|
1894
|
+
return;
|
|
1895
|
+
}
|
|
1896
|
+
const editorIds = ( editorResolverService.getEditors(activeEditorResource).map(editor => editor.id)).filter(id => id !== activeEditorPane.input.editorId);
|
|
1897
|
+
if (editorIds.length === 0) {
|
|
1898
|
+
return;
|
|
1899
|
+
}
|
|
1900
|
+
await editorService.replaceEditors([
|
|
1901
|
+
{
|
|
1902
|
+
editor: activeEditorPane.input,
|
|
1903
|
+
replacement: {
|
|
1904
|
+
resource: activeEditorResource,
|
|
1905
|
+
options: {
|
|
1906
|
+
override: editorIds[0]
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
], activeEditorPane.group);
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
class ReOpenInTextEditorAction extends Action2 {
|
|
1914
|
+
constructor() {
|
|
1915
|
+
super({
|
|
1916
|
+
id: 'workbench.action.reopenTextEditor',
|
|
1917
|
+
title: { value: ( localize('reopenTextEditor', "Reopen Editor With Text Editor")), original: 'Reopen Editor With Text Editor' },
|
|
1918
|
+
f1: true,
|
|
1919
|
+
category: Categories.View,
|
|
1920
|
+
precondition: ActiveEditorAvailableEditorIdsContext
|
|
1921
|
+
});
|
|
1922
|
+
}
|
|
1923
|
+
async run(accessor) {
|
|
1924
|
+
const editorService = accessor.get(IEditorService);
|
|
1925
|
+
const activeEditorPane = editorService.activeEditorPane;
|
|
1926
|
+
if (!activeEditorPane) {
|
|
1927
|
+
return;
|
|
1928
|
+
}
|
|
1929
|
+
const activeEditorResource = EditorResourceAccessor.getCanonicalUri(activeEditorPane.input);
|
|
1930
|
+
if (!activeEditorResource) {
|
|
1931
|
+
return;
|
|
1932
|
+
}
|
|
1933
|
+
await editorService.replaceEditors([
|
|
1934
|
+
{
|
|
1935
|
+
editor: activeEditorPane.input,
|
|
1936
|
+
replacement: {
|
|
1937
|
+
resource: activeEditorResource,
|
|
1938
|
+
options: {
|
|
1939
|
+
override: DEFAULT_EDITOR_ASSOCIATION.id
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
], activeEditorPane.group);
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
export { ClearEditorHistoryAction, ClearRecentFilesAction, CloseAllEditorGroupsAction, CloseAllEditorsAction, CloseEditorAction, CloseEditorInAllGroupsAction, CloseEditorsInOtherGroupsAction, CloseLeftEditorsInGroupAction, CloseOneEditorAction, DuplicateGroupDownAction, DuplicateGroupLeftAction, DuplicateGroupRightAction, DuplicateGroupUpAction, EditorLayoutSingleAction, EditorLayoutThreeColumnsAction, EditorLayoutThreeRowsAction, EditorLayoutTwoByTwoGridAction, EditorLayoutTwoColumnsAction, EditorLayoutTwoColumnsBottomAction, EditorLayoutTwoRowsAction, EditorLayoutTwoRowsRightAction, FocusAboveGroup, FocusActiveGroupAction, FocusBelowGroup, FocusFirstGroupAction, FocusLastGroupAction, FocusLeftGroup, FocusNextGroup, FocusPreviousGroup, FocusRightGroup, JoinAllGroupsAction, JoinTwoGroupsAction, MaximizeGroupAction, MinimizeOtherGroupsAction, MoveEditorLeftInGroupAction, MoveEditorRightInGroupAction, MoveEditorToAboveGroupAction, MoveEditorToBelowGroupAction, MoveEditorToFirstGroupAction, MoveEditorToLastGroupAction, MoveEditorToLeftGroupAction, MoveEditorToNextGroupAction, MoveEditorToPreviousGroupAction, MoveEditorToRightGroupAction, MoveGroupDownAction, MoveGroupLeftAction, MoveGroupRightAction, MoveGroupUpAction, NavigateBackwardsAction, NavigateBackwardsInEditsAction, NavigateBackwardsInNavigationsAction, NavigateBetweenGroupsAction, NavigateForwardAction, NavigateForwardInEditsAction, NavigateForwardInNavigationsAction, NavigatePreviousAction, NavigatePreviousInEditsAction, NavigatePreviousInNavigationsAction, NavigateToLastEditLocationAction, NavigateToLastNavigationLocationAction, NewEditorGroupAboveAction, NewEditorGroupBelowAction, NewEditorGroupLeftAction, NewEditorGroupRightAction, OpenFirstEditorInGroup, OpenLastEditorInGroup, OpenNextEditor, OpenNextEditorInGroup, OpenNextRecentlyUsedEditorAction, OpenNextRecentlyUsedEditorInGroupAction, OpenPreviousEditor, OpenPreviousEditorInGroup, OpenPreviousRecentlyUsedEditorAction, OpenPreviousRecentlyUsedEditorInGroupAction, QuickAccessLeastRecentlyUsedEditorAction, QuickAccessLeastRecentlyUsedEditorInGroupAction, QuickAccessPreviousEditorFromHistoryAction, QuickAccessPreviousRecentlyUsedEditorAction, QuickAccessPreviousRecentlyUsedEditorInGroupAction, ReOpenInTextEditorAction, ReopenClosedEditorAction, ResetGroupSizesAction, RevertAndCloseEditorAction, ShowAllEditorsByAppearanceAction, ShowAllEditorsByMostRecentlyUsedAction, ShowEditorsInActiveGroupByMostRecentlyUsedAction, SplitEditorAction, SplitEditorDownAction, SplitEditorLeftAction, SplitEditorOrthogonalAction, SplitEditorRightAction, SplitEditorToAboveGroupAction, SplitEditorToBelowGroupAction, SplitEditorToFirstGroupAction, SplitEditorToLastGroupAction, SplitEditorToLeftGroupAction, SplitEditorToNextGroupAction, SplitEditorToPreviousGroupAction, SplitEditorToRightGroupAction, SplitEditorUpAction, ToggleEditorTypeAction, ToggleGroupSizesAction, UnpinEditorAction };
|