@codingame/monaco-vscode-api 1.83.16 → 1.85.0-next.1
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/api.js +13 -7
- package/assets/clear.mp3 +0 -0
- package/assets/format.mp3 +0 -0
- package/assets/save.mp3 +0 -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-addon-serialize/typings/xterm-addon-serialize.d.ts → @xterm/addon-serialize/typings/addon-serialize.d.ts} +20 -3
- package/external/{xterm → @xterm/xterm}/typings/xterm.d.ts +13 -1
- package/lifecycle.js +2 -2
- package/localExtensionHost.js +3 -1
- package/missing-services.js +160 -25
- 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 +21 -11
- 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/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/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 +439 -354
- 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/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 +1 -1
- 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/{services/editor/browser/editorDropService.js → contrib/speech/common/speechService.js} +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +29 -4
- 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/terminalIcon.js +7 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +5 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +143 -41
- 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 +41 -26
- 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/testCoverage.js +115 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +74 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +64 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +9 -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 +18 -3
- 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/simpleSuggestWidget.js +2 -2
- 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-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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
2
2
|
import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
|
|
3
|
-
import { Extensions as Extensions$
|
|
3
|
+
import { Extensions as Extensions$2 } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
4
4
|
import { isMacintosh, isWeb, isNative, isWindows, isLinux } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
5
|
-
import { DynamicWorkbenchConfigurationWorkbenchContribution, workbenchConfigurationNodeBase } from '../common/configuration.js';
|
|
5
|
+
import { DynamicWorkbenchConfigurationWorkbenchContribution, workbenchConfigurationNodeBase, Extensions as Extensions$1 } from '../common/configuration.js';
|
|
6
6
|
import { isStandalone } from 'monaco-editor/esm/vs/base/browser/browser.js';
|
|
7
7
|
import { Extensions } from '../common/contributions.js';
|
|
8
|
-
const registry = ( Registry.as(Extensions$
|
|
8
|
+
const registry = ( Registry.as(Extensions$2.Configuration));
|
|
9
9
|
(function registerConfiguration() {
|
|
10
10
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DynamicWorkbenchConfigurationWorkbenchContribution, 2 );
|
|
11
11
|
registry.registerConfiguration({
|
|
@@ -33,21 +33,66 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
33
33
|
)),
|
|
34
34
|
default: 'default',
|
|
35
35
|
},
|
|
36
|
-
|
|
37
|
-
'type': '
|
|
36
|
+
["workbench.editor.showTabs" ]: {
|
|
37
|
+
'type': 'string',
|
|
38
|
+
'enum': ["multiple" , "single" , "none" ],
|
|
39
|
+
'enumDescriptions': [
|
|
40
|
+
( localizeWithPath(
|
|
41
|
+
'vs/workbench/browser/workbench.contribution',
|
|
42
|
+
'workbench.editor.showTabs.multiple',
|
|
43
|
+
"Each editor is displayed as a tab in the editor title area."
|
|
44
|
+
)),
|
|
45
|
+
( localizeWithPath(
|
|
46
|
+
'vs/workbench/browser/workbench.contribution',
|
|
47
|
+
'workbench.editor.showTabs.single',
|
|
48
|
+
"The active editor is displayed as a single large tab in the editor title area."
|
|
49
|
+
)),
|
|
50
|
+
( localizeWithPath(
|
|
51
|
+
'vs/workbench/browser/workbench.contribution',
|
|
52
|
+
'workbench.editor.showTabs.none',
|
|
53
|
+
"The editor title area is not displayed."
|
|
54
|
+
)),
|
|
55
|
+
],
|
|
38
56
|
'description': ( localizeWithPath(
|
|
39
57
|
'vs/workbench/browser/workbench.contribution',
|
|
40
58
|
'showEditorTabs',
|
|
41
|
-
"Controls whether opened editors should show
|
|
59
|
+
"Controls whether opened editors should show as individual tabs, one single large tab or if the title area should not be shown."
|
|
42
60
|
)),
|
|
43
|
-
'default':
|
|
61
|
+
'default': 'multiple'
|
|
62
|
+
},
|
|
63
|
+
'workbench.editor.editorActionsLocation': {
|
|
64
|
+
'type': 'string',
|
|
65
|
+
'enum': ['default', 'titleBar', 'hidden'],
|
|
66
|
+
'enumDescriptions': [
|
|
67
|
+
( localizeWithPath(
|
|
68
|
+
'vs/workbench/browser/workbench.contribution',
|
|
69
|
+
'workbench.editor.editorActionsLocation.default',
|
|
70
|
+
"Show editor actions in the window title bar when `#workbench.editor.showTabs#` is set to `none`. Otherwise, editor actions are shown in the editor tab bar."
|
|
71
|
+
)),
|
|
72
|
+
( localizeWithPath(
|
|
73
|
+
'vs/workbench/browser/workbench.contribution',
|
|
74
|
+
'workbench.editor.editorActionsLocation.titleBar',
|
|
75
|
+
"Show editor actions in the window title bar. If `#window.titleBarStyle#` is set to `native`, editor actions are hidden."
|
|
76
|
+
)),
|
|
77
|
+
( localizeWithPath(
|
|
78
|
+
'vs/workbench/browser/workbench.contribution',
|
|
79
|
+
'workbench.editor.editorActionsLocation.hidden',
|
|
80
|
+
"Editor actions are not shown."
|
|
81
|
+
)),
|
|
82
|
+
],
|
|
83
|
+
'markdownDescription': ( localizeWithPath(
|
|
84
|
+
'vs/workbench/browser/workbench.contribution',
|
|
85
|
+
'editorActionsLocation',
|
|
86
|
+
"Controls where the editor actions are shown."
|
|
87
|
+
)),
|
|
88
|
+
'default': 'default'
|
|
44
89
|
},
|
|
45
90
|
'workbench.editor.wrapTabs': {
|
|
46
91
|
'type': 'boolean',
|
|
47
92
|
'markdownDescription': ( localizeWithPath(
|
|
48
93
|
'vs/workbench/browser/workbench.contribution',
|
|
49
94
|
'wrapTabs',
|
|
50
|
-
"Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when `#workbench.editor.showTabs#` is
|
|
95
|
+
"Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
51
96
|
)),
|
|
52
97
|
'default': false
|
|
53
98
|
},
|
|
@@ -56,7 +101,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
56
101
|
'markdownDescription': ( localizeWithPath(
|
|
57
102
|
'vs/workbench/browser/workbench.contribution',
|
|
58
103
|
{ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'scrollToSwitchTabs' },
|
|
59
|
-
"Controls whether scrolling over tabs will open them or not. By default tabs will only reveal upon scrolling, but not open. You can press and hold the Shift-key while scrolling to change this behavior for that duration. This value is ignored when `#workbench.editor.showTabs#` is
|
|
104
|
+
"Controls whether scrolling over tabs will open them or not. By default tabs will only reveal upon scrolling, but not open. You can press and hold the Shift-key while scrolling to change this behavior for that duration. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
60
105
|
)),
|
|
61
106
|
'default': false
|
|
62
107
|
},
|
|
@@ -65,7 +110,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
65
110
|
'markdownDescription': ( localizeWithPath(
|
|
66
111
|
'vs/workbench/browser/workbench.contribution',
|
|
67
112
|
'highlightModifiedTabs',
|
|
68
|
-
"Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when `#workbench.editor.showTabs#` is
|
|
113
|
+
"Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
69
114
|
)),
|
|
70
115
|
'default': false
|
|
71
116
|
},
|
|
@@ -208,14 +253,32 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
208
253
|
}
|
|
209
254
|
}
|
|
210
255
|
},
|
|
211
|
-
'workbench.editor.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
256
|
+
'workbench.editor.tabActionLocation': {
|
|
257
|
+
type: 'string',
|
|
258
|
+
enum: ['left', 'right'],
|
|
259
|
+
default: 'right',
|
|
260
|
+
markdownDescription: ( localizeWithPath(
|
|
261
|
+
'vs/workbench/browser/workbench.contribution',
|
|
262
|
+
{ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'tabActionLocation' },
|
|
263
|
+
"Controls the position of the editor's tabs action buttons (close, unpin). This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
264
|
+
))
|
|
265
|
+
},
|
|
266
|
+
'workbench.editor.tabActionCloseVisibility': {
|
|
267
|
+
type: 'boolean',
|
|
268
|
+
default: true,
|
|
269
|
+
description: ( localizeWithPath(
|
|
270
|
+
'vs/workbench/browser/workbench.contribution',
|
|
271
|
+
'workbench.editor.tabActionCloseVisibility',
|
|
272
|
+
"Controls the visibility of the tab close action button."
|
|
273
|
+
))
|
|
274
|
+
},
|
|
275
|
+
'workbench.editor.tabActionUnpinVisibility': {
|
|
276
|
+
type: 'boolean',
|
|
277
|
+
default: true,
|
|
278
|
+
description: ( localizeWithPath(
|
|
216
279
|
'vs/workbench/browser/workbench.contribution',
|
|
217
|
-
|
|
218
|
-
"Controls the
|
|
280
|
+
'workbench.editor.tabActionUnpinVisibility',
|
|
281
|
+
"Controls the visibility of the tab unpin action button."
|
|
219
282
|
))
|
|
220
283
|
},
|
|
221
284
|
'workbench.editor.tabSizing': {
|
|
@@ -242,7 +305,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
242
305
|
'markdownDescription': ( localizeWithPath(
|
|
243
306
|
'vs/workbench/browser/workbench.contribution',
|
|
244
307
|
{ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'tabSizing' },
|
|
245
|
-
"Controls the size of editor tabs. This value is ignored when `#workbench.editor.showTabs#` is
|
|
308
|
+
"Controls the size of editor tabs. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
246
309
|
))
|
|
247
310
|
},
|
|
248
311
|
'workbench.editor.tabSizingFixedMinWidth': {
|
|
@@ -272,7 +335,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
272
335
|
'markdownDescription': ( localizeWithPath(
|
|
273
336
|
'vs/workbench/browser/workbench.contribution',
|
|
274
337
|
{ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabHeight' },
|
|
275
|
-
"Controls the height of editor tabs. Also applies to the title control bar when `#workbench.editor.showTabs#` is
|
|
338
|
+
"Controls the height of editor tabs. Also applies to the title control bar when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
276
339
|
))
|
|
277
340
|
},
|
|
278
341
|
'workbench.editor.pinnedTabSizing': {
|
|
@@ -299,7 +362,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
299
362
|
'markdownDescription': ( localizeWithPath(
|
|
300
363
|
'vs/workbench/browser/workbench.contribution',
|
|
301
364
|
{ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'pinnedTabSizing' },
|
|
302
|
-
"Controls the size of pinned editor tabs. Pinned tabs are sorted to the beginning of all opened tabs and typically do not close until unpinned. This value is ignored when `#workbench.editor.showTabs#` is
|
|
365
|
+
"Controls the size of pinned editor tabs. Pinned tabs are sorted to the beginning of all opened tabs and typically do not close until unpinned. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
303
366
|
))
|
|
304
367
|
},
|
|
305
368
|
'workbench.editor.pinnedTabsOnSeparateRow': {
|
|
@@ -308,7 +371,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
308
371
|
'markdownDescription': ( localizeWithPath(
|
|
309
372
|
'vs/workbench/browser/workbench.contribution',
|
|
310
373
|
'workbench.editor.pinnedTabsOnSeparateRow',
|
|
311
|
-
"When enabled, displays pinned tabs in a separate row above all other tabs. This value is ignored when `#workbench.editor.showTabs#` is
|
|
374
|
+
"When enabled, displays pinned tabs in a separate row above all other tabs. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
312
375
|
)),
|
|
313
376
|
},
|
|
314
377
|
'workbench.editor.preventPinnedEditorClose': {
|
|
@@ -379,6 +442,15 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
379
442
|
"Controls if editor groups can be split from drag and drop operations by dropping an editor or file on the edges of the editor area."
|
|
380
443
|
))
|
|
381
444
|
},
|
|
445
|
+
'workbench.editor.dragToOpenWindow': {
|
|
446
|
+
'type': 'boolean',
|
|
447
|
+
'default': true,
|
|
448
|
+
'markdownDescription': ( localizeWithPath(
|
|
449
|
+
'vs/workbench/browser/workbench.contribution',
|
|
450
|
+
'dragToOpenWindow',
|
|
451
|
+
"Controls if editors can be dragged out of the window to open them in a new window. Press and hold `Alt`-key while dragging to toggle this dynamically."
|
|
452
|
+
))
|
|
453
|
+
},
|
|
382
454
|
'workbench.editor.focusRecentEditorAfterClose': {
|
|
383
455
|
'type': 'boolean',
|
|
384
456
|
'description': ( localizeWithPath(
|
|
@@ -568,13 +640,31 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
568
640
|
))
|
|
569
641
|
},
|
|
570
642
|
'workbench.editor.doubleClickTabToToggleEditorGroupSizes': {
|
|
571
|
-
'type': '
|
|
572
|
-
'
|
|
643
|
+
'type': 'string',
|
|
644
|
+
'enum': ['maximize', 'expand', 'off'],
|
|
645
|
+
'default': 'expand',
|
|
573
646
|
'markdownDescription': ( localizeWithPath(
|
|
574
647
|
'vs/workbench/browser/workbench.contribution',
|
|
575
648
|
{ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'doubleClickTabToToggleEditorGroupSizes' },
|
|
576
|
-
"Controls
|
|
577
|
-
))
|
|
649
|
+
"Controls how the editor group is resized when double clicking on a tab. This value is ignored when `#workbench.editor.showTabs#` is not set to `multiple`."
|
|
650
|
+
)),
|
|
651
|
+
'enumDescriptions': [
|
|
652
|
+
( localizeWithPath(
|
|
653
|
+
'vs/workbench/browser/workbench.contribution',
|
|
654
|
+
'workbench.editor.doubleClickTabToToggleEditorGroupSizes.maximize',
|
|
655
|
+
"All other editor groups are hidden and the current editor group is maximized to take up the entire editor area."
|
|
656
|
+
)),
|
|
657
|
+
( localizeWithPath(
|
|
658
|
+
'vs/workbench/browser/workbench.contribution',
|
|
659
|
+
'workbench.editor.doubleClickTabToToggleEditorGroupSizes.expand',
|
|
660
|
+
"The editor group takes as much space as possible by making all other editor groups as small as possible."
|
|
661
|
+
)),
|
|
662
|
+
( localizeWithPath(
|
|
663
|
+
'vs/workbench/browser/workbench.contribution',
|
|
664
|
+
'workbench.editor.doubleClickTabToToggleEditorGroupSizes.off',
|
|
665
|
+
"No editor group is resized when double clicking on a tab."
|
|
666
|
+
))
|
|
667
|
+
]
|
|
578
668
|
},
|
|
579
669
|
'workbench.editor.limit.enabled': {
|
|
580
670
|
'type': 'boolean',
|
|
@@ -832,14 +922,34 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
832
922
|
"Controls the visibility of the status bar at the bottom of the workbench."
|
|
833
923
|
))
|
|
834
924
|
},
|
|
835
|
-
|
|
836
|
-
'type': '
|
|
837
|
-
'
|
|
838
|
-
'
|
|
925
|
+
["workbench.activityBar.location" ]: {
|
|
926
|
+
'type': 'string',
|
|
927
|
+
'enum': ['side', 'top', 'hidden'],
|
|
928
|
+
'default': 'side',
|
|
929
|
+
'markdownDescription': ( localizeWithPath(
|
|
839
930
|
'vs/workbench/browser/workbench.contribution',
|
|
840
|
-
'
|
|
841
|
-
"Controls the
|
|
842
|
-
|
|
931
|
+
{ comment: ['This is the description for a setting'], key: 'activityBarLocation' },
|
|
932
|
+
"Controls the location of the activity bar. It can either show to the `side` or `top` (requires {0} set to {1}) of the primary side bar or `hidden`.",
|
|
933
|
+
'`#window.titleBarStyle#`',
|
|
934
|
+
'`custom`'
|
|
935
|
+
)),
|
|
936
|
+
'enumDescriptions': [
|
|
937
|
+
( localizeWithPath(
|
|
938
|
+
'vs/workbench/browser/workbench.contribution',
|
|
939
|
+
'workbench.activityBar.location.side',
|
|
940
|
+
"Show the activity bar to the side of the primary side bar."
|
|
941
|
+
)),
|
|
942
|
+
( localizeWithPath(
|
|
943
|
+
'vs/workbench/browser/workbench.contribution',
|
|
944
|
+
'workbench.activityBar.location.top',
|
|
945
|
+
"Show the activity bar on top of the primary side bar."
|
|
946
|
+
)),
|
|
947
|
+
( localizeWithPath(
|
|
948
|
+
'vs/workbench/browser/workbench.contribution',
|
|
949
|
+
'workbench.activityBar.location.hide',
|
|
950
|
+
"Hide the activity bar."
|
|
951
|
+
))
|
|
952
|
+
]
|
|
843
953
|
},
|
|
844
954
|
'workbench.activityBar.iconClickBehavior': {
|
|
845
955
|
'type': 'string',
|
|
@@ -1147,7 +1257,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
1147
1257
|
'`#window.title#`'
|
|
1148
1258
|
))
|
|
1149
1259
|
},
|
|
1150
|
-
|
|
1260
|
+
["window.commandCenter" ]: {
|
|
1151
1261
|
type: 'boolean',
|
|
1152
1262
|
default: true,
|
|
1153
1263
|
markdownDescription: isWeb ?
|
|
@@ -1361,7 +1471,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
1361
1471
|
( localizeWithPath(
|
|
1362
1472
|
'vs/workbench/browser/workbench.contribution',
|
|
1363
1473
|
'confirmBeforeClose',
|
|
1364
|
-
"Controls whether to show a confirmation dialog before closing
|
|
1474
|
+
"Controls whether to show a confirmation dialog before closing a window or quitting the application."
|
|
1365
1475
|
)),
|
|
1366
1476
|
'scope': 1
|
|
1367
1477
|
}
|
|
@@ -1395,14 +1505,32 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
1395
1505
|
"Controls whether turning on Zen Mode also centers the layout."
|
|
1396
1506
|
))
|
|
1397
1507
|
},
|
|
1398
|
-
'zenMode.
|
|
1399
|
-
'type': '
|
|
1400
|
-
'
|
|
1508
|
+
'zenMode.showTabs': {
|
|
1509
|
+
'type': 'string',
|
|
1510
|
+
'enum': ['multiple', 'single', 'none'],
|
|
1401
1511
|
'description': ( localizeWithPath(
|
|
1402
1512
|
'vs/workbench/browser/workbench.contribution',
|
|
1403
|
-
'zenMode.
|
|
1404
|
-
"Controls whether turning on Zen Mode
|
|
1405
|
-
))
|
|
1513
|
+
'zenMode.showTabs',
|
|
1514
|
+
"Controls whether turning on Zen Mode should show multiple editor tabs, a single editor tab or hide the editor title area completely."
|
|
1515
|
+
)),
|
|
1516
|
+
'enumDescriptions': [
|
|
1517
|
+
( localizeWithPath(
|
|
1518
|
+
'vs/workbench/browser/workbench.contribution',
|
|
1519
|
+
'zenMode.showTabs.multiple',
|
|
1520
|
+
"Each editor is displayed as a tab in the editor title area."
|
|
1521
|
+
)),
|
|
1522
|
+
( localizeWithPath(
|
|
1523
|
+
'vs/workbench/browser/workbench.contribution',
|
|
1524
|
+
'zenMode.showTabs.single',
|
|
1525
|
+
"The active editor is displayed as a single large tab in the editor title area."
|
|
1526
|
+
)),
|
|
1527
|
+
( localizeWithPath(
|
|
1528
|
+
'vs/workbench/browser/workbench.contribution',
|
|
1529
|
+
'zenMode.showTabs.none',
|
|
1530
|
+
"The editor title area is not displayed."
|
|
1531
|
+
)),
|
|
1532
|
+
],
|
|
1533
|
+
'default': 'multiple'
|
|
1406
1534
|
},
|
|
1407
1535
|
'zenMode.hideStatusBar': {
|
|
1408
1536
|
'type': 'boolean',
|
|
@@ -1452,3 +1580,55 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
1452
1580
|
}
|
|
1453
1581
|
});
|
|
1454
1582
|
})();
|
|
1583
|
+
( Registry.as(Extensions$1.ConfigurationMigration))
|
|
1584
|
+
.registerConfigurationMigrations([{
|
|
1585
|
+
key: 'workbench.activityBar.visible', migrateFn: (value) => {
|
|
1586
|
+
const result = [];
|
|
1587
|
+
if (value !== undefined) {
|
|
1588
|
+
result.push(['workbench.activityBar.visible', { value: undefined }]);
|
|
1589
|
+
}
|
|
1590
|
+
if (value === false) {
|
|
1591
|
+
result.push(["workbench.activityBar.location" , { value: "hidden" }]);
|
|
1592
|
+
}
|
|
1593
|
+
return result;
|
|
1594
|
+
}
|
|
1595
|
+
}]);
|
|
1596
|
+
( Registry.as(Extensions$1.ConfigurationMigration))
|
|
1597
|
+
.registerConfigurationMigrations([{
|
|
1598
|
+
key: 'workbench.editor.doubleClickTabToToggleEditorGroupSizes', migrateFn: (value) => {
|
|
1599
|
+
const results = [];
|
|
1600
|
+
if (typeof value === 'boolean') {
|
|
1601
|
+
value = value ? 'expand' : 'off';
|
|
1602
|
+
results.push(['workbench.editor.doubleClickTabToToggleEditorGroupSizes', { value }]);
|
|
1603
|
+
}
|
|
1604
|
+
return results;
|
|
1605
|
+
}
|
|
1606
|
+
}, {
|
|
1607
|
+
key: "workbench.editor.showTabs" , migrateFn: (value) => {
|
|
1608
|
+
const results = [];
|
|
1609
|
+
if (typeof value === 'boolean') {
|
|
1610
|
+
value = value ? "multiple" : "single" ;
|
|
1611
|
+
results.push(["workbench.editor.showTabs" , { value }]);
|
|
1612
|
+
}
|
|
1613
|
+
return results;
|
|
1614
|
+
}
|
|
1615
|
+
}, {
|
|
1616
|
+
key: 'workbench.editor.tabCloseButton', migrateFn: (value) => {
|
|
1617
|
+
const result = [];
|
|
1618
|
+
if (value === 'left' || value === 'right') {
|
|
1619
|
+
result.push(['workbench.editor.tabActionLocation', { value }]);
|
|
1620
|
+
}
|
|
1621
|
+
else if (value === 'off') {
|
|
1622
|
+
result.push(['workbench.editor.tabActionCloseVisibility', { value: false }]);
|
|
1623
|
+
}
|
|
1624
|
+
return result;
|
|
1625
|
+
}
|
|
1626
|
+
}, {
|
|
1627
|
+
key: 'zenMode.hideTabs', migrateFn: (value) => {
|
|
1628
|
+
const result = [['zenMode.hideTabs', { value: undefined }]];
|
|
1629
|
+
if (value === true) {
|
|
1630
|
+
result.push(['zenMode.showTabs', { value: 'single' }]);
|
|
1631
|
+
}
|
|
1632
|
+
return result;
|
|
1633
|
+
}
|
|
1634
|
+
}]);
|
|
@@ -8,6 +8,7 @@ import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.j
|
|
|
8
8
|
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
9
9
|
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
10
10
|
import { DEFAULT_EDITOR_ASSOCIATION } from './editor.js';
|
|
11
|
+
import { isLinux } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
11
12
|
var ResourceContextKey_1;
|
|
12
13
|
const WorkbenchStateContext = ( new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localizeWithPath(
|
|
13
14
|
'vs/workbench/common/contextkeys',
|
|
@@ -47,6 +48,11 @@ const IsFullscreenContext = ( new RawContextKey('isFullscreen', false, ( localiz
|
|
|
47
48
|
'isFullscreen',
|
|
48
49
|
"Whether the window is in fullscreen mode"
|
|
49
50
|
))));
|
|
51
|
+
const IsAuxiliaryWindowFocusedContext = ( new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localizeWithPath(
|
|
52
|
+
'vs/workbench/common/contextkeys',
|
|
53
|
+
'isAuxiliaryWindowFocusedContext',
|
|
54
|
+
"Whether an auxiliary window is focused"
|
|
55
|
+
))));
|
|
50
56
|
const HasWebFileSystemAccess = ( new RawContextKey('hasWebFileSystemAccess', false, true));
|
|
51
57
|
const EmbedderIdentifierContext = ( new RawContextKey('embedderIdentifier', undefined, ( localizeWithPath(
|
|
52
58
|
'vs/workbench/common/contextkeys',
|
|
@@ -149,6 +155,21 @@ const MultipleEditorGroupsContext = ( new RawContextKey('multipleEditorGroups',
|
|
|
149
155
|
'multipleEditorGroups',
|
|
150
156
|
"Whether there are multiple editor groups opened"
|
|
151
157
|
))));
|
|
158
|
+
const EditorPartMultipleEditorGroupsContext = ( new RawContextKey('editorPartMultipleEditorGroups', false, ( localizeWithPath(
|
|
159
|
+
'vs/workbench/common/contextkeys',
|
|
160
|
+
'editorPartMultipleEditorGroups',
|
|
161
|
+
"Whether there are multiple editor groups opened in an editor part"
|
|
162
|
+
))));
|
|
163
|
+
const EditorPartMaximizedEditorGroupContext = ( new RawContextKey('editorPartMaximizedEditorGroup', false, ( localizeWithPath(
|
|
164
|
+
'vs/workbench/common/contextkeys',
|
|
165
|
+
'editorPartEditorGroupMaximized',
|
|
166
|
+
"Editor Part has a maximized group"
|
|
167
|
+
))));
|
|
168
|
+
const IsAuxiliaryEditorPartContext = ( new RawContextKey('isAuxiliaryEditorPart', false, ( localizeWithPath(
|
|
169
|
+
'vs/workbench/common/contextkeys',
|
|
170
|
+
'isAuxiliaryEditorPart',
|
|
171
|
+
"Editor Part is in an auxiliary window"
|
|
172
|
+
))));
|
|
152
173
|
const EditorsVisibleContext = ( new RawContextKey('editorIsOpen', false, ( localizeWithPath(
|
|
153
174
|
'vs/workbench/common/contextkeys',
|
|
154
175
|
'editorIsOpen',
|
|
@@ -169,10 +190,10 @@ const SplitEditorsVertically = ( new RawContextKey('splitEditorsVertically', fal
|
|
|
169
190
|
'splitEditorsVertically',
|
|
170
191
|
"Whether editors split vertically"
|
|
171
192
|
))));
|
|
172
|
-
const
|
|
193
|
+
const MainEditorAreaVisibleContext = ( new RawContextKey('mainEditorAreaVisible', true, ( localizeWithPath(
|
|
173
194
|
'vs/workbench/common/contextkeys',
|
|
174
|
-
'
|
|
175
|
-
"Whether the editor area is visible"
|
|
195
|
+
'mainEditorAreaVisible',
|
|
196
|
+
"Whether the editor area in the main window is visible"
|
|
176
197
|
))));
|
|
177
198
|
const EditorTabsVisibleContext = ( new RawContextKey('editorTabsVisible', true, ( localizeWithPath(
|
|
178
199
|
'vs/workbench/common/contextkeys',
|
|
@@ -200,6 +221,16 @@ const StatusBarFocused = ( new RawContextKey('statusBarFocused', false, ( locali
|
|
|
200
221
|
'statusBarFocused',
|
|
201
222
|
"Whether the status bar has keyboard focus"
|
|
202
223
|
))));
|
|
224
|
+
const TitleBarStyleContext = ( new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localizeWithPath(
|
|
225
|
+
'vs/workbench/common/contextkeys',
|
|
226
|
+
'titleBarStyle',
|
|
227
|
+
"Style of the window title bar"
|
|
228
|
+
))));
|
|
229
|
+
const TitleBarVisibleContext = ( new RawContextKey('titleBarVisible', false, ( localizeWithPath(
|
|
230
|
+
'vs/workbench/common/contextkeys',
|
|
231
|
+
'titleBarVisible',
|
|
232
|
+
"Whether the title bar is visible"
|
|
233
|
+
))));
|
|
203
234
|
const BannerFocused = ( new RawContextKey('bannerFocused', false, ( localizeWithPath(
|
|
204
235
|
'vs/workbench/common/contextkeys',
|
|
205
236
|
'bannerFocused',
|
|
@@ -271,7 +302,6 @@ const FocusedViewContext = ( new RawContextKey('focusedView', '', ( localizeWith
|
|
|
271
302
|
"The identifier of the view that has keyboard focus"
|
|
272
303
|
))));
|
|
273
304
|
function getVisbileViewContextKey(viewId) { return `view.${viewId}.visible`; }
|
|
274
|
-
function getEnabledViewContainerContextKey(viewContainerId) { return `viewContainer.${viewContainerId}.enabled`; }
|
|
275
305
|
let ResourceContextKey = class ResourceContextKey {
|
|
276
306
|
static { ResourceContextKey_1 = this; }
|
|
277
307
|
static { this.Scheme = ( new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localizeWithPath(
|
|
@@ -439,4 +469,4 @@ function applyAvailableEditorIds(contextKey, editor, editorResolverService) {
|
|
|
439
469
|
contextKey.set(editors.join(','));
|
|
440
470
|
}
|
|
441
471
|
}
|
|
442
|
-
export { ActiveAuxiliaryContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext,
|
|
472
|
+
export { ActiveAuxiliaryContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext, EditorGroupEditorsCountContext, EditorPartMaximizedEditorGroupContext, EditorPartMultipleEditorGroupsContext, EditorPinnedAndUnpinnedTabsContext, EditorTabsVisibleContext, EditorsVisibleContext, EmbedderIdentifierContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, FocusedViewContext, HasWebFileSystemAccess, InEditorZenModeContext, IsAuxiliaryEditorPartContext, IsAuxiliaryWindowFocusedContext, IsCenteredLayoutContext, IsFullscreenContext, MainEditorAreaVisibleContext, MultipleEditorGroupsContext, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, OpenFolderWorkspaceSupportContext, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, RemoteNameContext, ResourceContextKey, SideBarVisibleContext, SideBySideEditorActiveContext, SidebarFocusContext, SplitEditorsVertically, StatusBarFocused, TemporaryWorkspaceContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext, TitleBarStyleContext, TitleBarVisibleContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, applyAvailableEditorIds, getVisbileViewContextKey };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
2
2
|
import { ILifecycleService } from '../services/lifecycle/common/lifecycle.js';
|
|
3
3
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
4
|
-
import { DeferredPromise,
|
|
4
|
+
import { DeferredPromise, runWhenGlobalIdle } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
5
5
|
import { mark } from 'monaco-editor/esm/vs/base/common/performance.js';
|
|
6
6
|
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
7
7
|
import { IEnvironmentService } from 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
|
@@ -13,6 +13,7 @@ class WorkbenchContributionsRegistry {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
this.contributions = ( new Map());
|
|
15
15
|
this.pendingRestoredContributions = ( new DeferredPromise());
|
|
16
|
+
this.whenRestored = this.pendingRestoredContributions.p;
|
|
16
17
|
}
|
|
17
18
|
registerWorkbenchContribution(contribution, phase = 1 ) {
|
|
18
19
|
if (this.instantiationService && this.lifecycleService && this.logService && this.environmentService && this.lifecycleService.phase >= phase) {
|
|
@@ -78,7 +79,7 @@ class WorkbenchContributionsRegistry {
|
|
|
78
79
|
const contribution = contributions[i++];
|
|
79
80
|
this.safeCreateContribution(instantiationService, logService, environmentService, contribution, phase);
|
|
80
81
|
if (idle.timeRemaining() < 1) {
|
|
81
|
-
|
|
82
|
+
runWhenGlobalIdle(instantiateSome, forcedTimeout);
|
|
82
83
|
break;
|
|
83
84
|
}
|
|
84
85
|
}
|
|
@@ -89,7 +90,7 @@ class WorkbenchContributionsRegistry {
|
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
92
|
};
|
|
92
|
-
|
|
93
|
+
runWhenGlobalIdle(instantiateSome, forcedTimeout);
|
|
93
94
|
}
|
|
94
95
|
safeCreateContribution(instantiationService, logService, environmentService, contribution, phase) {
|
|
95
96
|
const now = phase < 3 ? Date.now() : undefined;
|
|
@@ -7,6 +7,7 @@ import { DiffEditorModel } from './diffEditorModel.js';
|
|
|
7
7
|
import { TextDiffEditorModel } from './textDiffEditorModel.js';
|
|
8
8
|
import { IEditorService } from '../../services/editor/common/editorService.js';
|
|
9
9
|
import { shorten } from 'monaco-editor/esm/vs/base/common/labels.js';
|
|
10
|
+
import { isResolvedEditorModel } from 'monaco-editor/esm/vs/platform/editor/common/editor.js';
|
|
10
11
|
var DiffEditorInput_1;
|
|
11
12
|
let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
|
|
12
13
|
static { DiffEditorInput_1 = this; }
|
|
@@ -70,9 +71,15 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
|
|
|
70
71
|
mediumDescription = this.computeLabel(shortenedOriginalMediumDescription, shortenedModifiedMediumDescription);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
let shortTitle = this.computeLabel(this.original.getTitle(0 ) ?? this.original.getName(), this.modified.getTitle(0 ) ?? this.modified.getName(), ' ↔ ');
|
|
75
|
+
let mediumTitle = this.computeLabel(this.original.getTitle(1 ) ?? this.original.getName(), this.modified.getTitle(1 ) ?? this.modified.getName(), ' ↔ ');
|
|
76
|
+
let longTitle = this.computeLabel(this.original.getTitle(2 ) ?? this.original.getName(), this.modified.getTitle(2 ) ?? this.modified.getName(), ' ↔ ');
|
|
77
|
+
const preferredTitle = this.getPreferredTitle();
|
|
78
|
+
if (preferredTitle) {
|
|
79
|
+
shortTitle = `${preferredTitle} (${shortTitle})`;
|
|
80
|
+
mediumTitle = `${preferredTitle} (${mediumTitle})`;
|
|
81
|
+
longTitle = `${preferredTitle} (${longTitle})`;
|
|
82
|
+
}
|
|
76
83
|
return { name, shortDescription, mediumDescription, longDescription, forceDescription, shortTitle, mediumTitle, longTitle };
|
|
77
84
|
}
|
|
78
85
|
computeLabel(originalLabel, modifiedLabel, separator = ' - ') {
|
|
@@ -129,7 +136,10 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
|
|
|
129
136
|
if (modifiedEditorModel instanceof BaseTextEditorModel && originalEditorModel instanceof BaseTextEditorModel) {
|
|
130
137
|
return ( new TextDiffEditorModel(originalEditorModel, modifiedEditorModel));
|
|
131
138
|
}
|
|
132
|
-
return ( new DiffEditorModel(
|
|
139
|
+
return ( new DiffEditorModel(
|
|
140
|
+
isResolvedEditorModel(originalEditorModel) ? originalEditorModel : undefined,
|
|
141
|
+
isResolvedEditorModel(modifiedEditorModel) ? modifiedEditorModel : undefined
|
|
142
|
+
));
|
|
133
143
|
}
|
|
134
144
|
toUntyped(options) {
|
|
135
145
|
const untyped = super.toUntyped(options);
|
|
@@ -14,7 +14,7 @@ class DiffEditorModel extends EditorModel {
|
|
|
14
14
|
]);
|
|
15
15
|
}
|
|
16
16
|
isResolved() {
|
|
17
|
-
return !!(this.
|
|
17
|
+
return !!(this._originalModel?.isResolved() && this._modifiedModel?.isResolved());
|
|
18
18
|
}
|
|
19
19
|
dispose() {
|
|
20
20
|
super.dispose();
|