@codingame/monaco-vscode-api 1.81.8-next.3 → 1.82.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 +14 -0
- package/api.js +12 -8
- package/missing-services.js +69 -20
- package/monaco-editor-treemending.patch +1407 -1026
- package/monaco-treemending.js +2 -2
- package/monaco.d.ts +1 -1
- package/package.json +3 -3
- package/service-override/extensions.d.ts +1 -1
- package/service-override/extensions.js +5 -1
- package/service-override/quickaccess.d.ts +2 -1
- package/service-override/quickaccess.js +5 -2
- package/service-override/search.js +2 -2
- package/service-override/snippets.d.ts +1 -1
- package/service-override/storage.d.ts +1 -1
- package/service-override/theme.d.ts +1 -1
- package/service-override/tools/editor.d.ts +1 -1
- package/service-override/tools/editor.js +4 -3
- package/service-override/views.d.ts +1 -1
- package/service-override/views.js +0 -2
- package/vscode/src/vs/base/browser/contextmenu.d.ts +1 -1
- package/vscode/src/vs/base/browser/dom.d.ts +1 -1
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +1 -1
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +7 -1
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/grid/grid.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/grid/gridview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +1 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabelHover.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -2
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +5 -1
- package/vscode/src/vs/base/common/actions.d.ts +1 -1
- package/vscode/src/vs/base/common/async.d.ts +1 -1
- package/vscode/src/vs/base/common/buffer.d.ts +1 -1
- package/vscode/src/vs/base/common/codicons.d.ts +5 -0
- package/vscode/src/vs/base/common/collections.d.ts +1 -1
- package/vscode/src/vs/base/common/dataTransfer.d.ts +1 -1
- package/vscode/src/vs/base/common/errors.d.ts +1 -1
- package/vscode/src/vs/base/common/event.d.ts +10 -2
- package/vscode/src/vs/base/common/filters.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.d.ts +1 -1
- package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
- package/vscode/src/vs/base/common/jsonSchema.d.ts +1 -1
- package/vscode/src/vs/base/common/keybindings.d.ts +1 -1
- package/vscode/src/vs/base/common/lifecycle.d.ts +1 -1
- package/vscode/src/vs/base/common/{observableImpl → observableInternal}/base.d.ts +1 -1
- package/vscode/src/vs/base/common/path.d.ts +1 -1
- package/vscode/src/vs/base/common/performance.d.ts +1 -1
- package/vscode/src/vs/base/common/platform.d.ts +1 -1
- package/vscode/src/vs/base/common/prefixTree.js +76 -13
- package/vscode/src/vs/base/common/processes.d.ts +1 -1
- package/vscode/src/vs/base/common/product.d.ts +10 -6
- package/vscode/src/vs/base/common/resources.d.ts +1 -1
- package/vscode/src/vs/base/common/stream.d.ts +1 -1
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +1 -1
- package/vscode/src/vs/base/common/themables.d.ts +1 -1
- package/vscode/src/vs/base/common/types.d.ts +1 -1
- package/vscode/src/vs/base/common/uri.d.ts +1 -1
- package/vscode/src/vs/base/common/uriIpc.d.ts +1 -1
- package/vscode/src/vs/base/parts/ipc/common/ipc.d.ts +1 -1
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.d.ts +1 -1
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +1 -1
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/codeEditorService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.js +122 -26
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +25 -5
- package/vscode/src/vs/editor/common/core/dimension.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/editOperation.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +8 -1
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +47 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/selection.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/documentDiffProvider.d.ts +3 -2
- package/vscode/src/vs/editor/common/diff/{smartLinesDiffComputer.d.ts → legacyLinesDiffComputer.d.ts} +1 -1
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +1 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -1
- package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +1 -1
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
- package/vscode/src/vs/editor/common/languageSelector.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/language.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +37 -7
- package/vscode/src/vs/editor/common/model.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +1 -0
- package/vscode/src/vs/editor/common/services/resolverService.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/unicodeTextModelHighlighter.d.ts +1 -1
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +1 -1
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +1 -1
- package/vscode/src/vs/platform/action/common/action.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +73 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -1
- package/vscode/src/vs/platform/actions/common/actions.d.ts +5 -2
- package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +10 -3
- package/vscode/src/vs/platform/commands/common/commands.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +1 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +1 -1
- package/vscode/src/vs/platform/credentials/common/credentials.d.ts +1 -1
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +1 -1
- package/vscode/src/vs/platform/environment/common/environment.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +13 -14
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -1
- package/vscode/src/vs/platform/files/common/files.d.ts +1 -1
- package/vscode/src/vs/platform/instantiation/common/descriptors.d.ts +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +1 -1
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +1 -1
- package/vscode/src/vs/platform/log/common/log.d.ts +1 -1
- package/vscode/src/vs/platform/markers/common/markers.d.ts +1 -1
- package/vscode/src/vs/platform/notification/common/notification.d.ts +1 -1
- package/vscode/src/vs/platform/opener/common/opener.d.ts +1 -1
- package/vscode/src/vs/platform/policy/common/policy.d.ts +1 -1
- package/vscode/src/vs/platform/progress/common/progress.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +17 -13
- package/vscode/src/vs/platform/registry/common/platform.d.ts +1 -1
- package/vscode/src/vs/platform/remote/browser/browserSocketFactory.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/managedSocket.js +80 -1
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/remoteAgentEnvironment.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.d.ts +1 -1
- package/vscode/src/vs/platform/secrets/common/secrets.d.ts +1 -1
- package/vscode/src/vs/platform/storage/common/storage.d.ts +24 -5
- package/vscode/src/vs/platform/storage/common/storage.js +4 -2
- package/vscode/src/vs/platform/telemetry/common/gdprTypings.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +4 -2
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +21 -3
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +32 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +14 -9
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +4 -2
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +18 -4
- package/vscode/src/vs/platform/terminal/common/environmentVariable.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +6 -3
- package/vscode/src/vs/platform/theme/common/colorRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +1 -1
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +1 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +1 -1
- package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +5 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.d.ts +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadAiEmbeddingVector.js +29 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadAiRelatedInformation.js +33 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChat.js +13 -16
- package/vscode/src/vs/workbench/api/browser/mainThreadChatProvider.js +59 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSlashCommands.js +46 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatVariables.js +29 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +5 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadEditor.js +1 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadEditors.js +4 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadInlineChat.js +2 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageFeatures.js +31 -14
- package/vscode/src/vs/workbench/api/browser/mainThreadManagedSockets.js +12 -67
- package/vscode/src/vs/workbench/api/browser/mainThreadStorage.js +7 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.js +36 -11
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +21 -17
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +4 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +2 -3
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +10 -1
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +55 -16
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +32 -7
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +10 -2
- package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +34 -0
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +21 -2
- package/vscode/src/vs/workbench/api/common/extHostChat.js +12 -31
- package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +70 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSlashCommand.js +53 -0
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +37 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +11 -0
- package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostDecorations.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +34 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +5 -4
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +11 -10
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +45 -15
- package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.js +5 -3
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +17 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +12 -11
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +66 -53
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +32 -18
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +19 -5
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +128 -6
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +28 -13
- package/vscode/src/vs/workbench/api/common/extHostWindow.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -3
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +5 -3
- package/vscode/src/vs/workbench/browser/codeeditor.js +34 -67
- package/vscode/src/vs/workbench/browser/dnd.js +3 -2
- package/vscode/src/vs/workbench/browser/part.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.js +37 -20
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +21 -22
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +10 -7
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/accessibilityStatus.js +19 -24
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +11 -9
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +1 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +17 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +1 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +25 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +10 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +13 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +10 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +14 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/noTabsTitleControl.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +7 -5
- package/vscode/src/vs/workbench/browser/parts/editor/tabsTitleControl.js +42 -32
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +13 -6
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/editor/titleControl.js +6 -5
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +5 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +9 -7
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +14 -11
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +14 -10
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarItem.js +12 -2
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarModel.js +21 -23
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +10 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +13 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +37 -7
- package/vscode/src/vs/workbench/common/composite.d.ts +1 -1
- package/vscode/src/vs/workbench/common/contextkeys.js +12 -10
- package/vscode/src/vs/workbench/common/contributions.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +6 -8
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +15 -5
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -5
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +5 -4
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +5 -3
- package/vscode/src/vs/workbench/common/editor.d.ts +3 -1
- package/vscode/src/vs/workbench/common/editor.js +18 -1
- package/vscode/src/vs/workbench/common/memento.d.ts +1 -1
- package/vscode/src/vs/workbench/common/panecomposite.d.ts +1 -1
- package/vscode/src/vs/workbench/common/resources.js +11 -9
- package/vscode/src/vs/workbench/common/theme.js +118 -10
- package/vscode/src/vs/workbench/common/views.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +5 -241
- package/vscode/src/vs/workbench/contrib/accessibility/browser/{accessibilityContribution.js → accessibilityConfiguration.js} +50 -73
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +312 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +376 -81
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +216 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +63 -0
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueDebuggerContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueLineFeatureContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +4 -1
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.js +8 -3
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +10 -7
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +204 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatProvider.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.js +3 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +21 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +45 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +4 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +4 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +14 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +0 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +7 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadRangeDecorator.js +4 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +15 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +2 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +2 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +7 -5
- package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +4 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +13 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +10 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +5 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +3 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +5 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +27 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +17 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +10 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +10 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +5 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +4 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +5 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +19 -11
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +25 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +225 -113
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/contributedOpeners.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +4 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +29 -5
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +11 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +4 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +11 -6
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +22 -19
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +11 -7
- package/vscode/src/vs/workbench/contrib/files/common/files.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +6 -5
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +16 -14
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -3
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +7 -5
- package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +4 -2
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +16 -23
- package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.js +1 -2
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +10 -6
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +1 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +7 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +5 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +27 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +0 -24
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +1 -6
- package/vscode/src/vs/workbench/contrib/output/browser/logViewer.js +7 -4
- package/vscode/src/vs/workbench/contrib/output/browser/outputLinkProvider.js +4 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +16 -11
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +13 -8
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferences.contribution.js +77 -62
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +5 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.js +114 -36
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditor2.js +92 -73
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.js +21 -14
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +110 -103
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsWidgets.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +4 -4
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +38 -36
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +6 -2
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +5 -4
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +2 -2
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +66 -36
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +7 -5
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +57 -55
- package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +232 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +7 -5
- package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +33 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +1 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +23 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +5 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +162 -90
- package/vscode/src/vs/workbench/contrib/search/browser/searchNotebookHelpers.js +57 -23
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +10 -6
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +80 -58
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +7 -5
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +7 -6
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +2 -1
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.js +7 -5
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +10 -7
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +1 -2
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +7 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCodeActionProvider.js +9 -6
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -6
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +5 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.js +5 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +54 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/terminal.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.js +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +56 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +44 -31
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +4 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorService.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +47 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroup.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroupService.js +13 -18
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +86 -73
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +15 -103
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +1 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileService.js +11 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +4 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +4 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalService.js +49 -32
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +9 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalView.js +30 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +91 -25
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.js +4 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +6 -6
- package/vscode/src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.js +6 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +35 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +3 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.js +62 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +8 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +7 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.js +48 -11
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibilityHelp.js +42 -17
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBuffer.js +23 -17
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleWidget.js +30 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js +98 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.js +8 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +12 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +44 -17
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +2 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -7
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +4 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +5 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +4 -2
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +5 -4
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +28 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +1 -1
- package/vscode/src/vs/workbench/services/{semanticSimilarity/common/semanticSimilarityService.js → aiEmbeddingVector/common/aiEmbeddingVectorService.js} +18 -13
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.js +10 -0
- package/vscode/src/vs/workbench/services/configuration/browser/configuration.js +6 -4
- package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +1 -1
- package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +5 -6
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +12 -9
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +6 -6
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.js +4 -3
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +8 -6
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +4 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +5 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +10 -5
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +9 -0
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +10 -9
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +14 -11
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/hover/browser/hover.d.ts +2 -2
- package/vscode/src/vs/workbench/services/hover/browser/hoverService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/hover/browser/hoverWidget.js +11 -3
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +6 -5
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +10 -8
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +1 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +6 -4
- package/vscode/src/vs/workbench/services/localization/common/locale.js +3 -0
- package/vscode/src/vs/workbench/services/notification/common/notificationService.js +5 -3
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +1 -1
- package/vscode/src/vs/workbench/services/path/common/pathService.js +4 -3
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +5 -3
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +12 -11
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +4 -3
- package/vscode/src/vs/workbench/services/preferences/common/preferences.js +3 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +5 -3
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +4 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +6 -817
- package/vscode/src/vs/workbench/services/remote/common/{remoteExplorerService.d.ts → tunnelModel.d.ts} +1 -1
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +860 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +1 -1
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +1 -1
- package/vscode/src/vs/workbench/services/search/common/searchService.js +41 -26
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +12 -3
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +2 -1
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +4 -2
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.d.ts +1 -1
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.d.ts +1 -1
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.d.ts +1 -1
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +9 -7
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +7 -5
- package/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +8 -6
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +5 -3
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +19 -17
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +4 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +5 -3
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +12 -9
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +4 -2
- package/vscode/src/vs/workbench/services/update/browser/updateService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/url/browser/urlService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.d.ts +1 -1
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +14 -13
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +4 -5
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +17 -8
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileOperationParticipant.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +8 -11
- package/vscode/src/vs/workbench/api/browser/mainThreadSemanticSimilarity.js +0 -29
- package/vscode/src/vs/workbench/api/common/extHostSemanticSimilarity.js +0 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/quickQuestionActions/quickQuestionAction.js +0 -47
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +0 -4
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskQuickPick.js +0 -386
- package/vscode/src/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +0 -109
- /package/vscode/src/vs/workbench/contrib/search/{browser → common}/notebookSearch.js +0 -0
|
@@ -6,7 +6,7 @@ import { CancellationTokenSource } from 'monaco-editor/esm/vs/base/common/cancel
|
|
|
6
6
|
import { canceled } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
7
7
|
import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
8
8
|
import { normalizeDriveLetter } from 'monaco-editor/esm/vs/base/common/labels.js';
|
|
9
|
-
import {
|
|
9
|
+
import { DisposableStore, MutableDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
10
10
|
import { mixin } from 'monaco-editor/esm/vs/base/common/objects.js';
|
|
11
11
|
import * as platform from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
12
12
|
import * as resources from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
@@ -55,7 +55,7 @@ let DebugSession = class DebugSession {
|
|
|
55
55
|
this.threads = ( new Map());
|
|
56
56
|
this.threadIds = [];
|
|
57
57
|
this.cancellationMap = ( new Map());
|
|
58
|
-
this.rawListeners =
|
|
58
|
+
this.rawListeners = ( new DisposableStore());
|
|
59
59
|
this.stoppedDetails = [];
|
|
60
60
|
this._onDidChangeState = ( new Emitter());
|
|
61
61
|
this._onDidEndAdapter = ( new Emitter());
|
|
@@ -75,14 +75,11 @@ let DebugSession = class DebugSession {
|
|
|
75
75
|
else {
|
|
76
76
|
this.repl = this.parentSession.repl;
|
|
77
77
|
}
|
|
78
|
-
const toDispose = ( new DisposableStore());
|
|
78
|
+
const toDispose = this.rawListeners.add(( new DisposableStore()));
|
|
79
79
|
const replListener = toDispose.add(( new MutableDisposable()));
|
|
80
80
|
replListener.value = this.repl.onDidChangeElements(() => this._onDidChangeREPLElements.fire());
|
|
81
81
|
if (lifecycleService) {
|
|
82
|
-
toDispose.add(lifecycleService.onWillShutdown(() =>
|
|
83
|
-
this.shutdown();
|
|
84
|
-
dispose(toDispose);
|
|
85
|
-
}));
|
|
82
|
+
toDispose.add(lifecycleService.onWillShutdown(() => this.shutdown()));
|
|
86
83
|
}
|
|
87
84
|
const compoundRoot = this._options.compoundRoot;
|
|
88
85
|
if (compoundRoot) {
|
|
@@ -781,7 +778,7 @@ let DebugSession = class DebugSession {
|
|
|
781
778
|
if (!this.raw) {
|
|
782
779
|
return;
|
|
783
780
|
}
|
|
784
|
-
this.rawListeners.
|
|
781
|
+
this.rawListeners.add(this.raw.onDidInitialize(async () => {
|
|
785
782
|
aria.status(( localize('debuggingStarted', "Debugging started.")));
|
|
786
783
|
const sendConfigurationDone = async () => {
|
|
787
784
|
if (this.raw && this.raw.capabilities.supportsConfigurationDoneRequest) {
|
|
@@ -804,7 +801,7 @@ let DebugSession = class DebugSession {
|
|
|
804
801
|
}
|
|
805
802
|
}));
|
|
806
803
|
const statusQueue = ( new Queue());
|
|
807
|
-
this.rawListeners.
|
|
804
|
+
this.rawListeners.add(this.raw.onDidStop(async (event) => {
|
|
808
805
|
statusQueue.queue(async () => {
|
|
809
806
|
this.passFocusScheduler.cancel();
|
|
810
807
|
this.stoppedDetails.push(event.body);
|
|
@@ -845,14 +842,14 @@ let DebugSession = class DebugSession {
|
|
|
845
842
|
this._onDidChangeState.fire();
|
|
846
843
|
});
|
|
847
844
|
}));
|
|
848
|
-
this.rawListeners.
|
|
845
|
+
this.rawListeners.add(this.raw.onDidThread(event => {
|
|
849
846
|
statusQueue.queue(async () => {
|
|
850
847
|
if (event.body.reason === 'started') {
|
|
851
848
|
if (!this.fetchThreadsScheduler) {
|
|
852
849
|
this.fetchThreadsScheduler = ( new RunOnceScheduler(() => {
|
|
853
850
|
this.fetchThreads();
|
|
854
851
|
}, 100));
|
|
855
|
-
this.rawListeners.
|
|
852
|
+
this.rawListeners.add(this.fetchThreadsScheduler);
|
|
856
853
|
}
|
|
857
854
|
if (!this.fetchThreadsScheduler.isScheduled()) {
|
|
858
855
|
this.fetchThreadsScheduler.schedule();
|
|
@@ -869,7 +866,7 @@ let DebugSession = class DebugSession {
|
|
|
869
866
|
}
|
|
870
867
|
});
|
|
871
868
|
}));
|
|
872
|
-
this.rawListeners.
|
|
869
|
+
this.rawListeners.add(this.raw.onDidTerminateDebugee(async (event) => {
|
|
873
870
|
aria.status(( localize('debuggingStopped', "Debugging stopped.")));
|
|
874
871
|
if (event.body && event.body.restart) {
|
|
875
872
|
await this.debugService.restartSession(this, event.body.restart);
|
|
@@ -878,14 +875,14 @@ let DebugSession = class DebugSession {
|
|
|
878
875
|
await this.raw.disconnect({ terminateDebuggee: false });
|
|
879
876
|
}
|
|
880
877
|
}));
|
|
881
|
-
this.rawListeners.
|
|
878
|
+
this.rawListeners.add(this.raw.onDidContinued(event => {
|
|
882
879
|
statusQueue.queue(async () => {
|
|
883
880
|
const threadId = event.body.allThreadsContinued !== false ? undefined : event.body.threadId;
|
|
884
881
|
if (typeof threadId === 'number') {
|
|
885
882
|
this.stoppedDetails = this.stoppedDetails.filter(sd => sd.threadId !== threadId);
|
|
886
883
|
const tokens = this.cancellationMap.get(threadId);
|
|
887
884
|
this.cancellationMap.delete(threadId);
|
|
888
|
-
tokens?.forEach(t => t.
|
|
885
|
+
tokens?.forEach(t => t.dispose(true));
|
|
889
886
|
}
|
|
890
887
|
else {
|
|
891
888
|
this.stoppedDetails = [];
|
|
@@ -898,7 +895,7 @@ let DebugSession = class DebugSession {
|
|
|
898
895
|
});
|
|
899
896
|
}));
|
|
900
897
|
const outputQueue = ( new Queue());
|
|
901
|
-
this.rawListeners.
|
|
898
|
+
this.rawListeners.add(this.raw.onDidOutput(async (event) => {
|
|
902
899
|
const outputSeverity = event.body.category === 'stderr' ? Severity.Error : event.body.category === 'console' ? Severity.Warning : Severity.Info;
|
|
903
900
|
if (event.body.variablesReference) {
|
|
904
901
|
const source = event.body.source && event.body.line ? {
|
|
@@ -957,7 +954,7 @@ let DebugSession = class DebugSession {
|
|
|
957
954
|
}
|
|
958
955
|
});
|
|
959
956
|
}));
|
|
960
|
-
this.rawListeners.
|
|
957
|
+
this.rawListeners.add(this.raw.onDidBreakpoint(event => {
|
|
961
958
|
const id = event.body && event.body.breakpoint ? event.body.breakpoint.id : undefined;
|
|
962
959
|
const breakpoint = this.model.getBreakpoints().find(bp => bp.getIdFromAdapter(this.getId()) === id);
|
|
963
960
|
const functionBreakpoint = this.model.getFunctionBreakpoints().find(bp => bp.getIdFromAdapter(this.getId()) === id);
|
|
@@ -1008,28 +1005,28 @@ let DebugSession = class DebugSession {
|
|
|
1008
1005
|
}
|
|
1009
1006
|
}
|
|
1010
1007
|
}));
|
|
1011
|
-
this.rawListeners.
|
|
1008
|
+
this.rawListeners.add(this.raw.onDidLoadedSource(event => {
|
|
1012
1009
|
this._onDidLoadedSource.fire({
|
|
1013
1010
|
reason: event.body.reason,
|
|
1014
1011
|
source: this.getSource(event.body.source)
|
|
1015
1012
|
});
|
|
1016
1013
|
}));
|
|
1017
|
-
this.rawListeners.
|
|
1014
|
+
this.rawListeners.add(this.raw.onDidCustomEvent(event => {
|
|
1018
1015
|
this._onDidCustomEvent.fire(event);
|
|
1019
1016
|
}));
|
|
1020
|
-
this.rawListeners.
|
|
1017
|
+
this.rawListeners.add(this.raw.onDidProgressStart(event => {
|
|
1021
1018
|
this._onDidProgressStart.fire(event);
|
|
1022
1019
|
}));
|
|
1023
|
-
this.rawListeners.
|
|
1020
|
+
this.rawListeners.add(this.raw.onDidProgressUpdate(event => {
|
|
1024
1021
|
this._onDidProgressUpdate.fire(event);
|
|
1025
1022
|
}));
|
|
1026
|
-
this.rawListeners.
|
|
1023
|
+
this.rawListeners.add(this.raw.onDidProgressEnd(event => {
|
|
1027
1024
|
this._onDidProgressEnd.fire(event);
|
|
1028
1025
|
}));
|
|
1029
|
-
this.rawListeners.
|
|
1026
|
+
this.rawListeners.add(this.raw.onDidInvalidateMemory(event => {
|
|
1030
1027
|
this._onDidInvalidMemory.fire(event);
|
|
1031
1028
|
}));
|
|
1032
|
-
this.rawListeners.
|
|
1029
|
+
this.rawListeners.add(this.raw.onDidInvalidated(async (event) => {
|
|
1033
1030
|
if (!(event.body.areas && event.body.areas.length === 1 && (event.body.areas[0] === 'variables' || event.body.areas[0] === 'watch'))) {
|
|
1034
1031
|
this.cancelAllRequests();
|
|
1035
1032
|
this.model.clearThreads(this.getId(), true);
|
|
@@ -1040,7 +1037,7 @@ let DebugSession = class DebugSession {
|
|
|
1040
1037
|
viewModel.updateViews();
|
|
1041
1038
|
}
|
|
1042
1039
|
}));
|
|
1043
|
-
this.rawListeners.
|
|
1040
|
+
this.rawListeners.add(this.raw.onDidExitAdapter(event => this.onDidExitAdapter(event)));
|
|
1044
1041
|
}
|
|
1045
1042
|
onDidExitAdapter(event) {
|
|
1046
1043
|
this.initialized = true;
|
|
@@ -1049,7 +1046,7 @@ let DebugSession = class DebugSession {
|
|
|
1049
1046
|
this._onDidEndAdapter.fire(event);
|
|
1050
1047
|
}
|
|
1051
1048
|
shutdown() {
|
|
1052
|
-
|
|
1049
|
+
this.rawListeners.clear();
|
|
1053
1050
|
if (this.raw) {
|
|
1054
1051
|
this.raw.disconnect({});
|
|
1055
1052
|
this.raw.dispose();
|
|
@@ -1062,6 +1059,10 @@ let DebugSession = class DebugSession {
|
|
|
1062
1059
|
this.model.clearThreads(this.getId(), true);
|
|
1063
1060
|
this._onDidChangeState.fire();
|
|
1064
1061
|
}
|
|
1062
|
+
dispose() {
|
|
1063
|
+
this.cancelAllRequests();
|
|
1064
|
+
this.rawListeners.dispose();
|
|
1065
|
+
}
|
|
1065
1066
|
getSourceForUri(uri) {
|
|
1066
1067
|
return this.sources.get(( this.uriIdentityService.asCanonicalUri(uri).toString()));
|
|
1067
1068
|
}
|
|
@@ -1099,7 +1100,7 @@ let DebugSession = class DebugSession {
|
|
|
1099
1100
|
return tokenSource.token;
|
|
1100
1101
|
}
|
|
1101
1102
|
cancelAllRequests() {
|
|
1102
|
-
this.cancellationMap.forEach(tokens => tokens.forEach(t => t.
|
|
1103
|
+
this.cancellationMap.forEach(tokens => tokens.forEach(t => t.dispose(true)));
|
|
1103
1104
|
this.cancellationMap.clear();
|
|
1104
1105
|
}
|
|
1105
1106
|
getReplElements() {
|
|
@@ -5,7 +5,6 @@ import { Markers } from '../../markers/common/markers.js';
|
|
|
5
5
|
import { ITaskService } from '../../tasks/common/taskService.js';
|
|
6
6
|
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
7
7
|
import '../../../../../../../override/vs/platform/dialogs/common/dialogs.js';
|
|
8
|
-
import { withUndefinedAsNull } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
9
8
|
import { MarkerSeverity, IMarkerService } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
|
|
10
9
|
import { IViewsService } from '../../../common/views.js';
|
|
11
10
|
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
@@ -228,7 +227,7 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
228
227
|
if (task.configurationProperties.isBackground) {
|
|
229
228
|
return inactivePromise;
|
|
230
229
|
}
|
|
231
|
-
return taskPromise.then(
|
|
230
|
+
return taskPromise.then(x => x ?? null);
|
|
232
231
|
});
|
|
233
232
|
return ( new Promise((c, e) => {
|
|
234
233
|
const waitForInput = ( new Promise(
|
|
@@ -31,6 +31,7 @@ import { isAbsolute } from 'monaco-editor/esm/vs/base/common/path.js';
|
|
|
31
31
|
import { applyFontInfo } from 'monaco-editor/esm/vs/editor/browser/config/domFontInfo.js';
|
|
32
32
|
import { binarySearch2 } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
33
33
|
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
34
|
+
var DisassemblyView_1, BreakpointRenderer_1, InstructionRenderer_1;
|
|
34
35
|
const disassemblyNotAvailable = {
|
|
35
36
|
allowBreakpoint: false,
|
|
36
37
|
isBreakpointSet: false,
|
|
@@ -42,6 +43,7 @@ const disassemblyNotAvailable = {
|
|
|
42
43
|
instructionAddress: BigInt(-1)
|
|
43
44
|
};
|
|
44
45
|
let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
46
|
+
static { DisassemblyView_1 = this; }
|
|
45
47
|
static { this.NUM_INSTRUCTIONS_TO_LOAD = 50; }
|
|
46
48
|
constructor(telemetryService, themeService, storageService, _configurationService, _instantiationService, _debugService) {
|
|
47
49
|
super(DISASSEMBLY_VIEW_ID, telemetryService, themeService, storageService);
|
|
@@ -152,8 +154,8 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
152
154
|
}
|
|
153
155
|
if (e.oldScrollTop > e.scrollTop && e.scrollTop < e.height) {
|
|
154
156
|
this._loadingLock = true;
|
|
155
|
-
const topElement = Math.floor(e.scrollTop / this.fontInfo.lineHeight) +
|
|
156
|
-
this.scrollUp_LoadDisassembledInstructions(
|
|
157
|
+
const topElement = Math.floor(e.scrollTop / this.fontInfo.lineHeight) + DisassemblyView_1.NUM_INSTRUCTIONS_TO_LOAD;
|
|
158
|
+
this.scrollUp_LoadDisassembledInstructions(DisassemblyView_1.NUM_INSTRUCTIONS_TO_LOAD).then((success) => {
|
|
157
159
|
if (success) {
|
|
158
160
|
this._disassembledInstructions.reveal(topElement, 0);
|
|
159
161
|
}
|
|
@@ -162,7 +164,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
162
164
|
}
|
|
163
165
|
else if (e.oldScrollTop < e.scrollTop && e.scrollTop + e.height > e.scrollHeight - e.height) {
|
|
164
166
|
this._loadingLock = true;
|
|
165
|
-
this.scrollDown_LoadDisassembledInstructions(
|
|
167
|
+
this.scrollDown_LoadDisassembledInstructions(DisassemblyView_1.NUM_INSTRUCTIONS_TO_LOAD).then(() => { this._loadingLock = false; });
|
|
166
168
|
}
|
|
167
169
|
}));
|
|
168
170
|
this._register(this._debugService.getViewModel().onDidFocusStackFrame((stackFrame) => {
|
|
@@ -338,7 +340,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
338
340
|
this._loadingLock = true;
|
|
339
341
|
this._disassembledInstructions.splice(0, this._disassembledInstructions.length, [disassemblyNotAvailable]);
|
|
340
342
|
this._instructionBpList = this._debugService.getModel().getInstructionBreakpoints();
|
|
341
|
-
this.loadDisassembledInstructions(targetAddress, -
|
|
343
|
+
this.loadDisassembledInstructions(targetAddress, -DisassemblyView_1.NUM_INSTRUCTIONS_TO_LOAD * 4, DisassemblyView_1.NUM_INSTRUCTIONS_TO_LOAD * 8).then(() => {
|
|
342
344
|
if (this._disassembledInstructions.length > 0) {
|
|
343
345
|
const targetIndex = Math.floor(this._disassembledInstructions.length / 2);
|
|
344
346
|
this._disassembledInstructions.reveal(targetIndex, 0.5);
|
|
@@ -350,7 +352,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
350
352
|
}
|
|
351
353
|
}
|
|
352
354
|
};
|
|
353
|
-
DisassemblyView = ( (__decorate([
|
|
355
|
+
DisassemblyView = DisassemblyView_1 = ( (__decorate([
|
|
354
356
|
( (__param(0, ITelemetryService))),
|
|
355
357
|
( (__param(1, IThemeService))),
|
|
356
358
|
( (__param(2, IStorageService))),
|
|
@@ -359,11 +361,12 @@ DisassemblyView = ( (__decorate([
|
|
|
359
361
|
( (__param(5, IDebugService)))
|
|
360
362
|
], DisassemblyView)));
|
|
361
363
|
let BreakpointRenderer = class BreakpointRenderer {
|
|
364
|
+
static { BreakpointRenderer_1 = this; }
|
|
362
365
|
static { this.TEMPLATE_ID = 'breakpoint'; }
|
|
363
366
|
constructor(_disassemblyView, _debugService) {
|
|
364
367
|
this._disassemblyView = _disassemblyView;
|
|
365
368
|
this._debugService = _debugService;
|
|
366
|
-
this.templateId =
|
|
369
|
+
this.templateId = BreakpointRenderer_1.TEMPLATE_ID;
|
|
367
370
|
this._breakpointIcon = 'codicon-' + breakpoint.regular.id;
|
|
368
371
|
this._breakpointDisabledIcon = 'codicon-' + breakpoint.disabled.id;
|
|
369
372
|
this._breakpointHintIcon = 'codicon-' + debugBreakpointHint.id;
|
|
@@ -441,10 +444,11 @@ let BreakpointRenderer = class BreakpointRenderer {
|
|
|
441
444
|
}
|
|
442
445
|
}
|
|
443
446
|
};
|
|
444
|
-
BreakpointRenderer = ( (__decorate([
|
|
447
|
+
BreakpointRenderer = BreakpointRenderer_1 = ( (__decorate([
|
|
445
448
|
( (__param(1, IDebugService)))
|
|
446
449
|
], BreakpointRenderer)));
|
|
447
450
|
let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
451
|
+
static { InstructionRenderer_1 = this; }
|
|
448
452
|
static { this.TEMPLATE_ID = 'instruction'; }
|
|
449
453
|
static { this.INSTRUCTION_ADDR_MIN_LENGTH = 25; }
|
|
450
454
|
static { this.INSTRUCTION_BYTES_MIN_LENGTH = 30; }
|
|
@@ -455,7 +459,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
455
459
|
this.textModelService = textModelService;
|
|
456
460
|
this.uriService = uriService;
|
|
457
461
|
this.logService = logService;
|
|
458
|
-
this.templateId =
|
|
462
|
+
this.templateId = InstructionRenderer_1.TEMPLATE_ID;
|
|
459
463
|
this._topStackFrameColor = themeService.getColorTheme().getColor(topStackFrameColor);
|
|
460
464
|
this._focusedStackFrameColor = themeService.getColorTheme().getColor(focusedStackFrameColor);
|
|
461
465
|
this._register(themeService.onDidColorThemeChange(e => {
|
|
@@ -511,8 +515,8 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
511
515
|
let spacesToAppend = 10;
|
|
512
516
|
if (instruction.address !== '-1') {
|
|
513
517
|
sb.appendString(instruction.address);
|
|
514
|
-
if (instruction.address.length <
|
|
515
|
-
spacesToAppend =
|
|
518
|
+
if (instruction.address.length < InstructionRenderer_1.INSTRUCTION_ADDR_MIN_LENGTH) {
|
|
519
|
+
spacesToAppend = InstructionRenderer_1.INSTRUCTION_ADDR_MIN_LENGTH - instruction.address.length;
|
|
516
520
|
}
|
|
517
521
|
for (let i = 0; i < spacesToAppend; i++) {
|
|
518
522
|
sb.appendString(' ');
|
|
@@ -521,8 +525,8 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
521
525
|
if (instruction.instructionBytes) {
|
|
522
526
|
sb.appendString(instruction.instructionBytes);
|
|
523
527
|
spacesToAppend = 10;
|
|
524
|
-
if (instruction.instructionBytes.length <
|
|
525
|
-
spacesToAppend =
|
|
528
|
+
if (instruction.instructionBytes.length < InstructionRenderer_1.INSTRUCTION_BYTES_MIN_LENGTH) {
|
|
529
|
+
spacesToAppend = InstructionRenderer_1.INSTRUCTION_BYTES_MIN_LENGTH - instruction.instructionBytes.length;
|
|
526
530
|
}
|
|
527
531
|
for (let i = 0; i < spacesToAppend; i++) {
|
|
528
532
|
sb.appendString(' ');
|
|
@@ -593,7 +597,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
593
597
|
element.style.whiteSpace = 'pre';
|
|
594
598
|
}
|
|
595
599
|
};
|
|
596
|
-
InstructionRenderer = ( (__decorate([
|
|
600
|
+
InstructionRenderer = InstructionRenderer_1 = ( (__decorate([
|
|
597
601
|
( (__param(1, IThemeService))),
|
|
598
602
|
( (__param(2, IEditorService))),
|
|
599
603
|
( (__param(3, ITextModelService))),
|
|
@@ -54,6 +54,7 @@ import { Variable } from '../common/debugModel.js';
|
|
|
54
54
|
import { ReplEvaluationResult, ReplGroup } from '../common/replModel.js';
|
|
55
55
|
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
56
56
|
import { registerNavigableContainer } from '../../../browser/actions/widgetNavigationCommands.js';
|
|
57
|
+
var Repl_1, ReplOptions_1;
|
|
57
58
|
const $ = dom.$;
|
|
58
59
|
const HISTORY_STORAGE_KEY = 'debug.repl.history';
|
|
59
60
|
const FILTER_HISTORY_STORAGE_KEY = 'debug.repl.filterHistory';
|
|
@@ -65,6 +66,7 @@ function revealLastElement(tree) {
|
|
|
65
66
|
const sessionsToIgnore = ( (new Set()));
|
|
66
67
|
const identityProvider = { getId: (element) => element.getId() };
|
|
67
68
|
let Repl = class Repl extends FilterViewPane {
|
|
69
|
+
static { Repl_1 = this; }
|
|
68
70
|
static { this.REFRESH_DELAY = 50; }
|
|
69
71
|
static { this.URI = ( URI.parse(`${DEBUG_SCHEME}:replinput`)); }
|
|
70
72
|
constructor(options, debugService, instantiationService, storageService, themeService, modelService, contextKeyService, codeEditorService, viewDescriptorService, contextMenuService, configurationService, textResourcePropertiesService, editorService, keybindingService, openerService, telemetryService, menuService, languageFeaturesService, logService) {
|
|
@@ -136,7 +138,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
136
138
|
this._register(this.onDidChangeBodyVisibility(visible => {
|
|
137
139
|
if (visible) {
|
|
138
140
|
if (!this.model) {
|
|
139
|
-
this.model = this.modelService.getModel(
|
|
141
|
+
this.model = this.modelService.getModel(Repl_1.URI) || this.modelService.createModel('', null, Repl_1.URI, true);
|
|
140
142
|
}
|
|
141
143
|
this.setMode();
|
|
142
144
|
this.replInput.setModel(this.model);
|
|
@@ -446,7 +448,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
446
448
|
}
|
|
447
449
|
const { total, filtered } = this.getFilterStats();
|
|
448
450
|
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( (localize('showing filtered repl lines', "Showing {0} of {1}", filtered, total))));
|
|
449
|
-
},
|
|
451
|
+
}, Repl_1.REFRESH_DELAY))
|
|
450
452
|
);
|
|
451
453
|
}
|
|
452
454
|
render() {
|
|
@@ -639,7 +641,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
639
641
|
Repl.__decorator = ( (__decorate([
|
|
640
642
|
memoize
|
|
641
643
|
], Repl.prototype, "refreshScheduler", null)));
|
|
642
|
-
Repl = ( (__decorate([
|
|
644
|
+
Repl = Repl_1 = ( (__decorate([
|
|
643
645
|
( (__param(1, IDebugService))),
|
|
644
646
|
( (__param(2, IInstantiationService))),
|
|
645
647
|
( (__param(3, IStorageService))),
|
|
@@ -660,6 +662,7 @@ Repl = ( (__decorate([
|
|
|
660
662
|
( (__param(18, ILogService)))
|
|
661
663
|
], Repl)));
|
|
662
664
|
let ReplOptions = class ReplOptions extends Disposable {
|
|
665
|
+
static { ReplOptions_1 = this; }
|
|
663
666
|
static { this.lineHeightEm = 1.4; }
|
|
664
667
|
get replConfiguration() {
|
|
665
668
|
return this._replConfig;
|
|
@@ -690,15 +693,15 @@ let ReplOptions = class ReplOptions extends Disposable {
|
|
|
690
693
|
this._replConfig = {
|
|
691
694
|
fontSize: debugConsole.fontSize,
|
|
692
695
|
fontFamily: debugConsole.fontFamily,
|
|
693
|
-
lineHeight: debugConsole.lineHeight ? debugConsole.lineHeight :
|
|
694
|
-
cssLineHeight: debugConsole.lineHeight ? `${debugConsole.lineHeight}px` : `${
|
|
696
|
+
lineHeight: debugConsole.lineHeight ? debugConsole.lineHeight : ReplOptions_1.lineHeightEm * debugConsole.fontSize,
|
|
697
|
+
cssLineHeight: debugConsole.lineHeight ? `${debugConsole.lineHeight}px` : `${ReplOptions_1.lineHeightEm}em`,
|
|
695
698
|
backgroundColor: this.themeService.getColorTheme().getColor(this.backgroundColorDelegate()),
|
|
696
|
-
fontSizeForTwistie: debugConsole.fontSize *
|
|
699
|
+
fontSizeForTwistie: debugConsole.fontSize * ReplOptions_1.lineHeightEm / 2 - 8
|
|
697
700
|
};
|
|
698
701
|
this._onDidChange.fire();
|
|
699
702
|
}
|
|
700
703
|
};
|
|
701
|
-
ReplOptions = ( (__decorate([
|
|
704
|
+
ReplOptions = ReplOptions_1 = ( (__decorate([
|
|
702
705
|
( (__param(2, IConfigurationService))),
|
|
703
706
|
( (__param(3, IThemeService))),
|
|
704
707
|
( (__param(4, IViewDescriptorService)))
|
|
@@ -20,6 +20,7 @@ import { IDebugService } from '../common/debug.js';
|
|
|
20
20
|
import { Variable } from '../common/debugModel.js';
|
|
21
21
|
import { ReplVariableElement, ReplEvaluationResult, ReplOutputElement, ReplEvaluationInput, ReplGroup, RawObjectReplElement } from '../common/replModel.js';
|
|
22
22
|
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
23
|
+
var ReplGroupRenderer_1, ReplOutputElementRenderer_1, ReplVariablesRenderer_1;
|
|
23
24
|
const $ = dom.$;
|
|
24
25
|
class ReplEvaluationInputsRenderer {
|
|
25
26
|
static { this.ID = 'replEvaluationInput'; }
|
|
@@ -40,13 +41,14 @@ class ReplEvaluationInputsRenderer {
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
let ReplGroupRenderer = class ReplGroupRenderer {
|
|
44
|
+
static { ReplGroupRenderer_1 = this; }
|
|
43
45
|
static { this.ID = 'replGroup'; }
|
|
44
46
|
constructor(linkDetector, themeService) {
|
|
45
47
|
this.linkDetector = linkDetector;
|
|
46
48
|
this.themeService = themeService;
|
|
47
49
|
}
|
|
48
50
|
get templateId() {
|
|
49
|
-
return
|
|
51
|
+
return ReplGroupRenderer_1.ID;
|
|
50
52
|
}
|
|
51
53
|
renderTemplate(container) {
|
|
52
54
|
const label = dom.append(container, $('.expression'));
|
|
@@ -61,7 +63,7 @@ let ReplGroupRenderer = class ReplGroupRenderer {
|
|
|
61
63
|
disposeTemplate(_templateData) {
|
|
62
64
|
}
|
|
63
65
|
};
|
|
64
|
-
ReplGroupRenderer = ( __decorate([
|
|
66
|
+
ReplGroupRenderer = ReplGroupRenderer_1 = ( __decorate([
|
|
65
67
|
( __param(1, IThemeService))
|
|
66
68
|
], ReplGroupRenderer));
|
|
67
69
|
class ReplEvaluationResultsRenderer {
|
|
@@ -89,6 +91,7 @@ class ReplEvaluationResultsRenderer {
|
|
|
89
91
|
}
|
|
90
92
|
}
|
|
91
93
|
let ReplOutputElementRenderer = class ReplOutputElementRenderer {
|
|
94
|
+
static { ReplOutputElementRenderer_1 = this; }
|
|
92
95
|
static { this.ID = 'outputReplElement'; }
|
|
93
96
|
constructor(linkDetector, editorService, labelService, themeService) {
|
|
94
97
|
this.linkDetector = linkDetector;
|
|
@@ -97,7 +100,7 @@ let ReplOutputElementRenderer = class ReplOutputElementRenderer {
|
|
|
97
100
|
this.themeService = themeService;
|
|
98
101
|
}
|
|
99
102
|
get templateId() {
|
|
100
|
-
return
|
|
103
|
+
return ReplOutputElementRenderer_1.ID;
|
|
101
104
|
}
|
|
102
105
|
renderTemplate(container) {
|
|
103
106
|
const data = Object.create(null);
|
|
@@ -151,15 +154,16 @@ let ReplOutputElementRenderer = class ReplOutputElementRenderer {
|
|
|
151
154
|
templateData.elementListener.dispose();
|
|
152
155
|
}
|
|
153
156
|
};
|
|
154
|
-
ReplOutputElementRenderer = ( __decorate([
|
|
157
|
+
ReplOutputElementRenderer = ReplOutputElementRenderer_1 = ( __decorate([
|
|
155
158
|
( __param(1, IEditorService)),
|
|
156
159
|
( __param(2, ILabelService)),
|
|
157
160
|
( __param(3, IThemeService))
|
|
158
161
|
], ReplOutputElementRenderer));
|
|
159
162
|
let ReplVariablesRenderer = class ReplVariablesRenderer extends AbstractExpressionsRenderer {
|
|
163
|
+
static { ReplVariablesRenderer_1 = this; }
|
|
160
164
|
static { this.ID = 'replVariable'; }
|
|
161
165
|
get templateId() {
|
|
162
|
-
return
|
|
166
|
+
return ReplVariablesRenderer_1.ID;
|
|
163
167
|
}
|
|
164
168
|
constructor(linkDetector, debugService, contextViewService) {
|
|
165
169
|
super(debugService, contextViewService);
|
|
@@ -185,7 +189,7 @@ let ReplVariablesRenderer = class ReplVariablesRenderer extends AbstractExpressi
|
|
|
185
189
|
return undefined;
|
|
186
190
|
}
|
|
187
191
|
};
|
|
188
|
-
ReplVariablesRenderer = ( __decorate([
|
|
192
|
+
ReplVariablesRenderer = ReplVariablesRenderer_1 = ( __decorate([
|
|
189
193
|
( __param(1, IDebugService)),
|
|
190
194
|
( __param(2, IContextViewService))
|
|
191
195
|
], ReplVariablesRenderer));
|
|
@@ -6,7 +6,6 @@ import { timeout, RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/asyn
|
|
|
6
6
|
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
7
7
|
import { createMatches } from 'monaco-editor/esm/vs/base/common/filters.js';
|
|
8
8
|
import { DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
9
|
-
import { withUndefinedAsNull } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
10
9
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
11
10
|
import { createAndFillInContextMenuActions } from 'monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.js';
|
|
12
11
|
import { MenuId, registerAction2, IMenuService } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
|
|
@@ -31,6 +30,7 @@ import { IDebugService, VARIABLES_VIEW_ID, CONTEXT_VARIABLES_FOCUSED, CONTEXT_DE
|
|
|
31
30
|
import { getUriForDebugMemory, Variable, Expression, ErrorScope, Scope, StackFrame } from '../common/debugModel.js';
|
|
32
31
|
import { IEditorService, SIDE_GROUP } from '../../../services/editor/common/editorService.js';
|
|
33
32
|
import { IExtensionService } from '../../../services/extensions/common/extensions.js';
|
|
33
|
+
var VariablesRenderer_1;
|
|
34
34
|
const $ = dom.$;
|
|
35
35
|
let forgetScopes = true;
|
|
36
36
|
let variableInternalContext;
|
|
@@ -78,7 +78,7 @@ let VariablesView = class VariablesView extends ViewPane {
|
|
|
78
78
|
listBackground: this.getBackgroundColor()
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
this.tree.setInput(
|
|
81
|
+
this.tree.setInput(this.debugService.getViewModel().focusedStackFrame ?? null);
|
|
82
82
|
CONTEXT_VARIABLES_FOCUSED.bindTo(this.tree.contextKeyService);
|
|
83
83
|
this._register(this.debugService.getViewModel().onDidFocusStackFrame(sf => {
|
|
84
84
|
if (!this.isBodyVisible()) {
|
|
@@ -295,6 +295,7 @@ class ScopeErrorRenderer {
|
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
let VariablesRenderer = class VariablesRenderer extends AbstractExpressionsRenderer {
|
|
298
|
+
static { VariablesRenderer_1 = this; }
|
|
298
299
|
static { this.ID = 'variable'; }
|
|
299
300
|
constructor(linkDetector, menuService, contextKeyService, debugService, contextViewService) {
|
|
300
301
|
super(debugService, contextViewService);
|
|
@@ -303,7 +304,7 @@ let VariablesRenderer = class VariablesRenderer extends AbstractExpressionsRende
|
|
|
303
304
|
this.contextKeyService = contextKeyService;
|
|
304
305
|
}
|
|
305
306
|
get templateId() {
|
|
306
|
-
return
|
|
307
|
+
return VariablesRenderer_1.ID;
|
|
307
308
|
}
|
|
308
309
|
renderExpression(expression, data, highlights) {
|
|
309
310
|
renderVariable(expression, data, true, highlights, this.linkDetector);
|
|
@@ -344,7 +345,7 @@ let VariablesRenderer = class VariablesRenderer extends AbstractExpressionsRende
|
|
|
344
345
|
actionBar.push(primary, { icon: true, label: false });
|
|
345
346
|
}
|
|
346
347
|
};
|
|
347
|
-
VariablesRenderer = ( __decorate([
|
|
348
|
+
VariablesRenderer = VariablesRenderer_1 = ( __decorate([
|
|
348
349
|
( __param(1, IMenuService)),
|
|
349
350
|
( __param(2, IContextKeyService)),
|
|
350
351
|
( __param(3, IDebugService)),
|
|
@@ -22,6 +22,7 @@ import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
|
22
22
|
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
23
23
|
import { createAndFillInContextMenuActions } from 'monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.js';
|
|
24
24
|
import { LinkDetector } from './linkDetector.js';
|
|
25
|
+
var WatchExpressionsRenderer_1;
|
|
25
26
|
const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
|
|
26
27
|
let ignoreViewUpdates = false;
|
|
27
28
|
let useCachedEvaluation = false;
|
|
@@ -209,6 +210,7 @@ class WatchExpressionsDataSource {
|
|
|
209
210
|
}
|
|
210
211
|
}
|
|
211
212
|
let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractExpressionsRenderer {
|
|
213
|
+
static { WatchExpressionsRenderer_1 = this; }
|
|
212
214
|
static { this.ID = 'watchexpression'; }
|
|
213
215
|
constructor(menuService, contextKeyService, debugService, contextViewService) {
|
|
214
216
|
super(debugService, contextViewService);
|
|
@@ -216,7 +218,7 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
|
|
|
216
218
|
this.contextKeyService = contextKeyService;
|
|
217
219
|
}
|
|
218
220
|
get templateId() {
|
|
219
|
-
return
|
|
221
|
+
return WatchExpressionsRenderer_1.ID;
|
|
220
222
|
}
|
|
221
223
|
renderElement(node, index, data) {
|
|
222
224
|
super.renderExpressionElement(node.element, node, data);
|
|
@@ -284,7 +286,7 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
|
|
|
284
286
|
actionBar.push(primary, { icon: true, label: false });
|
|
285
287
|
}
|
|
286
288
|
};
|
|
287
|
-
WatchExpressionsRenderer = ( __decorate([
|
|
289
|
+
WatchExpressionsRenderer = WatchExpressionsRenderer_1 = ( __decorate([
|
|
288
290
|
( __param(0, IMenuService)),
|
|
289
291
|
( __param(1, IContextKeyService)),
|
|
290
292
|
( __param(2, IDebugService)),
|
|
@@ -875,4 +875,4 @@ interface IDebugService {
|
|
|
875
875
|
runTo(uri: URI, lineNumber: number, column?: number): Promise<void>;
|
|
876
876
|
}
|
|
877
877
|
|
|
878
|
-
export { AdapterEndEvent, DebugConfigurationProviderTriggerKind, DebuggerString, IAdapterDescriptor, IAdapterManager, IBaseBreakpoint, IBreakpoint, IBreakpointData, IBreakpointUpdateData, IBreakpointsChangeEvent, ICompound, IConfig, IConfigPresentation, IConfigurationManager, IDataBreakpoint, IDataBreakpointInfoResponse, IDebugAdapter, IDebugAdapterDescriptorFactory, IDebugAdapterExecutable, IDebugAdapterExecutableOptions, IDebugAdapterFactory, IDebugAdapterImpl, IDebugAdapterInlineImpl, IDebugAdapterNamedPipeServer, IDebugAdapterServer, IDebugConfigurationProvider, IDebugModel, IDebugService, IDebugSession, IDebugSessionOptions, IDebugSessionReplMode, IDebugger, IDebuggerMetadata, IEnablement, IErrorMemoryRange, IEvaluate, IExceptionBreakpoint, IExceptionInfo, IExpression, IExpressionContainer, IFunctionBreakpoint, IInstructionBreakpoint, ILaunch, IMemoryInvalidationEvent, IMemoryRange, IMemoryRegion, INewReplElementData, IRawModelUpdate, IRawStoppedDetails, IReplElement, IReplElementSource, IScope, IStackFrame, IThread, ITreeElement, IUnreadableMemoryRange, IValidMemoryRange, IViewModel, LoadedSourceEvent, MemoryRange, MemoryRangeType, State };
|
|
878
|
+
export { type AdapterEndEvent, DebugConfigurationProviderTriggerKind, DebuggerString, type IAdapterDescriptor, type IAdapterManager, type IBaseBreakpoint, type IBreakpoint, type IBreakpointData, type IBreakpointUpdateData, type IBreakpointsChangeEvent, type ICompound, type IConfig, type IConfigPresentation, type IConfigurationManager, type IDataBreakpoint, type IDataBreakpointInfoResponse, type IDebugAdapter, type IDebugAdapterDescriptorFactory, type IDebugAdapterExecutable, type IDebugAdapterExecutableOptions, type IDebugAdapterFactory, type IDebugAdapterImpl, type IDebugAdapterInlineImpl, type IDebugAdapterNamedPipeServer, type IDebugAdapterServer, type IDebugConfigurationProvider, type IDebugModel, IDebugService, type IDebugSession, type IDebugSessionOptions, type IDebugSessionReplMode, type IDebugger, type IDebuggerMetadata, type IEnablement, type IErrorMemoryRange, type IEvaluate, type IExceptionBreakpoint, type IExceptionInfo, type IExpression, type IExpressionContainer, type IFunctionBreakpoint, type IInstructionBreakpoint, type ILaunch, type IMemoryInvalidationEvent, type IMemoryRange, type IMemoryRegion, type INewReplElementData, type IRawModelUpdate, type IRawStoppedDetails, type IReplElement, type IReplElementSource, type IScope, type IStackFrame, type IThread, type ITreeElement, type IUnreadableMemoryRange, type IValidMemoryRange, type IViewModel, type LoadedSourceEvent, type MemoryRange, MemoryRangeType, State };
|
|
@@ -12,7 +12,9 @@ import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
|
|
|
12
12
|
import { CancellationTokenSource } from 'monaco-editor/esm/vs/base/common/cancellation.js';
|
|
13
13
|
import { PLAINTEXT_LANGUAGE_ID } from 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
|
|
14
14
|
import { ErrorNoTelemetry } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
15
|
+
var DebugContentProvider_1;
|
|
15
16
|
let DebugContentProvider = class DebugContentProvider {
|
|
17
|
+
static { DebugContentProvider_1 = this; }
|
|
16
18
|
constructor(textModelResolverService, debugService, modelService, languageService, editorWorkerService) {
|
|
17
19
|
this.debugService = debugService;
|
|
18
20
|
this.modelService = modelService;
|
|
@@ -20,7 +22,7 @@ let DebugContentProvider = class DebugContentProvider {
|
|
|
20
22
|
this.editorWorkerService = editorWorkerService;
|
|
21
23
|
this.pendingUpdates = ( new Map());
|
|
22
24
|
textModelResolverService.registerTextModelContentProvider(DEBUG_SCHEME, this);
|
|
23
|
-
|
|
25
|
+
DebugContentProvider_1.INSTANCE = this;
|
|
24
26
|
}
|
|
25
27
|
dispose() {
|
|
26
28
|
this.pendingUpdates.forEach(cancellationSource => cancellationSource.dispose());
|
|
@@ -29,7 +31,7 @@ let DebugContentProvider = class DebugContentProvider {
|
|
|
29
31
|
return this.createOrUpdateContentModel(resource, true);
|
|
30
32
|
}
|
|
31
33
|
static refreshDebugContent(resource) {
|
|
32
|
-
|
|
34
|
+
DebugContentProvider_1.INSTANCE?.createOrUpdateContentModel(resource, false);
|
|
33
35
|
}
|
|
34
36
|
createOrUpdateContentModel(resource, createIfNotExists) {
|
|
35
37
|
const model = this.modelService.getModel(resource);
|
|
@@ -86,7 +88,7 @@ let DebugContentProvider = class DebugContentProvider {
|
|
|
86
88
|
}, (err) => createErrModel(err.message));
|
|
87
89
|
}
|
|
88
90
|
};
|
|
89
|
-
DebugContentProvider = ( __decorate([
|
|
91
|
+
DebugContentProvider = DebugContentProvider_1 = ( __decorate([
|
|
90
92
|
( __param(0, ITextModelService)),
|
|
91
93
|
( __param(1, IDebugService)),
|
|
92
94
|
( __param(2, IModelService)),
|