@codingame/monaco-vscode-api 1.83.15 → 1.85.0-next.0
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 +430 -0
- package/api.js +13 -7
- package/assets/clear.mp3 +0 -0
- package/assets/format.mp3 +0 -0
- package/assets/save.mp3 +0 -0
- package/contributions.js +3 -0
- package/extensions.d.ts +13 -3
- package/external/{xterm-addon-image/typings/xterm-addon-image.d.ts → @xterm/addon-image/typings/addon-image.d.ts} +1 -1
- package/external/{xterm → @xterm/xterm}/typings/xterm.d.ts +13 -1
- package/lifecycle.js +2 -2
- package/localExtensionHost.js +6 -3
- package/missing-services.js +170 -22
- package/monaco-editor-treemending.patch +6884 -18018
- package/monaco-treemending.js +2 -2
- package/package.json +7 -7
- package/service-override/tools/editor.d.ts +8 -8
- package/service-override/tools/editor.js +44 -19
- package/services.d.ts +2 -2
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/broadcast.js +6 -5
- package/vscode/src/vs/base/browser/dnd.d.ts +6 -0
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +1 -1
- package/vscode/src/vs/base/browser/touch.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +22 -15
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +4 -3
- package/vscode/src/vs/base/browser/ui/splitview/paneview.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +34 -11
- package/vscode/src/vs/base/common/actions.d.ts +1 -15
- package/vscode/src/vs/base/common/async.d.ts +1 -31
- package/vscode/src/vs/base/common/event.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +23 -10
- package/vscode/src/vs/base/common/prefixTree.js +140 -0
- package/vscode/src/vs/base/common/product.d.ts +16 -2
- package/vscode/src/vs/base/common/resourceTree.js +135 -0
- package/vscode/src/vs/base/common/skipList.js +1 -0
- package/vscode/src/vs/base/common/tfIdf.js +137 -0
- package/vscode/src/vs/base/common/types.d.ts +13 -1
- package/vscode/src/vs/base/common/verifier.js +62 -0
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +4 -2
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -4
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +1 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +2 -1
- package/vscode/src/vs/editor/common/languages.d.ts +23 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/resolverService.d.ts +11 -2
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +16 -1
- package/vscode/src/vs/platform/action/common/action.d.ts +8 -0
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +4 -0
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +26 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +6 -0
- package/vscode/src/vs/platform/commands/common/commands.d.ts +13 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +9 -3
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +5 -2
- package/vscode/src/vs/platform/editor/common/editor.d.ts +3 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -15
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +5 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -1
- package/vscode/src/vs/platform/files/common/files.d.ts +72 -8
- package/vscode/src/vs/platform/files/common/watcher.js +77 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +2 -2
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +52 -21
- package/vscode/src/vs/platform/request/browser/requestService.js +3 -0
- package/vscode/src/vs/platform/request/common/requestIpc.js +17 -0
- package/vscode/src/vs/platform/storage/common/storage.js +2 -2
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +41 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +12 -7
- package/vscode/src/vs/platform/terminal/common/capabilities/{commandDetectionCapability.d.ts → commandDetection/terminalCommand.d.ts} +3 -2
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +257 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +651 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +29 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +48 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +94 -0
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +37 -0
- package/vscode/src/vs/platform/terminal/common/terminalStrings.js +16 -0
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +319 -0
- package/vscode/src/vs/platform/window/common/window.d.ts +9 -2
- package/vscode/src/vs/platform/window/common/window.js +6 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +2 -43
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +113 -81
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +5 -4
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +25 -3
- package/vscode/src/vs/workbench/api/common/extHostChat.js +13 -163
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +412 -0
- package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +79 -11
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +13 -12
- package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +36 -19
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +52 -31
- package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +38 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +28 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +117 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +32 -4
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +85 -23
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostSpeech.js +42 -0
- package/vscode/src/vs/workbench/api/common/extHostTask.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +97 -47
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +115 -16
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +66 -36
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +6 -1
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +182 -75
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +176 -4
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +143 -2
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +237 -0
- package/vscode/src/vs/workbench/browser/composite.d.ts +0 -4
- package/vscode/src/vs/workbench/browser/composite.js +5 -4
- package/vscode/src/vs/workbench/browser/dnd.js +72 -23
- package/vscode/src/vs/workbench/browser/labels.js +7 -3
- package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
- package/vscode/src/vs/workbench/browser/panecomposite.d.ts +2 -2
- package/vscode/src/vs/workbench/browser/panecomposite.js +2 -0
- package/vscode/src/vs/workbench/browser/part.js +33 -2
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +99 -117
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +173 -33
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +102 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +256 -17
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +68 -35
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +35 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +348 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +43 -31
- package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +14 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +277 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +5 -2
- package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +3 -38
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.d.ts +54 -52
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +2 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +25 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +258 -0
- package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -5
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +157 -117
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +50 -23
- package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +26 -11
- package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +10 -6
- package/vscode/src/vs/workbench/browser/style.js +2 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +39 -2
- package/vscode/src/vs/workbench/browser/window.js +55 -0
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +220 -40
- package/vscode/src/vs/workbench/common/activity.js +3 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +35 -5
- package/vscode/src/vs/workbench/common/contributions.js +4 -3
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -4
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +22 -19
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +4 -3
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +1 -2
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +22 -4
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +3 -3
- package/vscode/src/vs/workbench/common/editor.d.ts +60 -30
- package/vscode/src/vs/workbench/common/editor.js +11 -3
- package/vscode/src/vs/workbench/common/theme.js +2 -2
- package/vscode/src/vs/workbench/common/views.d.ts +4 -4
- package/vscode/src/vs/workbench/common/views.js +3 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +97 -8
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +17 -99
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +103 -37
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +2 -3
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +127 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +71 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +33 -110
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +94 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +1 -88
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +15 -16
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +91 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +3 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +10 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +114 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +4 -1
- package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +19 -0
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +10 -8
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +62 -10
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +9 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +10 -1
- package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.js +7 -3
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +64 -36
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +42 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +145 -25
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +423 -0
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +82 -0
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +3 -1
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +24 -3
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +11 -6
- package/vscode/src/vs/workbench/contrib/scm/common/scm.js +1 -2
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +31 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +61 -41
- package/vscode/src/vs/workbench/contrib/search/{browser/searchNotebookHelpers.js → common/cellSearchModel.js} +4 -63
- package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.js +40 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +2 -2
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +92 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +100 -79
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +25 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +7 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +64 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +36 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +540 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +104 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +518 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +390 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +17 -11
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +814 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +2 -8
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.js +101 -0
- package/vscode/src/vs/workbench/contrib/testing/common/observableValue.js +30 -0
- package/vscode/src/vs/workbench/contrib/testing/common/storedValue.js +36 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +115 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +74 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.js +116 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.js +172 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +384 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.js +156 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.js +156 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testService.js +75 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +72 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +188 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.js +102 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.js +29 -0
- package/vscode/src/vs/workbench/{services/editor/browser/editorDropService.js → contrib/testing/common/testingPeekOpener.js} +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +47 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +8 -9
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +5 -2
- package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +16 -10
- package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +14 -1
- package/vscode/src/vs/workbench/services/activity/common/activity.js +1 -7
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +9 -28
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +273 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +2 -0
- package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -3
- package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +7 -5
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +59 -37
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +193 -94
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +8 -2
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +8 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +62 -16
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +5 -3
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +3 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +4 -9
- package/vscode/src/vs/workbench/services/extensions/common/{extensionHostManager.d.ts → extensionHostManagers.d.ts} +2 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +9 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +22 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +14 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +9 -0
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +3 -3
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +2 -2
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +49 -18
- package/vscode/src/vs/workbench/services/host/browser/host.d.ts +29 -7
- package/vscode/src/vs/workbench/services/hover/browser/hover.d.ts +51 -28
- package/vscode/src/vs/workbench/services/hover/browser/hoverService.d.ts +5 -2
- package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +2 -2
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +4 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +40 -36
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.d.ts +0 -6
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +3 -0
- package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +16 -1
- package/vscode/src/vs/workbench/services/request/browser/requestService.js +48 -0
- package/vscode/src/vs/workbench/services/search/common/searchHelpers.js +4 -4
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +10 -51
- package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +4 -0
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +10 -0
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +98 -0
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +428 -0
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +83 -0
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +32 -1
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +1 -5
- package/vscode/src/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +4 -3
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +9 -3
- package/vscode/src/vs/workbench/services/title/browser/titleService.d.ts +18 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +18 -3
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +16 -7
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +6 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +13 -0
- package/vscode/src/vs/workbench/services/url/browser/urlService.js +2 -1
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +9 -0
- package/vscode-dts/vscode.proposed.chatAgents2.d.ts +375 -0
- package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +80 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +5 -1
- package/vscode-dts/vscode.proposed.chatRequestAccess.d.ts +68 -10
- package/vscode-dts/vscode.proposed.chatTab.d.ts +21 -0
- package/vscode-dts/vscode.proposed.chatVariables.d.ts +5 -1
- package/vscode-dts/vscode.proposed.codeActionAI.d.ts +16 -0
- package/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +7 -0
- package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +51 -0
- package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +30 -0
- package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +26 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +26 -100
- package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +14 -7
- package/vscode-dts/vscode.proposed.languageStatusText.d.ts +12 -0
- package/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts +63 -0
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +43 -0
- package/vscode-dts/vscode.proposed.resolvers.d.ts +100 -1
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +9 -1
- package/vscode-dts/vscode.proposed.scmInputBoxActionButton.d.ts +19 -0
- package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +25 -0
- package/vscode-dts/vscode.proposed.speech.d.ts +35 -0
- package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +11 -7
- package/vscode-dts/vscode.proposed.testCoverage.d.ts +6 -1
- package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +21 -0
- package/external/xterm-headless/typings/xterm-headless.d.ts +0 -49
- package/vscode/src/vs/platform/backup/common/backup.d.ts +0 -14
- package/vscode/src/vs/platform/update/common/update.d.ts +0 -112
- package/vscode/src/vs/workbench/api/common/extHostChatAgents.js +0 -62
- package/vscode/src/vs/workbench/api/common/extHostChatSlashCommand.js +0 -62
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +0 -56
- package/vscode/src/vs/workbench/services/files/common/files.js +0 -4
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.d.ts +0 -41
- package/vscode/src/vs/workbench/services/title/common/titleService.d.ts +0 -31
- package/vscode-dts/vscode.proposed.chatAgents.d.ts +0 -39
- package/vscode-dts/vscode.proposed.chatSlashCommands.d.ts +0 -47
- package/vscode-dts/vscode.proposed.testMessageContextValue.d.ts +0 -45
- /package/external/{xterm-addon-canvas/typings/xterm-addon-canvas.d.ts → @xterm/addon-canvas/typings/addon-canvas.d.ts} +0 -0
- /package/external/{xterm-addon-search/typings/xterm-addon-search.d.ts → @xterm/addon-search/typings/addon-search.d.ts} +0 -0
- /package/external/{xterm-addon-serialize/typings/xterm-addon-serialize.d.ts → @xterm/addon-serialize/typings/addon-serialize.d.ts} +0 -0
- /package/external/{xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts → @xterm/addon-unicode11/typings/addon-unicode11.d.ts} +0 -0
- /package/external/{xterm-addon-webgl/typings/xterm-addon-webgl.d.ts → @xterm/addon-webgl/typings/addon-webgl.d.ts} +0 -0
- /package/vscode/src/vs/workbench/services/title/{common → browser}/titleService.js +0 -0
|
@@ -12,7 +12,7 @@ import { ExtensionIdentifier } from 'monaco-editor/esm/vs/platform/extensions/co
|
|
|
12
12
|
import { FileSystemProviderErrorCode, markAsFileSystemProviderError } from 'monaco-editor/esm/vs/platform/files/common/files.js';
|
|
13
13
|
import { RemoteAuthorityResolverErrorCode } from '../../../platform/remote/common/remoteAuthorityResolver.js';
|
|
14
14
|
import { isTextStreamMime } from '../../contrib/notebook/common/notebookCommon.js';
|
|
15
|
-
var Disposable_1, Position_1, Range_1, Selection_1, TextEdit_1, NotebookEdit_1, SnippetString_1, Location_1, SymbolInformation_1, DocumentSymbol_1, CodeActionKind_1, MarkdownString_1, TaskGroup_1, Task_1, TreeItem_1, FileSystemError_1, TestMessage_1
|
|
15
|
+
var Disposable_1, Position_1, Range_1, Selection_1, TextEdit_1, NotebookEdit_1, SnippetString_1, Location_1, SymbolInformation_1, DocumentSymbol_1, CodeActionKind_1, MarkdownString_1, TaskGroup_1, Task_1, TreeItem_1, FileSystemError_1, TestMessage_1;
|
|
16
16
|
function es5ClassCompat(target) {
|
|
17
17
|
const interceptFunctions = {
|
|
18
18
|
apply: function (...args) {
|
|
@@ -951,6 +951,21 @@ let DocumentHighlight = class DocumentHighlight {
|
|
|
951
951
|
DocumentHighlight = ( __decorate([
|
|
952
952
|
es5ClassCompat
|
|
953
953
|
], DocumentHighlight));
|
|
954
|
+
let MultiDocumentHighlight = class MultiDocumentHighlight {
|
|
955
|
+
constructor(uri, highlights) {
|
|
956
|
+
this.uri = uri;
|
|
957
|
+
this.highlights = highlights;
|
|
958
|
+
}
|
|
959
|
+
toJSON() {
|
|
960
|
+
return {
|
|
961
|
+
uri: this.uri,
|
|
962
|
+
highlights: ( this.highlights.map(h => h.toJSON()))
|
|
963
|
+
};
|
|
964
|
+
}
|
|
965
|
+
};
|
|
966
|
+
MultiDocumentHighlight = ( __decorate([
|
|
967
|
+
es5ClassCompat
|
|
968
|
+
], MultiDocumentHighlight));
|
|
954
969
|
var SymbolKind;
|
|
955
970
|
( (function(SymbolKind) {
|
|
956
971
|
SymbolKind[SymbolKind["File"] = 0] = "File";
|
|
@@ -2970,6 +2985,11 @@ class NotebookKernelSourceAction {
|
|
|
2970
2985
|
this.label = label;
|
|
2971
2986
|
}
|
|
2972
2987
|
}
|
|
2988
|
+
var NotebookVariablesRequestKind;
|
|
2989
|
+
( (function(NotebookVariablesRequestKind) {
|
|
2990
|
+
NotebookVariablesRequestKind[NotebookVariablesRequestKind["Named"] = 1] = "Named";
|
|
2991
|
+
NotebookVariablesRequestKind[NotebookVariablesRequestKind["Indexed"] = 2] = "Indexed";
|
|
2992
|
+
})(NotebookVariablesRequestKind || (NotebookVariablesRequestKind = {})));
|
|
2973
2993
|
let TimelineItem = class TimelineItem {
|
|
2974
2994
|
constructor(label, timestamp) {
|
|
2975
2995
|
this.label = label;
|
|
@@ -3059,16 +3079,13 @@ let TestTag = class TestTag {
|
|
|
3059
3079
|
TestTag = ( __decorate([
|
|
3060
3080
|
es5ClassCompat
|
|
3061
3081
|
], TestTag));
|
|
3062
|
-
|
|
3082
|
+
class CoveredCount {
|
|
3063
3083
|
constructor(covered, total) {
|
|
3064
3084
|
this.covered = covered;
|
|
3065
3085
|
this.total = total;
|
|
3066
3086
|
}
|
|
3067
|
-
}
|
|
3068
|
-
|
|
3069
|
-
es5ClassCompat
|
|
3070
|
-
], CoveredCount));
|
|
3071
|
-
let FileCoverage = FileCoverage_1 = class FileCoverage {
|
|
3087
|
+
}
|
|
3088
|
+
class FileCoverage {
|
|
3072
3089
|
static fromDetails(uri, details) {
|
|
3073
3090
|
const statements = ( new CoveredCount(0, 0));
|
|
3074
3091
|
const branches = ( new CoveredCount(0, 0));
|
|
@@ -3087,7 +3104,7 @@ let FileCoverage = FileCoverage_1 = class FileCoverage {
|
|
|
3087
3104
|
fn.covered += detail.executionCount > 0 ? 1 : 0;
|
|
3088
3105
|
}
|
|
3089
3106
|
}
|
|
3090
|
-
const coverage = ( new
|
|
3107
|
+
const coverage = ( new FileCoverage(
|
|
3091
3108
|
uri,
|
|
3092
3109
|
statements,
|
|
3093
3110
|
branches.total > 0 ? branches : undefined,
|
|
@@ -3102,38 +3119,27 @@ let FileCoverage = FileCoverage_1 = class FileCoverage {
|
|
|
3102
3119
|
this.branchCoverage = branchCoverage;
|
|
3103
3120
|
this.functionCoverage = functionCoverage;
|
|
3104
3121
|
}
|
|
3105
|
-
}
|
|
3106
|
-
|
|
3107
|
-
es5ClassCompat
|
|
3108
|
-
], FileCoverage));
|
|
3109
|
-
let StatementCoverage = class StatementCoverage {
|
|
3122
|
+
}
|
|
3123
|
+
class StatementCoverage {
|
|
3110
3124
|
constructor(executionCount, location, branches = []) {
|
|
3111
3125
|
this.executionCount = executionCount;
|
|
3112
3126
|
this.location = location;
|
|
3113
3127
|
this.branches = branches;
|
|
3114
3128
|
}
|
|
3115
|
-
}
|
|
3116
|
-
|
|
3117
|
-
es5ClassCompat
|
|
3118
|
-
], StatementCoverage));
|
|
3119
|
-
let BranchCoverage = class BranchCoverage {
|
|
3129
|
+
}
|
|
3130
|
+
class BranchCoverage {
|
|
3120
3131
|
constructor(executionCount, location) {
|
|
3121
3132
|
this.executionCount = executionCount;
|
|
3122
3133
|
this.location = location;
|
|
3123
3134
|
}
|
|
3124
|
-
}
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
let FunctionCoverage = class FunctionCoverage {
|
|
3129
|
-
constructor(executionCount, location) {
|
|
3135
|
+
}
|
|
3136
|
+
class FunctionCoverage {
|
|
3137
|
+
constructor(name, executionCount, location) {
|
|
3138
|
+
this.name = name;
|
|
3130
3139
|
this.executionCount = executionCount;
|
|
3131
3140
|
this.location = location;
|
|
3132
3141
|
}
|
|
3133
|
-
}
|
|
3134
|
-
FunctionCoverage = ( __decorate([
|
|
3135
|
-
es5ClassCompat
|
|
3136
|
-
], FunctionCoverage));
|
|
3142
|
+
}
|
|
3137
3143
|
var ExternalUriOpenerPriority;
|
|
3138
3144
|
( (function(ExternalUriOpenerPriority) {
|
|
3139
3145
|
ExternalUriOpenerPriority[ExternalUriOpenerPriority["None"] = 0] = "None";
|
|
@@ -3218,22 +3224,40 @@ class InteractiveWindowInput {
|
|
|
3218
3224
|
this.inputBoxUri = inputBoxUri;
|
|
3219
3225
|
}
|
|
3220
3226
|
}
|
|
3227
|
+
class ChatEditorTabInput {
|
|
3228
|
+
constructor(providerId) {
|
|
3229
|
+
this.providerId = providerId;
|
|
3230
|
+
}
|
|
3231
|
+
}
|
|
3221
3232
|
var InteractiveSessionVoteDirection;
|
|
3222
3233
|
( (function(InteractiveSessionVoteDirection) {
|
|
3234
|
+
InteractiveSessionVoteDirection[InteractiveSessionVoteDirection["Down"] = 0] = "Down";
|
|
3223
3235
|
InteractiveSessionVoteDirection[InteractiveSessionVoteDirection["Up"] = 1] = "Up";
|
|
3224
|
-
InteractiveSessionVoteDirection[InteractiveSessionVoteDirection["Down"] = 2] = "Down";
|
|
3225
3236
|
})(InteractiveSessionVoteDirection || (InteractiveSessionVoteDirection = {})));
|
|
3226
3237
|
var InteractiveSessionCopyKind;
|
|
3227
3238
|
( (function(InteractiveSessionCopyKind) {
|
|
3228
3239
|
InteractiveSessionCopyKind[InteractiveSessionCopyKind["Action"] = 1] = "Action";
|
|
3229
3240
|
InteractiveSessionCopyKind[InteractiveSessionCopyKind["Toolbar"] = 2] = "Toolbar";
|
|
3230
3241
|
})(InteractiveSessionCopyKind || (InteractiveSessionCopyKind = {})));
|
|
3242
|
+
var ChatVariableLevel;
|
|
3243
|
+
( (function(ChatVariableLevel) {
|
|
3244
|
+
ChatVariableLevel[ChatVariableLevel["Short"] = 1] = "Short";
|
|
3245
|
+
ChatVariableLevel[ChatVariableLevel["Medium"] = 2] = "Medium";
|
|
3246
|
+
ChatVariableLevel[ChatVariableLevel["Full"] = 3] = "Full";
|
|
3247
|
+
})(ChatVariableLevel || (ChatVariableLevel = {})));
|
|
3248
|
+
class ChatAgentCompletionItem {
|
|
3249
|
+
constructor(label, values) {
|
|
3250
|
+
this.label = label;
|
|
3251
|
+
this.values = values;
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3231
3254
|
var InteractiveEditorResponseFeedbackKind;
|
|
3232
3255
|
( (function(InteractiveEditorResponseFeedbackKind) {
|
|
3233
3256
|
InteractiveEditorResponseFeedbackKind[InteractiveEditorResponseFeedbackKind["Unhelpful"] = 0] = "Unhelpful";
|
|
3234
3257
|
InteractiveEditorResponseFeedbackKind[InteractiveEditorResponseFeedbackKind["Helpful"] = 1] = "Helpful";
|
|
3235
3258
|
InteractiveEditorResponseFeedbackKind[InteractiveEditorResponseFeedbackKind["Undone"] = 2] = "Undone";
|
|
3236
3259
|
InteractiveEditorResponseFeedbackKind[InteractiveEditorResponseFeedbackKind["Accepted"] = 3] = "Accepted";
|
|
3260
|
+
InteractiveEditorResponseFeedbackKind[InteractiveEditorResponseFeedbackKind["Bug"] = 4] = "Bug";
|
|
3237
3261
|
})(
|
|
3238
3262
|
InteractiveEditorResponseFeedbackKind || (InteractiveEditorResponseFeedbackKind = {})
|
|
3239
3263
|
));
|
|
@@ -3244,18 +3268,17 @@ var ChatMessageRole;
|
|
|
3244
3268
|
ChatMessageRole[ChatMessageRole["Assistant"] = 2] = "Assistant";
|
|
3245
3269
|
ChatMessageRole[ChatMessageRole["Function"] = 3] = "Function";
|
|
3246
3270
|
})(ChatMessageRole || (ChatMessageRole = {})));
|
|
3247
|
-
var ChatVariableLevel;
|
|
3248
|
-
( (function(ChatVariableLevel) {
|
|
3249
|
-
ChatVariableLevel[ChatVariableLevel["Short"] = 1] = "Short";
|
|
3250
|
-
ChatVariableLevel[ChatVariableLevel["Medium"] = 2] = "Medium";
|
|
3251
|
-
ChatVariableLevel[ChatVariableLevel["Full"] = 3] = "Full";
|
|
3252
|
-
})(ChatVariableLevel || (ChatVariableLevel = {})));
|
|
3253
3271
|
class ChatMessage {
|
|
3254
3272
|
constructor(role, content) {
|
|
3255
3273
|
this.role = role;
|
|
3256
3274
|
this.content = content;
|
|
3257
3275
|
}
|
|
3258
3276
|
}
|
|
3277
|
+
var ChatAgentResultFeedbackKind;
|
|
3278
|
+
( (function(ChatAgentResultFeedbackKind) {
|
|
3279
|
+
ChatAgentResultFeedbackKind[ChatAgentResultFeedbackKind["Unhelpful"] = 0] = "Unhelpful";
|
|
3280
|
+
ChatAgentResultFeedbackKind[ChatAgentResultFeedbackKind["Helpful"] = 1] = "Helpful";
|
|
3281
|
+
})(ChatAgentResultFeedbackKind || (ChatAgentResultFeedbackKind = {})));
|
|
3259
3282
|
var RelatedInformationType;
|
|
3260
3283
|
( (function(RelatedInformationType) {
|
|
3261
3284
|
RelatedInformationType[RelatedInformationType["SymbolInformation"] = 1] = "SymbolInformation";
|
|
@@ -3263,4 +3286,11 @@ var RelatedInformationType;
|
|
|
3263
3286
|
RelatedInformationType[RelatedInformationType["SearchInformation"] = 3] = "SearchInformation";
|
|
3264
3287
|
RelatedInformationType[RelatedInformationType["SettingInformation"] = 4] = "SettingInformation";
|
|
3265
3288
|
})(RelatedInformationType || (RelatedInformationType = {})));
|
|
3266
|
-
|
|
3289
|
+
var SpeechToTextStatus;
|
|
3290
|
+
( (function(SpeechToTextStatus) {
|
|
3291
|
+
SpeechToTextStatus[SpeechToTextStatus["Started"] = 1] = "Started";
|
|
3292
|
+
SpeechToTextStatus[SpeechToTextStatus["Recognizing"] = 2] = "Recognizing";
|
|
3293
|
+
SpeechToTextStatus[SpeechToTextStatus["Recognized"] = 3] = "Recognized";
|
|
3294
|
+
SpeechToTextStatus[SpeechToTextStatus["Stopped"] = 4] = "Stopped";
|
|
3295
|
+
})(SpeechToTextStatus || (SpeechToTextStatus = {})));
|
|
3296
|
+
export { BranchCoverage, Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentResultFeedbackKind, ChatEditorTabInput, ChatMessage, ChatMessageRole, ChatVariableLevel, CodeAction, CodeActionKind, CodeActionTriggerKind, CodeLens, Color, ColorInformation, ColorPresentation, ColorTheme, ColorThemeKind, CommentMode, CommentState, CommentThreadCollapsibleState, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CoveredCount, CustomEditorTabInput, CustomExecution, DataBreakpoint, DataTransfer, DataTransferFile, DataTransferItem, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DecorationRangeBehavior, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, Disposable, DocumentDropEdit, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentPasteEdit, DocumentSymbol, EndOfLine, EnvironmentVariableMutatorType, EvaluatableExpression, ExtensionKind, ExtensionMode, ExtensionRuntime, ExternalUriOpenerPriority, FileChangeType, FileCoverage, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, FunctionCoverage, Hover, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionTriggerKind, InlineSuggestion, InlineSuggestionList, InlineValueContext, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, InteractiveEditorResponseFeedbackKind, InteractiveSessionCopyKind, InteractiveSessionVoteDirection, InteractiveWindowInput, InternalDataTransferItem, InternalFileDataTransferItem, LanguageStatusSeverity, LinkedEditingRanges, Location, ManagedResolvedAuthority, MarkdownString, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionState, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookCellStatusBarAlignment, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookData, NotebookDiffEditorTabInput, NotebookEdit, NotebookEditorRevealType, NotebookEditorTabInput, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookVariablesRequestKind, ParameterInformation, PortAttributes, PortAutoForwardAction, Position, ProcessExecution, ProgressLocation, QuickInputButtons, QuickPickItemKind, Range, RelatedInformationType, RelativePattern, RemoteAuthorityResolverError, ResolvedAuthority, Selection, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SnippetString, SnippetTextEdit, SourceBreakpoint, SourceControlInputBoxValidationType, SpeechToTextStatus, StackFrameFocus, StandardTokenType, StatementCoverage, StatusBarAlignment, SymbolInformation, SymbolKind, SymbolTag, SyntaxTokenType, Task, TaskGroup, TaskPanelKind, TaskRevealKind, TaskScope, TerminalEditorTabInput, TerminalExitReason, TerminalLink, TerminalLocation, TerminalOutputAnchor, TerminalProfile, TerminalQuickFixCommand, TerminalQuickFixOpener, TestMessage, TestResultState, TestRunProfileKind, TestRunRequest, TestTag, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, TextMergeTabInput, TextTabInput, ThemeColor, ThemeIcon, ThreadFocus, TimelineItem, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, ViewBadge, ViewColumn, WebviewEditorTabInput, WorkspaceEdit, WorkspaceTrustState, asStatusBarItemIdentifier, setBreakpointId };
|
|
@@ -23,6 +23,7 @@ import { Range } from './extHostTypes.js';
|
|
|
23
23
|
import { IURITransformerService } from './extHostUriTransformerService.js';
|
|
24
24
|
import { resultIsMatch } from '../../services/search/common/search.js';
|
|
25
25
|
import { MainContext } from './extHost.protocol.js';
|
|
26
|
+
import { revive } from 'monaco-editor/esm/vs/base/common/marshalling.js';
|
|
26
27
|
function isFolderEqual(folderA, folderB, extHostFileSystemInfo) {
|
|
27
28
|
return ( new ExtUri(uri => ignorePathCasing(uri, extHostFileSystemInfo))).isEqual(folderA, folderB);
|
|
28
29
|
}
|
|
@@ -376,7 +377,8 @@ let ExtHostWorkspace = class ExtHostWorkspace {
|
|
|
376
377
|
};
|
|
377
378
|
this._activeSearchCallbacks[requestId] = p => {
|
|
378
379
|
const uri = URI.revive(p.resource);
|
|
379
|
-
p.results.forEach(
|
|
380
|
+
p.results.forEach(rawResult => {
|
|
381
|
+
const result = revive(rawResult);
|
|
380
382
|
if (resultIsMatch(result)) {
|
|
381
383
|
callback({
|
|
382
384
|
uri,
|
|
@@ -426,6 +428,9 @@ let ExtHostWorkspace = class ExtHostWorkspace {
|
|
|
426
428
|
resolveProxy(url) {
|
|
427
429
|
return this._proxy.$resolveProxy(url);
|
|
428
430
|
}
|
|
431
|
+
loadCertificates() {
|
|
432
|
+
return this._proxy.$loadCertificates();
|
|
433
|
+
}
|
|
429
434
|
get trusted() {
|
|
430
435
|
return this._trusted;
|
|
431
436
|
}
|
|
@@ -16,11 +16,12 @@ import { IPaneCompositePartService } from '../../services/panecomposite/browser/
|
|
|
16
16
|
import { ToggleAuxiliaryBarAction } from '../parts/auxiliarybar/auxiliaryBarActions.js';
|
|
17
17
|
import { TogglePanelAction } from '../parts/panel/panelActions.js';
|
|
18
18
|
import { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
19
|
-
import { IsCenteredLayoutContext,
|
|
19
|
+
import { IsAuxiliaryWindowFocusedContext, IsCenteredLayoutContext, MainEditorAreaVisibleContext, PanelAlignmentContext, PanelPositionContext, SideBarVisibleContext, InEditorZenModeContext, FocusedViewContext, AuxiliaryBarVisibleContext, PanelVisibleContext, IsFullscreenContext } from '../../common/contextkeys.js';
|
|
20
20
|
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
21
21
|
import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
|
|
22
22
|
import { DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
23
23
|
import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
|
|
24
|
+
import { mainWindow } from 'monaco-editor/esm/vs/base/browser/window.js';
|
|
24
25
|
import { IDialogService } from '../../../platform/dialogs/common/dialogs.js';
|
|
25
26
|
const menubarIcon = registerIcon('menuBar', Codicon.layoutMenubar, ( localizeWithPath(
|
|
26
27
|
'vs/workbench/browser/actions/layoutActions',
|
|
@@ -119,44 +120,7 @@ registerAction2(class extends Action2 {
|
|
|
119
120
|
accessor.get(IWorkbenchLayoutService).setPartHidden(true, "workbench.parts.sidebar" );
|
|
120
121
|
}
|
|
121
122
|
});
|
|
122
|
-
|
|
123
|
-
static { this.ID = 'workbench.action.toggleActivityBarVisibility'; }
|
|
124
|
-
static { this.activityBarVisibleKey = 'workbench.activityBar.visible'; }
|
|
125
|
-
constructor() {
|
|
126
|
-
super({
|
|
127
|
-
id: ToggleActivityBarVisibilityAction.ID,
|
|
128
|
-
title: {
|
|
129
|
-
value: ( localizeWithPath(
|
|
130
|
-
'vs/workbench/browser/actions/layoutActions',
|
|
131
|
-
'toggleActivityBar',
|
|
132
|
-
"Toggle Activity Bar Visibility"
|
|
133
|
-
)),
|
|
134
|
-
mnemonicTitle: ( localizeWithPath(
|
|
135
|
-
'vs/workbench/browser/actions/layoutActions',
|
|
136
|
-
{ key: 'miActivityBar', comment: ['&& denotes a mnemonic'] },
|
|
137
|
-
"&&Activity Bar"
|
|
138
|
-
)),
|
|
139
|
-
original: 'Toggle Activity Bar Visibility'
|
|
140
|
-
},
|
|
141
|
-
category: Categories.View,
|
|
142
|
-
f1: true,
|
|
143
|
-
toggled: ( ContextKeyExpr.equals('config.workbench.activityBar.visible', true)),
|
|
144
|
-
menu: [{
|
|
145
|
-
id: MenuId.MenubarAppearanceMenu,
|
|
146
|
-
group: '2_workbench_layout',
|
|
147
|
-
order: 4
|
|
148
|
-
}]
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
run(accessor) {
|
|
152
|
-
const layoutService = accessor.get(IWorkbenchLayoutService);
|
|
153
|
-
const configurationService = accessor.get(IConfigurationService);
|
|
154
|
-
const visibility = layoutService.isVisible("workbench.parts.activitybar" );
|
|
155
|
-
const newVisibilityValue = !visibility;
|
|
156
|
-
configurationService.updateValue(ToggleActivityBarVisibilityAction.activityBarVisibleKey, newVisibilityValue);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
registerAction2(ToggleActivityBarVisibilityAction);
|
|
123
|
+
const ToggleActivityBarVisibilityActionId = 'workbench.action.toggleActivityBarVisibility';
|
|
160
124
|
registerAction2(class extends Action2 {
|
|
161
125
|
constructor() {
|
|
162
126
|
super({
|
|
@@ -174,6 +138,7 @@ registerAction2(class extends Action2 {
|
|
|
174
138
|
)),
|
|
175
139
|
original: 'Toggle Centered Layout'
|
|
176
140
|
},
|
|
141
|
+
precondition: ( IsAuxiliaryWindowFocusedContext.toNegated()),
|
|
177
142
|
category: Categories.View,
|
|
178
143
|
f1: true,
|
|
179
144
|
toggled: IsCenteredLayoutContext,
|
|
@@ -186,7 +151,7 @@ registerAction2(class extends Action2 {
|
|
|
186
151
|
}
|
|
187
152
|
run(accessor) {
|
|
188
153
|
const layoutService = accessor.get(IWorkbenchLayoutService);
|
|
189
|
-
layoutService.
|
|
154
|
+
layoutService.centerMainEditorLayout(!layoutService.isMainEditorLayoutCentered());
|
|
190
155
|
}
|
|
191
156
|
});
|
|
192
157
|
const sidebarPositionConfigurationKey = 'workbench.sideBar.location';
|
|
@@ -299,8 +264,8 @@ registerAction2(class extends Action2 {
|
|
|
299
264
|
},
|
|
300
265
|
category: Categories.View,
|
|
301
266
|
f1: true,
|
|
302
|
-
toggled:
|
|
303
|
-
precondition: ( ContextKeyExpr.or(( PanelAlignmentContext.isEqualTo('center')), ( PanelPositionContext.notEqualsTo('bottom'))))
|
|
267
|
+
toggled: MainEditorAreaVisibleContext,
|
|
268
|
+
precondition: ( ContextKeyExpr.and(( IsAuxiliaryWindowFocusedContext.toNegated()), ( ContextKeyExpr.or(( PanelAlignmentContext.isEqualTo('center')), ( PanelPositionContext.notEqualsTo('bottom'))))))
|
|
304
269
|
});
|
|
305
270
|
}
|
|
306
271
|
run(accessor) {
|
|
@@ -388,47 +353,184 @@ class ToggleStatusbarVisibilityAction extends Action2 {
|
|
|
388
353
|
run(accessor) {
|
|
389
354
|
const layoutService = accessor.get(IWorkbenchLayoutService);
|
|
390
355
|
const configurationService = accessor.get(IConfigurationService);
|
|
391
|
-
const visibility = layoutService.isVisible("workbench.parts.statusbar" );
|
|
356
|
+
const visibility = layoutService.isVisible("workbench.parts.statusbar" , mainWindow);
|
|
392
357
|
const newVisibilityValue = !visibility;
|
|
393
358
|
return configurationService.updateValue(ToggleStatusbarVisibilityAction.statusbarVisibleKey, newVisibilityValue);
|
|
394
359
|
}
|
|
395
360
|
}
|
|
396
361
|
registerAction2(ToggleStatusbarVisibilityAction);
|
|
397
|
-
class
|
|
362
|
+
class HideEditorTabsAction extends Action2 {
|
|
363
|
+
static { this.ID = 'workbench.action.hideEditorTabs'; }
|
|
364
|
+
constructor() {
|
|
365
|
+
super({
|
|
366
|
+
id: HideEditorTabsAction.ID,
|
|
367
|
+
title: {
|
|
368
|
+
value: ( localizeWithPath(
|
|
369
|
+
'vs/workbench/browser/actions/layoutActions',
|
|
370
|
+
'hideEditorTabs',
|
|
371
|
+
"Hide Editor Tabs"
|
|
372
|
+
)),
|
|
373
|
+
original: 'Hide Editor Tabs'
|
|
374
|
+
},
|
|
375
|
+
category: Categories.View,
|
|
376
|
+
precondition: ( ContextKeyExpr.and(( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')).negate()), ( InEditorZenModeContext.negate()))),
|
|
377
|
+
f1: true
|
|
378
|
+
});
|
|
379
|
+
}
|
|
398
380
|
run(accessor) {
|
|
399
381
|
const configurationService = accessor.get(IConfigurationService);
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
382
|
+
return configurationService.updateValue('workbench.editor.showTabs', 'none');
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
registerAction2(HideEditorTabsAction);
|
|
386
|
+
class ShowMultipleEditorTabsAction extends Action2 {
|
|
387
|
+
static { this.ID = 'workbench.action.showMultipleEditorTabs'; }
|
|
388
|
+
constructor() {
|
|
389
|
+
super({
|
|
390
|
+
id: ShowMultipleEditorTabsAction.ID,
|
|
391
|
+
title: {
|
|
392
|
+
value: ( localizeWithPath(
|
|
393
|
+
'vs/workbench/browser/actions/layoutActions',
|
|
394
|
+
'showMultipleEditorTabs',
|
|
395
|
+
"Show Multiple Editor Tabs"
|
|
396
|
+
)),
|
|
397
|
+
original: 'Show Multiple Editor Tabs'
|
|
398
|
+
},
|
|
399
|
+
category: Categories.View,
|
|
400
|
+
precondition: ( ContextKeyExpr.and(( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple')).negate()), ( InEditorZenModeContext.negate()))),
|
|
401
|
+
f1: true
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
run(accessor) {
|
|
405
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
406
|
+
return configurationService.updateValue('workbench.editor.showTabs', 'multiple');
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
registerAction2(ShowMultipleEditorTabsAction);
|
|
410
|
+
class ShowSingleEditorTabAction extends Action2 {
|
|
411
|
+
static { this.ID = 'workbench.action.showEditorTab'; }
|
|
412
|
+
constructor() {
|
|
413
|
+
super({
|
|
414
|
+
id: ShowSingleEditorTabAction.ID,
|
|
415
|
+
title: {
|
|
416
|
+
value: ( localizeWithPath(
|
|
417
|
+
'vs/workbench/browser/actions/layoutActions',
|
|
418
|
+
'showSingleEditorTab',
|
|
419
|
+
"Show Single Editor Tab"
|
|
420
|
+
)),
|
|
421
|
+
original: 'Show Single Editor Tab'
|
|
422
|
+
},
|
|
423
|
+
category: Categories.View,
|
|
424
|
+
precondition: ( ContextKeyExpr.and(( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single')).negate()), ( InEditorZenModeContext.negate()))),
|
|
425
|
+
f1: true
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
run(accessor) {
|
|
429
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
430
|
+
return configurationService.updateValue('workbench.editor.showTabs', 'single');
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
registerAction2(ShowSingleEditorTabAction);
|
|
434
|
+
class EditorActionsTitleBarAction extends Action2 {
|
|
435
|
+
static { this.ID = 'workbench.action.editorActionsTitleBar'; }
|
|
436
|
+
constructor() {
|
|
437
|
+
super({
|
|
438
|
+
id: EditorActionsTitleBarAction.ID,
|
|
439
|
+
title: {
|
|
440
|
+
value: ( localizeWithPath(
|
|
441
|
+
'vs/workbench/browser/actions/layoutActions',
|
|
442
|
+
'moveEditorActionsToTitleBar',
|
|
443
|
+
"Move Editor Actions to Title Bar"
|
|
444
|
+
)),
|
|
445
|
+
original: 'Move Editor Actions to Title Bar'
|
|
446
|
+
},
|
|
447
|
+
category: Categories.View,
|
|
448
|
+
precondition: ( ContextKeyExpr.and(( ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'titleBar')).negate()), ( ( ContextKeyExpr.equals('config.window.style', 'native')).negate()))),
|
|
449
|
+
f1: true
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
run(accessor) {
|
|
453
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
454
|
+
return configurationService.updateValue('workbench.editor.editorActionsLocation', 'titleBar');
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
registerAction2(EditorActionsTitleBarAction);
|
|
458
|
+
class EditorActionsDefaultAction extends Action2 {
|
|
459
|
+
static { this.ID = 'workbench.action.editorActionsDefault'; }
|
|
460
|
+
constructor() {
|
|
461
|
+
super({
|
|
462
|
+
id: EditorActionsDefaultAction.ID,
|
|
463
|
+
title: {
|
|
464
|
+
value: ( localizeWithPath(
|
|
465
|
+
'vs/workbench/browser/actions/layoutActions',
|
|
466
|
+
'moveEditorActionsToTabBar',
|
|
467
|
+
"Move Editor Actions to Tab Bar"
|
|
468
|
+
)),
|
|
469
|
+
original: 'Move Editor Actions to Tab Bar'
|
|
470
|
+
},
|
|
471
|
+
category: Categories.View,
|
|
472
|
+
precondition: ( ContextKeyExpr.and(( ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')).negate()), ( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')).negate()))),
|
|
473
|
+
f1: true
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
run(accessor) {
|
|
477
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
478
|
+
return configurationService.updateValue('workbench.editor.editorActionsLocation', 'default');
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
registerAction2(EditorActionsDefaultAction);
|
|
482
|
+
class HideEditorActionsAction extends Action2 {
|
|
483
|
+
static { this.ID = 'workbench.action.hideEditorActions'; }
|
|
484
|
+
constructor() {
|
|
485
|
+
super({
|
|
486
|
+
id: HideEditorActionsAction.ID,
|
|
487
|
+
title: {
|
|
488
|
+
value: ( localizeWithPath(
|
|
489
|
+
'vs/workbench/browser/actions/layoutActions',
|
|
490
|
+
'hideEditorActons',
|
|
491
|
+
"Hide Editor Actions"
|
|
492
|
+
)),
|
|
493
|
+
original: 'Hide Editor Actions'
|
|
494
|
+
},
|
|
495
|
+
category: Categories.View,
|
|
496
|
+
precondition: ( ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden')).negate()),
|
|
497
|
+
f1: true
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
run(accessor) {
|
|
501
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
502
|
+
return configurationService.updateValue('workbench.editor.editorActionsLocation', 'hidden');
|
|
403
503
|
}
|
|
404
504
|
}
|
|
405
|
-
|
|
406
|
-
|
|
505
|
+
registerAction2(HideEditorActionsAction);
|
|
506
|
+
class ShowEditorActionsAction extends Action2 {
|
|
507
|
+
static { this.ID = 'workbench.action.showEditorActions'; }
|
|
407
508
|
constructor() {
|
|
408
509
|
super({
|
|
409
|
-
id:
|
|
510
|
+
id: ShowEditorActionsAction.ID,
|
|
410
511
|
title: {
|
|
411
512
|
value: ( localizeWithPath(
|
|
412
513
|
'vs/workbench/browser/actions/layoutActions',
|
|
413
|
-
'
|
|
414
|
-
"
|
|
514
|
+
'showEditorActons',
|
|
515
|
+
"Show Editor Actions"
|
|
415
516
|
)),
|
|
416
|
-
original: '
|
|
517
|
+
original: 'Show Editor Actions'
|
|
417
518
|
},
|
|
418
519
|
category: Categories.View,
|
|
520
|
+
precondition: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden')),
|
|
419
521
|
f1: true
|
|
420
522
|
});
|
|
421
523
|
}
|
|
422
|
-
|
|
423
|
-
|
|
524
|
+
run(accessor) {
|
|
525
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
526
|
+
return configurationService.updateValue('workbench.editor.editorActionsLocation', 'default');
|
|
424
527
|
}
|
|
425
528
|
}
|
|
426
|
-
registerAction2(
|
|
427
|
-
class
|
|
428
|
-
static { this.ID = 'workbench.action.toggleSeparatePinnedEditorTabs'; }
|
|
529
|
+
registerAction2(ShowEditorActionsAction);
|
|
530
|
+
registerAction2(class extends Action2 {
|
|
429
531
|
constructor() {
|
|
430
532
|
super({
|
|
431
|
-
id:
|
|
533
|
+
id: 'workbench.action.toggleSeparatePinnedEditorTabs',
|
|
432
534
|
title: {
|
|
433
535
|
value: ( localizeWithPath(
|
|
434
536
|
'vs/workbench/browser/actions/layoutActions',
|
|
@@ -438,15 +540,17 @@ class ToggleSeparatePinnedTabsAction extends BaseToggleBooleanSettingAction {
|
|
|
438
540
|
original: 'Separate Pinned Editor Tabs'
|
|
439
541
|
},
|
|
440
542
|
category: Categories.View,
|
|
441
|
-
precondition: ( ContextKeyExpr.
|
|
543
|
+
precondition: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple')),
|
|
442
544
|
f1: true
|
|
443
545
|
});
|
|
444
546
|
}
|
|
445
|
-
|
|
446
|
-
|
|
547
|
+
run(accessor) {
|
|
548
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
549
|
+
const oldettingValue = configurationService.getValue('workbench.editor.pinnedTabsOnSeparateRow');
|
|
550
|
+
const newSettingValue = !oldettingValue;
|
|
551
|
+
return configurationService.updateValue('workbench.editor.pinnedTabsOnSeparateRow', newSettingValue);
|
|
447
552
|
}
|
|
448
|
-
}
|
|
449
|
-
registerAction2(ToggleSeparatePinnedTabsAction);
|
|
553
|
+
});
|
|
450
554
|
registerAction2(class extends Action2 {
|
|
451
555
|
constructor() {
|
|
452
556
|
super({
|
|
@@ -464,6 +568,7 @@ registerAction2(class extends Action2 {
|
|
|
464
568
|
)),
|
|
465
569
|
original: 'Toggle Zen Mode'
|
|
466
570
|
},
|
|
571
|
+
precondition: ( IsAuxiliaryWindowFocusedContext.toNegated()),
|
|
467
572
|
category: Categories.View,
|
|
468
573
|
f1: true,
|
|
469
574
|
keybinding: {
|
|
@@ -527,6 +632,8 @@ if (isWindows || isLinux || isWeb) {
|
|
|
527
632
|
return accessor.get(IWorkbenchLayoutService).toggleMenuBar();
|
|
528
633
|
}
|
|
529
634
|
});
|
|
635
|
+
for (const menuId of [MenuId.TitleBarContext, MenuId.TitleBarTitleContext]) {
|
|
636
|
+
}
|
|
530
637
|
}
|
|
531
638
|
registerAction2(class extends Action2 {
|
|
532
639
|
constructor() {
|
|
@@ -604,7 +711,7 @@ registerAction2(class extends Action2 {
|
|
|
604
711
|
}
|
|
605
712
|
results.push({
|
|
606
713
|
id: viewDescriptor.id,
|
|
607
|
-
label: viewDescriptor.name
|
|
714
|
+
label: viewDescriptor.name.value
|
|
608
715
|
});
|
|
609
716
|
}
|
|
610
717
|
});
|
|
@@ -630,7 +737,7 @@ registerAction2(class extends Action2 {
|
|
|
630
737
|
}
|
|
631
738
|
results.push({
|
|
632
739
|
id: viewDescriptor.id,
|
|
633
|
-
label: viewDescriptor.name
|
|
740
|
+
label: viewDescriptor.name.value
|
|
634
741
|
});
|
|
635
742
|
}
|
|
636
743
|
});
|
|
@@ -656,7 +763,7 @@ registerAction2(class extends Action2 {
|
|
|
656
763
|
}
|
|
657
764
|
results.push({
|
|
658
765
|
id: viewDescriptor.id,
|
|
659
|
-
label: viewDescriptor.name
|
|
766
|
+
label: viewDescriptor.name.value
|
|
660
767
|
});
|
|
661
768
|
}
|
|
662
769
|
});
|
|
@@ -740,7 +847,7 @@ class MoveFocusedViewAction extends Action2 {
|
|
|
740
847
|
'vs/workbench/browser/actions/layoutActions',
|
|
741
848
|
{ key: 'moveFocusedView.title', comment: ['{0} indicates the title of the view the user has selected to move.'] },
|
|
742
849
|
"View: Move {0}",
|
|
743
|
-
viewDescriptor.name
|
|
850
|
+
viewDescriptor.name.value
|
|
744
851
|
));
|
|
745
852
|
const items = [];
|
|
746
853
|
const currentContainer = viewDescriptorService.getViewContainerByViewId(focusedViewId);
|
|
@@ -838,19 +945,19 @@ class MoveFocusedViewAction extends Action2 {
|
|
|
838
945
|
quickPick.onDidAccept(() => {
|
|
839
946
|
const destination = quickPick.selectedItems[0];
|
|
840
947
|
if (destination.id === '_.panel.newcontainer') {
|
|
841
|
-
viewDescriptorService.moveViewToLocation(viewDescriptor, 1 );
|
|
948
|
+
viewDescriptorService.moveViewToLocation(viewDescriptor, 1 , this.desc.id);
|
|
842
949
|
viewsService.openView(focusedViewId, true);
|
|
843
950
|
}
|
|
844
951
|
else if (destination.id === '_.sidebar.newcontainer') {
|
|
845
|
-
viewDescriptorService.moveViewToLocation(viewDescriptor, 0 );
|
|
952
|
+
viewDescriptorService.moveViewToLocation(viewDescriptor, 0 , this.desc.id);
|
|
846
953
|
viewsService.openView(focusedViewId, true);
|
|
847
954
|
}
|
|
848
955
|
else if (destination.id === '_.auxiliarybar.newcontainer') {
|
|
849
|
-
viewDescriptorService.moveViewToLocation(viewDescriptor, 2 );
|
|
956
|
+
viewDescriptorService.moveViewToLocation(viewDescriptor, 2 , this.desc.id);
|
|
850
957
|
viewsService.openView(focusedViewId, true);
|
|
851
958
|
}
|
|
852
959
|
else if (destination.id) {
|
|
853
|
-
viewDescriptorService.moveViewsToContainer([viewDescriptor], viewDescriptorService.getViewContainerById(destination.id));
|
|
960
|
+
viewDescriptorService.moveViewsToContainer([viewDescriptor], viewDescriptorService.getViewContainerById(destination.id), undefined, this.desc.id);
|
|
854
961
|
viewsService.openView(focusedViewId, true);
|
|
855
962
|
}
|
|
856
963
|
quickPick.hide();
|
|
@@ -898,7 +1005,7 @@ registerAction2(class extends Action2 {
|
|
|
898
1005
|
if (!defaultContainer || defaultContainer === viewDescriptorService.getViewContainerByViewId(viewDescriptor.id)) {
|
|
899
1006
|
return;
|
|
900
1007
|
}
|
|
901
|
-
viewDescriptorService.moveViewsToContainer([viewDescriptor], defaultContainer);
|
|
1008
|
+
viewDescriptorService.moveViewsToContainer([viewDescriptor], defaultContainer, undefined, this.desc.id);
|
|
902
1009
|
viewsService.openView(viewDescriptor.id, true);
|
|
903
1010
|
}
|
|
904
1011
|
});
|
|
@@ -1075,7 +1182,7 @@ if (!isMacintosh || !isNative) {
|
|
|
1075
1182
|
ToggleVisibilityActions.push(CreateToggleLayoutItem('workbench.action.toggleMenuBar', MenuBarToggledContext, ( localizeWithPath('vs/workbench/browser/actions/layoutActions', 'menuBar', "Menu Bar")), menubarIcon));
|
|
1076
1183
|
}
|
|
1077
1184
|
ToggleVisibilityActions.push(...[
|
|
1078
|
-
CreateToggleLayoutItem(
|
|
1185
|
+
CreateToggleLayoutItem(ToggleActivityBarVisibilityActionId, ( ContextKeyExpr.equals('config.workbench.activityBar.visible', true)), ( localizeWithPath(
|
|
1079
1186
|
'vs/workbench/browser/actions/layoutActions',
|
|
1080
1187
|
'activityBar',
|
|
1081
1188
|
"Activity Bar"
|
|
@@ -1296,4 +1403,4 @@ registerAction2(class CustomizeLayoutAction extends Action2 {
|
|
|
1296
1403
|
quickPick.show();
|
|
1297
1404
|
}
|
|
1298
1405
|
});
|
|
1299
|
-
export {
|
|
1406
|
+
export { EditorActionsDefaultAction, EditorActionsTitleBarAction, HideEditorActionsAction, HideEditorTabsAction, ShowEditorActionsAction, ShowMultipleEditorTabsAction, ShowSingleEditorTabAction, ToggleActivityBarVisibilityActionId, ToggleSidebarPositionAction, ToggleStatusbarVisibilityAction };
|