@codingame/monaco-vscode-api 1.79.1 → 1.79.2-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/README.md +11 -2
- package/dist/api.js +10 -8
- package/dist/composite.d.ts +65 -0
- package/dist/configurationRegistry.d.ts +212 -0
- package/dist/contextkey.d.ts +1 -1
- package/dist/default-extensions/json.js +1 -0
- package/dist/default-extensions/theme-defaults.js +2 -2
- package/dist/editorBrowser.d.ts +272 -3
- package/dist/event.d.ts +6 -1
- package/dist/{extension-tools-0c4c1ad7.js → extension-tools-3c2bf0a4.js} +698 -507
- package/dist/extensions.d.ts +3 -2
- package/dist/extensions.d2.ts +6 -17
- package/dist/extensionsRegistry.d.ts +15 -9
- package/dist/files.d.ts +71 -7
- package/dist/jsonSchema.d.ts +1 -1
- package/dist/keybinding.d.ts +2 -2
- package/dist/languageFeatures.d.ts +703 -61
- package/dist/monaco.d.ts +5 -4
- package/dist/override/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +2 -0
- package/dist/override/vs/workbench/contrib/notebook/browser/notebookEditor.js +2 -0
- package/dist/override/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +2 -0
- package/dist/override/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -1
- package/dist/platform.d.ts +11 -0
- package/dist/rollup-extension-directory-plugin.js +1 -1
- package/dist/rollup-vsix-plugin.js +2 -2
- package/dist/service-override/configuration.d.ts +5 -206
- package/dist/service-override/dialogs.js +16 -1
- package/dist/service-override/files.d.ts +2 -2
- package/dist/service-override/files.js +1 -1
- package/dist/service-override/markers.d.ts +7 -0
- package/dist/service-override/markers.js +6 -0
- package/dist/service-override/output.d.ts +7 -0
- package/dist/service-override/output.js +22 -0
- package/dist/service-override/preferences.js +7 -1
- package/dist/service-override/quickaccess.js +0 -9
- package/dist/service-override/search.d.ts +7 -0
- package/dist/service-override/search.js +19 -0
- package/dist/service-override/terminal.d.ts +607 -0
- package/dist/service-override/terminal.js +98 -0
- package/dist/service-override/tools/editor.js +1 -1
- package/dist/service-override/views.d.ts +561 -335
- package/dist/service-override/views.js +51 -11
- package/dist/services.d.ts +2627 -108
- package/dist/services.js +3 -0
- package/dist/severity.d.ts +16 -0
- package/dist/uri.d.ts +22 -11
- package/dist/views.d.ts +270 -0
- package/dist/vscode/vs/base/common/processes.js +24 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/decorations.js +20 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/delegatingEditorImpl.js +106 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/diffEditorSash.js +59 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.contribution.js +41 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/diffEditorWidget2.js +369 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/diffModel.js +247 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/lineAlignment.js +179 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/overviewRulerPart.js +121 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/style.css.js +4 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/unchangedRanges.js +184 -0
- package/dist/vscode/vs/editor/browser/widget/diffEditorWidget2/utils.js +88 -0
- package/dist/vscode/vs/platform/extensionManagement/common/extensionManagement.js +38 -1
- package/dist/vscode/vs/platform/extensionManagement/common/extensionManagementUtil.js +5 -1
- package/dist/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +13 -5
- package/dist/vscode/vs/platform/files/common/fileService.js +43 -5
- package/dist/vscode/vs/platform/files/common/files.js +3 -1
- package/dist/vscode/vs/platform/languagePacks/common/languagePacks.js +4 -1
- package/dist/vscode/vs/platform/log/common/bufferLog.js +34 -0
- package/dist/vscode/vs/platform/log/common/fileLog.js +105 -0
- package/dist/vscode/vs/platform/quickinput/browser/quickPickPin.js +1 -1
- package/dist/vscode/vs/platform/remote/common/remoteAuthorityResolver.js +20 -1
- package/dist/vscode/vs/platform/request/browser/requestService.js +1 -1
- package/dist/vscode/vs/platform/request/common/request.js +3 -3
- package/dist/vscode/vs/platform/storage/common/storage.js +3 -0
- package/dist/vscode/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +39 -0
- package/dist/vscode/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +565 -0
- package/dist/vscode/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +27 -0
- package/dist/vscode/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +22 -0
- package/dist/vscode/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +46 -0
- package/dist/vscode/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +80 -0
- package/dist/vscode/vs/platform/terminal/common/environmentVariable.js +7 -0
- package/dist/vscode/vs/platform/terminal/common/environmentVariableCollection.js +196 -0
- package/dist/vscode/vs/platform/terminal/common/environmentVariableShared.js +23 -0
- package/dist/vscode/vs/platform/terminal/common/terminal.js +21 -1
- package/dist/vscode/vs/platform/terminal/common/terminalDataBuffering.js +45 -0
- package/dist/vscode/vs/platform/terminal/common/terminalEnvironment.js +37 -0
- package/dist/vscode/vs/platform/terminal/common/terminalPlatformConfiguration.js +622 -0
- package/dist/vscode/vs/platform/terminal/common/terminalProfiles.js +107 -0
- package/dist/vscode/vs/platform/terminal/common/terminalRecorder.js +66 -0
- package/dist/vscode/vs/platform/terminal/common/terminalStrings.js +16 -0
- package/dist/vscode/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +321 -0
- package/dist/vscode/vs/platform/userDataSync/common/settingsMerge.js +39 -1
- package/dist/vscode/vs/platform/userDataSync/common/userDataSync.js +19 -0
- package/dist/vscode/vs/platform/window/common/window.js +7 -1
- package/dist/vscode/vs/platform/workspace/common/canonicalUri.js +3 -0
- package/dist/vscode/vs/platform/workspace/common/virtualWorkspace.js +4 -1
- package/dist/vscode/vs/platform/workspaces/common/workspaces.js +2 -2
- package/dist/vscode/vs/workbench/api/browser/mainThreadCommands.js +2 -3
- package/dist/vscode/vs/workbench/api/browser/mainThreadEditorTabs.js +473 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadLanguageFeatures.js +45 -38
- package/dist/vscode/vs/workbench/api/browser/mainThreadSearch.js +146 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadStatusBar.js +33 -52
- package/dist/vscode/vs/workbench/api/browser/mainThreadTerminalService.js +395 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadTheming.js +22 -0
- package/dist/vscode/vs/workbench/api/browser/mainThreadTreeViews.js +10 -5
- package/dist/vscode/vs/workbench/api/browser/mainThreadWindow.js +11 -4
- package/dist/vscode/vs/workbench/api/browser/mainThreadWorkspace.js +34 -11
- package/dist/vscode/vs/workbench/api/browser/statusBarExtensionPoint.js +81 -0
- package/dist/vscode/vs/workbench/api/common/extHost.protocol.js +7 -2
- package/dist/vscode/vs/workbench/api/common/extHostDebugService.js +4 -13
- package/dist/vscode/vs/workbench/api/common/extHostExtensionService.js +30 -15
- package/dist/vscode/vs/workbench/api/common/extHostFileSystemConsumer.js +20 -6
- package/dist/vscode/vs/workbench/api/common/extHostLanguageFeatures.js +41 -8
- package/dist/vscode/vs/workbench/api/common/extHostManagedSockets.js +3 -0
- package/dist/vscode/vs/workbench/api/common/extHostSearch.js +109 -0
- package/dist/vscode/vs/workbench/api/common/extHostStatusBar.js +33 -6
- package/dist/vscode/vs/workbench/api/common/extHostTerminalService.js +879 -1
- package/dist/vscode/vs/workbench/api/common/extHostTheming.js +38 -0
- package/dist/vscode/vs/workbench/api/common/extHostTreeViews.js +8 -5
- package/dist/vscode/vs/workbench/api/common/extHostTypeConverters.js +15 -17
- package/dist/vscode/vs/workbench/api/common/extHostTypes.js +117 -4
- package/dist/vscode/vs/workbench/api/common/extHostWindow.js +28 -6
- package/dist/vscode/vs/workbench/api/common/extHostWorkspace.js +28 -0
- package/dist/vscode/vs/workbench/api/common/shared/dataTransferCache.js +11 -14
- package/dist/vscode/vs/workbench/api/node/extHostTerminalService.js +22 -0
- package/dist/vscode/vs/workbench/browser/actions/layoutActions.js +2 -1
- package/dist/vscode/vs/workbench/browser/actions/windowActions.js +2 -2
- package/dist/vscode/vs/workbench/browser/dnd.js +56 -2
- package/dist/vscode/vs/workbench/browser/parts/compositePart.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/dialogs/dialogHandler.js +2 -2
- package/dist/vscode/vs/workbench/browser/parts/editor/editor.contribution.js +1 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editor.js +1 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorCommands.js +9 -10
- package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupView.js +15 -9
- package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupWatermark.js +13 -17
- package/dist/vscode/vs/workbench/browser/parts/editor/editorStatus.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/editor/editorsObserver.js +2 -2
- package/dist/vscode/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/editor/noTabsTitleControl.js +3 -1
- package/dist/vscode/vs/workbench/browser/parts/editor/tabsTitleControl.js +60 -11
- package/dist/vscode/vs/workbench/browser/parts/editor/textDiffEditor.js +16 -10
- package/dist/vscode/vs/workbench/browser/parts/editor/textResourceEditor.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/views/checkbox.js +10 -0
- package/dist/vscode/vs/workbench/browser/parts/views/treeView.js +78 -14
- package/dist/vscode/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
- package/dist/vscode/vs/workbench/browser/workbench.contribution.js +65 -6
- package/dist/vscode/vs/workbench/common/configuration.js +8 -1
- package/dist/vscode/vs/workbench/common/contextkeys.js +9 -1
- package/dist/vscode/vs/workbench/common/editor/editorGroupModel.js +5 -1
- package/dist/vscode/vs/workbench/common/editor/resourceEditorInput.js +6 -3
- package/dist/vscode/vs/workbench/common/editor/textResourceEditorInput.js +9 -6
- package/dist/vscode/vs/workbench/common/editor.js +1 -5
- package/dist/vscode/vs/workbench/common/resources.js +111 -34
- package/dist/vscode/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +1 -1
- package/dist/vscode/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.js +1 -1
- package/dist/vscode/vs/workbench/contrib/chat/browser/chat.js +3 -0
- package/dist/vscode/vs/workbench/contrib/chat/common/chatService.js +3 -0
- package/dist/vscode/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +6 -4
- package/dist/vscode/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +250 -0
- package/dist/vscode/vs/workbench/contrib/customEditor/browser/customEditorInput.js +290 -0
- package/dist/vscode/vs/workbench/contrib/customEditor/common/customEditor.js +3 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugActionViewItems.js +1 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugCommands.js +2 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +20 -20
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugEditorActions.js +5 -3
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugEditorContribution.js +5 -2
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugHover.js +33 -6
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugSession.js +1 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugTaskRunner.js +1 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/repl.js +3 -3
- package/dist/vscode/vs/workbench/contrib/debug/common/debugModel.js +29 -17
- package/dist/vscode/vs/workbench/contrib/debug/common/debugStorage.js +11 -10
- package/dist/vscode/vs/workbench/contrib/debug/common/debugger.js +10 -6
- package/dist/vscode/vs/workbench/contrib/extensions/browser/extensionsActions.js +2514 -0
- package/dist/vscode/vs/workbench/contrib/extensions/browser/extensionsIcons.js +82 -0
- package/dist/vscode/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/extensions/common/extensions.js +6 -1
- package/dist/vscode/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +16 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +2 -3
- package/dist/vscode/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +2 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/explorerService.js +10 -6
- package/dist/vscode/vs/workbench/contrib/files/browser/explorerViewlet.js +3 -18
- package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.contribution.js +37 -2
- package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.js +65 -3
- package/dist/vscode/vs/workbench/contrib/files/browser/fileCommands.js +3 -3
- package/dist/vscode/vs/workbench/contrib/files/browser/fileConstants.js +3 -1
- package/dist/vscode/vs/workbench/contrib/files/browser/files.contribution.js +41 -6
- package/dist/vscode/vs/workbench/contrib/files/browser/files.js +1 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/views/explorerView.js +3 -3
- package/dist/vscode/vs/workbench/contrib/files/browser/views/explorerViewer.js +6 -2
- package/dist/vscode/vs/workbench/contrib/files/common/explorerModel.js +16 -9
- package/dist/vscode/vs/workbench/contrib/files/common/files.js +1 -6
- package/dist/vscode/vs/workbench/contrib/interactive/browser/interactiveDocumentService.js +3 -0
- package/dist/vscode/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +200 -0
- package/dist/vscode/vs/workbench/contrib/interactive/browser/interactiveHistoryService.js +3 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/markers.contribution.js +586 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/markersFilterOptions.js +75 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/markersModel.js +201 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/markersTable.js +451 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/markersTreeViewer.js +670 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/markersView.js +857 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/markersViewActions.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/markersViewActions.js +132 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/media/markers.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/markers/browser/messages.js +171 -0
- package/dist/vscode/vs/workbench/contrib/markers/common/markers.js +15 -1
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +135 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +421 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +5 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +55 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/editing.js +54 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +108 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +334 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +606 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +307 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +36 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +165 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/telemetry.js +78 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/browser/utils.js +68 -0
- package/dist/vscode/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +2 -0
- package/dist/vscode/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +70 -0
- package/dist/vscode/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +158 -0
- package/dist/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser.js +6 -1
- package/dist/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.js +3 -0
- package/dist/vscode/vs/workbench/contrib/notebook/common/notebookCommon.js +16 -1
- package/dist/vscode/vs/workbench/contrib/notebook/common/notebookService.js +3 -0
- package/dist/vscode/vs/workbench/contrib/output/browser/logViewer.js +64 -0
- package/dist/vscode/vs/workbench/contrib/output/browser/output.contribution.js +378 -0
- package/dist/vscode/vs/workbench/contrib/output/browser/outputServices.js +39 -3
- package/dist/vscode/vs/workbench/contrib/output/browser/outputView.js +220 -0
- package/dist/vscode/vs/workbench/contrib/output/common/outputChannelModel.js +12 -3
- package/dist/vscode/vs/workbench/contrib/output/common/outputLinkComputer.js +129 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +270 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +1080 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/media/keybindingsEditor.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/media/preferences.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/media/settingsWidgets.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/preferences.contribution.js +1154 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesActions.js +94 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesEditor.js +47 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesIcons.js +37 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +731 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesSearch.js +271 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +479 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsEditor2.js +1465 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.js +506 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsLayout.js +296 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsSearchMenu.js +79 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsTree.js +1984 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +759 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/settingsWidgets.js +1008 -0
- package/dist/vscode/vs/workbench/contrib/preferences/browser/tocTree.js +196 -0
- package/dist/vscode/vs/workbench/contrib/preferences/common/preferences.js +68 -0
- package/dist/vscode/vs/workbench/contrib/preferences/common/preferencesContribution.js +157 -0
- package/dist/vscode/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +67 -0
- package/dist/vscode/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +16 -16
- package/dist/vscode/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +1 -2
- package/dist/vscode/vs/workbench/contrib/remote/browser/remoteExplorer.js +23 -2
- package/dist/vscode/vs/workbench/contrib/remote/browser/tunnelView.js +5 -5
- package/dist/vscode/vs/workbench/contrib/search/browser/media/searchview.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/patternInputWidget.js +217 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/replace.js +3 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/replaceContributions.js +7 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/replaceService.js +222 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/search.contribution.js +54 -15
- package/dist/vscode/vs/workbench/contrib/search/browser/searchActionsBase.js +17 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/searchFindInput.js +41 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/searchIcons.js +35 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/searchMessage.js +58 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/searchModel.js +1842 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/searchNotebookHelpers.js +49 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/searchResultsView.js +379 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/searchView.js +1867 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/searchWidget.js +628 -0
- package/dist/vscode/vs/workbench/contrib/search/common/constants.js +30 -1
- package/dist/vscode/vs/workbench/contrib/search/common/search.js +9 -1
- package/dist/vscode/vs/workbench/contrib/search/common/searchHistoryService.js +42 -0
- package/dist/vscode/vs/workbench/contrib/searchEditor/browser/constants.js +11 -0
- package/dist/vscode/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +477 -0
- package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditor.js +697 -0
- package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +188 -0
- package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +295 -0
- package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +135 -0
- package/dist/vscode/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +268 -0
- package/dist/vscode/vs/workbench/contrib/snippets/browser/tabCompletion.js +2 -2
- package/dist/vscode/vs/workbench/contrib/tasks/common/taskService.js +16 -1
- package/dist/vscode/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +119 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/media/scrollbar.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/media/terminal.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/media/widgets.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/media/xterm.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminal.contribution.js +238 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminal.js +4 -1
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalActions.js +1930 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalCommands.js +22 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +213 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +17 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalEditor.js +186 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +199 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalEditorService.js +239 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalExtensions.js +22 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalGroup.js +482 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalGroupService.js +372 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalIcon.js +60 -1
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalIcons.js +37 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalInstance.js +2123 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +79 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalMainContribution.js +82 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalMenus.js +850 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +142 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +618 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.js +278 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +417 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalProfileService.js +213 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +144 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +267 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalService.js +1063 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalStatusList.js +108 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +417 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalTabsList.js +680 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalTooltip.js +72 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalUri.js +39 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalView.js +535 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +36 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +469 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +97 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +56 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +416 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +390 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +587 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/environmentVariable.js +3 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/environmentVariableService.js +94 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/history.js +356 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/terminal.js +266 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -16
- package/dist/vscode/vs/workbench/contrib/terminal/common/terminalConfiguration.js +965 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/terminalContextKey.js +157 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/terminalEnvironment.js +272 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/terminalExtensionPoints.js +27 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/terminalStrings.js +86 -0
- package/dist/vscode/vs/workbench/contrib/terminal/electron-sandbox/terminalProfileResolverService.js +46 -0
- package/dist/vscode/vs/workbench/contrib/terminalContrib/links/browser/links.js +3 -0
- package/dist/vscode/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkProviderService.js +26 -0
- package/dist/vscode/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.js +3 -0
- package/dist/vscode/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +143 -0
- package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +85 -0
- package/dist/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.js +52 -0
- package/dist/vscode/vs/workbench/services/actions/common/menusExtensionPoint.js +14 -6
- package/dist/vscode/vs/workbench/services/assignment/common/assignmentService.js +3 -0
- package/dist/vscode/vs/workbench/services/configuration/browser/configurationService.js +13 -13
- package/dist/vscode/vs/workbench/services/configuration/common/configuration.js +2 -1
- package/dist/vscode/vs/workbench/services/configuration/common/configurationEditing.js +2 -2
- package/dist/vscode/vs/workbench/services/configuration/common/jsonEditingService.js +2 -2
- package/dist/vscode/vs/workbench/services/dialogs/browser/abstractFileDialogService.js +302 -0
- package/dist/vscode/vs/workbench/services/dialogs/browser/simpleFileDialog.js +971 -0
- package/dist/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -2
- package/dist/vscode/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +4 -0
- package/dist/vscode/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +2 -0
- package/dist/vscode/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +3 -0
- package/dist/vscode/vs/workbench/services/extensions/common/extensions.js +14 -2
- package/dist/vscode/vs/workbench/services/extensions/common/extensionsApiProposals.js +10 -1
- package/dist/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +70 -3
- package/dist/vscode/vs/workbench/services/hover/browser/hoverService.js +1 -1
- package/dist/vscode/vs/workbench/services/hover/browser/hoverWidget.js +2 -1
- package/dist/vscode/vs/workbench/services/hover/browser/media/hover.css.js +1 -1
- package/dist/vscode/vs/workbench/services/keybinding/common/keybindingEditing.js +275 -0
- package/dist/vscode/vs/workbench/services/localization/common/locale.js +3 -0
- package/dist/vscode/vs/workbench/services/log/common/logConstants.js +2 -0
- package/dist/vscode/vs/workbench/services/output/common/output.js +4 -1
- package/dist/vscode/vs/workbench/services/preferences/common/preferences.js +22 -1
- package/dist/vscode/vs/workbench/services/preferences/common/preferencesModels.js +6 -0
- package/dist/vscode/vs/workbench/services/preferences/common/preferencesValidation.js +37 -1
- package/dist/vscode/vs/workbench/services/remote/common/remoteAgentService.js +69 -0
- package/dist/vscode/vs/workbench/services/remote/common/remoteExplorerService.js +66 -27
- package/dist/vscode/vs/workbench/services/search/common/fileSearchManager.js +265 -0
- package/dist/vscode/vs/workbench/services/search/common/queryBuilder.js +6 -0
- package/dist/vscode/vs/workbench/services/search/common/replace.js +203 -0
- package/dist/vscode/vs/workbench/services/search/common/search.js +227 -1
- package/dist/vscode/vs/workbench/services/search/common/searchExtTypes.js +6 -0
- package/dist/vscode/vs/workbench/services/search/common/searchHelpers.js +72 -0
- package/dist/vscode/vs/workbench/services/search/common/searchService.js +355 -0
- package/dist/vscode/vs/workbench/services/search/common/textSearchManager.js +309 -0
- package/dist/vscode/vs/workbench/services/suggest/browser/media/suggest.css.js +4 -0
- package/dist/vscode/vs/workbench/services/suggest/browser/simpleCompletionItem.js +10 -0
- package/dist/vscode/vs/workbench/services/suggest/browser/simpleCompletionModel.js +98 -0
- package/dist/vscode/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +399 -0
- package/dist/vscode/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +83 -0
- package/dist/vscode/vs/workbench/services/terminal/common/embedderTerminalService.js +3 -0
- package/dist/vscode/vs/workbench/services/textfile/browser/textFileService.js +1 -1
- package/dist/vscode/vs/workbench/services/textfile/common/textFileEditorModel.js +10 -3
- package/dist/vscode/vs/workbench/services/themes/browser/fileIconThemeData.js +3 -3
- package/dist/vscode/vs/workbench/services/themes/browser/productIconThemeData.js +3 -3
- package/dist/vscode/vs/workbench/services/themes/common/colorThemeData.js +3 -3
- package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput.js +6 -4
- package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorModel.js +3 -0
- package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.js +4 -0
- package/dist/vscode/vs/workbench/services/userActivity/common/userActivityRegistry.js +15 -0
- package/dist/vscode/vs/workbench/services/userActivity/common/userActivityService.js +37 -0
- package/dist/vscode/vs/workbench/services/userDataSync/common/userDataSync.js +7 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.js +40 -0
- package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyService.js +12 -0
- package/dist/vscode/vs/workbench/services/workspaces/common/canonicalUriService.js +19 -0
- package/dist/vscode-default-extensions/css/syntaxes/css.tmLanguage.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/json/package.json.js +1 -1
- package/dist/vscode-default-extensions/json/syntaxes/JSONC.tmLanguage.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/json/syntaxes/JSONL.tmLanguage.json.extensionResource.js +2 -0
- package/dist/vscode-default-extensions/latex/syntaxes/Bibtex.tmLanguage.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/latex/syntaxes/LaTeX.tmLanguage.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/latex/syntaxes/TeX.tmLanguage.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/lua/syntaxes/lua.tmLanguage.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/perl/package.json.js +1 -1
- package/dist/vscode-default-extensions/php/snippets/php.code-snippets.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/sql/language-configuration.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-abyss/themes/abyss-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-defaults/package.json.js +1 -1
- package/dist/vscode-default-extensions/theme-defaults/themes/dark_modern.json.extensionResource.js +2 -0
- package/dist/vscode-default-extensions/theme-defaults/themes/dark_vs.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-defaults/themes/hc_black.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-defaults/themes/hc_light.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-defaults/themes/light_modern.json.extensionResource.js +2 -0
- package/dist/vscode-default-extensions/theme-defaults/themes/light_vs.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-monokai/themes/monokai-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-quietlight/themes/quietlight-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-red/themes/Red-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-seti/icons/vs-seti-icon-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-solarized-light/themes/solarized-light-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-color-theme.json.extensionResource.js +1 -1
- package/dist/vscode-default-extensions/vb/language-configuration.json.extensionResource.js +1 -1
- package/dist/vscode-services/env.js +4 -2
- package/dist/vscode-services/extHost.js +32 -48
- package/dist/vscode-services/missing-services.js +407 -29
- package/dist/vscode-services/window.js +59 -65
- package/dist/vscode-services/workspace.js +19 -5
- package/dist/workers/outputLinkComputer.worker.d.ts +2 -0
- package/dist/workers/outputLinkComputer.worker.js +3 -0
- package/dist/workspace.d.ts +1 -1
- package/monaco-editor-treemending.patch +1305 -1184
- package/package.json +65 -19
- package/dist/activity.d.ts +0 -2802
- package/dist/collections.d.ts +0 -7
- package/dist/colorRegistry.d.ts +0 -710
- package/dist/vscode/vs/platform/product/common/product.js +0 -48
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionFollowups.js +0 -30
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionInputPart.js +0 -196
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionListRenderer.js +0 -622
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionOptions.js +0 -77
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionWidget.js +0 -311
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/media/interactiveSession.css.js +0 -4
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionContextKeys.js +0 -56
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionModel.js +0 -305
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionService.js +0 -13
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionServiceImpl.js +0 -379
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionViewModel.js +0 -207
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionWidgetHistoryService.js +0 -3
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionWordCounter.js +0 -25
- package/dist/vscode-default-extensions/theme-defaults/themes/dark_plus_experimental.json.extensionResource.js +0 -2
- package/dist/vscode-default-extensions/theme-defaults/themes/light_plus_experimental.json.extensionResource.js +0 -2
package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionOptions.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
3
|
-
import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
4
|
-
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
5
|
-
import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
6
|
-
import { IViewDescriptorService } from '../../../common/views.js';
|
|
7
|
-
let InteractiveSessionEditorOptions = class InteractiveSessionEditorOptions extends Disposable {
|
|
8
|
-
get configuration() {
|
|
9
|
-
return this._config;
|
|
10
|
-
}
|
|
11
|
-
constructor(viewId, inputEditorBackgroundColorDelegate, resultEditorBackgroundColorDelegate, configurationService, themeService, viewDescriptorService) {
|
|
12
|
-
super();
|
|
13
|
-
this.inputEditorBackgroundColorDelegate = inputEditorBackgroundColorDelegate;
|
|
14
|
-
this.resultEditorBackgroundColorDelegate = resultEditorBackgroundColorDelegate;
|
|
15
|
-
this.configurationService = configurationService;
|
|
16
|
-
this.themeService = themeService;
|
|
17
|
-
this.viewDescriptorService = viewDescriptorService;
|
|
18
|
-
this._onDidChange = this._register(( new Emitter()));
|
|
19
|
-
this.onDidChange = this._onDidChange.event;
|
|
20
|
-
this._register(this.themeService.onDidColorThemeChange(e => this.update()));
|
|
21
|
-
this._register(this.viewDescriptorService.onDidChangeLocation(e => {
|
|
22
|
-
if (( e.views.some(v => v.id === viewId))) {
|
|
23
|
-
this.update();
|
|
24
|
-
}
|
|
25
|
-
}));
|
|
26
|
-
this._register(this.configurationService.onDidChangeConfiguration(e => {
|
|
27
|
-
if (( InteractiveSessionEditorOptions.relevantSettingIds.some(id => e.affectsConfiguration(id)))) {
|
|
28
|
-
this.update();
|
|
29
|
-
}
|
|
30
|
-
}));
|
|
31
|
-
this.update();
|
|
32
|
-
}
|
|
33
|
-
update() {
|
|
34
|
-
const editorConfig = this.configurationService.getValue('editor');
|
|
35
|
-
const interactiveSessionEditorConfig = this.configurationService.getValue('interactiveSession').editor;
|
|
36
|
-
const accessibilitySupport = this.configurationService.getValue('editor.accessibilitySupport');
|
|
37
|
-
this._config = {
|
|
38
|
-
inputEditor: {
|
|
39
|
-
backgroundColor: this.themeService.getColorTheme().getColor(this.inputEditorBackgroundColorDelegate()),
|
|
40
|
-
accessibilitySupport,
|
|
41
|
-
},
|
|
42
|
-
resultEditor: {
|
|
43
|
-
backgroundColor: this.themeService.getColorTheme().getColor(this.resultEditorBackgroundColorDelegate()),
|
|
44
|
-
fontSize: interactiveSessionEditorConfig.fontSize,
|
|
45
|
-
fontFamily: interactiveSessionEditorConfig.fontFamily === 'default' ? editorConfig.fontFamily : interactiveSessionEditorConfig.fontFamily,
|
|
46
|
-
fontWeight: interactiveSessionEditorConfig.fontWeight,
|
|
47
|
-
lineHeight: interactiveSessionEditorConfig.lineHeight ? interactiveSessionEditorConfig.lineHeight : InteractiveSessionEditorOptions.lineHeightEm * interactiveSessionEditorConfig.fontSize,
|
|
48
|
-
bracketPairColorization: {
|
|
49
|
-
enabled: this.configurationService.getValue('editor.bracketPairColorization.enabled'),
|
|
50
|
-
independentColorPoolPerBracketType: this.configurationService.getValue('editor.bracketPairColorization.independentColorPoolPerBracketType'),
|
|
51
|
-
},
|
|
52
|
-
wordWrap: interactiveSessionEditorConfig.wordWrap,
|
|
53
|
-
fontLigatures: editorConfig.fontLigatures,
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
this._onDidChange.fire();
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
InteractiveSessionEditorOptions.lineHeightEm = 1.4;
|
|
60
|
-
InteractiveSessionEditorOptions.relevantSettingIds = [
|
|
61
|
-
'interactiveSession.editor.lineHeight',
|
|
62
|
-
'interactiveSession.editor.fontSize',
|
|
63
|
-
'interactiveSession.editor.fontFamily',
|
|
64
|
-
'interactiveSession.editor.fontWeight',
|
|
65
|
-
'interactiveSession.editor.wordWrap',
|
|
66
|
-
'editor.cursorBlinking',
|
|
67
|
-
'editor.fontLigatures',
|
|
68
|
-
'editor.accessibilitySupport',
|
|
69
|
-
'editor.bracketPairColorization.enabled',
|
|
70
|
-
'editor.bracketPairColorization.independentColorPoolPerBracketType',
|
|
71
|
-
];
|
|
72
|
-
InteractiveSessionEditorOptions = ( __decorate([
|
|
73
|
-
( __param(3, IConfigurationService)),
|
|
74
|
-
( __param(4, IThemeService)),
|
|
75
|
-
( __param(5, IViewDescriptorService))
|
|
76
|
-
], InteractiveSessionEditorOptions));
|
|
77
|
-
export { InteractiveSessionEditorOptions };
|
package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionWidget.js
DELETED
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
3
|
-
import { CancellationToken } from 'monaco-editor/esm/vs/base/common/cancellation.js';
|
|
4
|
-
import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
5
|
-
import { Disposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
6
|
-
import './media/interactiveSession.css.js';
|
|
7
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
8
|
-
import { MenuId } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
|
|
9
|
-
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
10
|
-
import { IContextMenuService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
|
|
11
|
-
import { createDecorator, IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
12
|
-
import { ServiceCollection } from 'monaco-editor/esm/vs/platform/instantiation/common/serviceCollection.js';
|
|
13
|
-
import { WorkbenchObjectTree } from 'monaco-editor/esm/vs/platform/list/browser/listService.js';
|
|
14
|
-
import { foreground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
15
|
-
import { InteractiveSessionInputPart } from './interactiveSessionInputPart.js';
|
|
16
|
-
import { InteractiveSessionListDelegate, InteractiveListItemRenderer, InteractiveSessionAccessibilityProvider } from './interactiveSessionListRenderer.js';
|
|
17
|
-
import { InteractiveSessionEditorOptions } from './interactiveSessionOptions.js';
|
|
18
|
-
import { CONTEXT_IN_INTERACTIVE_SESSION, CONTEXT_INTERACTIVE_REQUEST_IN_PROGRESS } from '../common/interactiveSessionContextKeys.js';
|
|
19
|
-
import { IInteractiveSessionService } from '../common/interactiveSessionService.js';
|
|
20
|
-
import { isRequestVM, isWelcomeVM, isResponseVM, InteractiveSessionViewModel } from '../common/interactiveSessionViewModel.js';
|
|
21
|
-
const IInteractiveSessionWidgetService = ( createDecorator('interactiveSessionWidgetService'));
|
|
22
|
-
const $ = dom.$;
|
|
23
|
-
function revealLastElement(list) {
|
|
24
|
-
list.scrollTop = list.scrollHeight - list.renderHeight;
|
|
25
|
-
}
|
|
26
|
-
let InteractiveSessionWidget = class InteractiveSessionWidget extends Disposable {
|
|
27
|
-
set viewModel(viewModel) {
|
|
28
|
-
if (this._viewModel === viewModel) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
this.viewModelDisposables.clear();
|
|
32
|
-
this._viewModel = viewModel;
|
|
33
|
-
if (viewModel) {
|
|
34
|
-
this.viewModelDisposables.add(viewModel);
|
|
35
|
-
}
|
|
36
|
-
this.slashCommandsPromise = undefined;
|
|
37
|
-
this.lastSlashCommands = undefined;
|
|
38
|
-
this.getSlashCommands().then(() => {
|
|
39
|
-
this.onDidChangeItems();
|
|
40
|
-
});
|
|
41
|
-
this._onDidChangeViewModel.fire();
|
|
42
|
-
}
|
|
43
|
-
get viewModel() {
|
|
44
|
-
return this._viewModel;
|
|
45
|
-
}
|
|
46
|
-
constructor(viewContext, listBackgroundColorDelegate, inputEditorBackgroundColorDelegate, resultEditorBackgroundColorDelegate, contextKeyService, instantiationService, interactiveSessionService, interactiveSessionWidgetService, contextMenuService) {
|
|
47
|
-
super();
|
|
48
|
-
this.viewContext = viewContext;
|
|
49
|
-
this.listBackgroundColorDelegate = listBackgroundColorDelegate;
|
|
50
|
-
this.inputEditorBackgroundColorDelegate = inputEditorBackgroundColorDelegate;
|
|
51
|
-
this.resultEditorBackgroundColorDelegate = resultEditorBackgroundColorDelegate;
|
|
52
|
-
this.contextKeyService = contextKeyService;
|
|
53
|
-
this.instantiationService = instantiationService;
|
|
54
|
-
this.interactiveSessionService = interactiveSessionService;
|
|
55
|
-
this.contextMenuService = contextMenuService;
|
|
56
|
-
this._onDidFocus = this._register(( new Emitter()));
|
|
57
|
-
this.onDidFocus = this._onDidFocus.event;
|
|
58
|
-
this._onDidChangeViewModel = this._register(( new Emitter()));
|
|
59
|
-
this.onDidChangeViewModel = this._onDidChangeViewModel.event;
|
|
60
|
-
this.visible = false;
|
|
61
|
-
this.visibleChangeCount = 0;
|
|
62
|
-
this.previousTreeScrollHeight = 0;
|
|
63
|
-
this.viewModelDisposables = ( new DisposableStore());
|
|
64
|
-
CONTEXT_IN_INTERACTIVE_SESSION.bindTo(contextKeyService).set(true);
|
|
65
|
-
this.requestInProgress = CONTEXT_INTERACTIVE_REQUEST_IN_PROGRESS.bindTo(contextKeyService);
|
|
66
|
-
this._register(interactiveSessionWidgetService.register(this));
|
|
67
|
-
}
|
|
68
|
-
get providerId() {
|
|
69
|
-
return this.viewModel?.providerId || '';
|
|
70
|
-
}
|
|
71
|
-
get inputEditor() {
|
|
72
|
-
return this.inputPart.inputEditor;
|
|
73
|
-
}
|
|
74
|
-
get inputUri() {
|
|
75
|
-
return this.inputPart.inputUri;
|
|
76
|
-
}
|
|
77
|
-
render(parent) {
|
|
78
|
-
this.container = dom.append(parent, $('.interactive-session'));
|
|
79
|
-
this.listContainer = dom.append(this.container, $(`.interactive-list`));
|
|
80
|
-
const viewId = 'viewId' in this.viewContext ? this.viewContext.viewId : undefined;
|
|
81
|
-
this.editorOptions = this._register(this.instantiationService.createInstance(InteractiveSessionEditorOptions, viewId, this.inputEditorBackgroundColorDelegate, this.resultEditorBackgroundColorDelegate));
|
|
82
|
-
this.createList(this.listContainer);
|
|
83
|
-
this.createInput(this.container);
|
|
84
|
-
this._register(this.editorOptions.onDidChange(() => this.onDidStyleChange()));
|
|
85
|
-
this.onDidStyleChange();
|
|
86
|
-
if (this.viewModel) {
|
|
87
|
-
this.onDidChangeItems();
|
|
88
|
-
revealLastElement(this.tree);
|
|
89
|
-
}
|
|
90
|
-
InteractiveSessionWidget.CONTRIBS.forEach(contrib => this._register(this.instantiationService.createInstance(contrib, this)));
|
|
91
|
-
}
|
|
92
|
-
focusInput() {
|
|
93
|
-
this.inputPart.focus();
|
|
94
|
-
}
|
|
95
|
-
onDidChangeItems() {
|
|
96
|
-
if (this.tree && this.visible) {
|
|
97
|
-
const treeItems = ( (this.viewModel?.getItems() ?? [])
|
|
98
|
-
.map(item => {
|
|
99
|
-
return {
|
|
100
|
-
element: item,
|
|
101
|
-
collapsed: false,
|
|
102
|
-
collapsible: false
|
|
103
|
-
};
|
|
104
|
-
}));
|
|
105
|
-
this.tree.setChildren(null, treeItems, {
|
|
106
|
-
diffIdentityProvider: {
|
|
107
|
-
getId: (element) => {
|
|
108
|
-
return element.id +
|
|
109
|
-
`${(isRequestVM(element) || isWelcomeVM(element)) && !!this.lastSlashCommands ? '_scLoaded' : ''}` +
|
|
110
|
-
`${isResponseVM(element) && element.renderData ? `_${this.visibleChangeCount}` : ''}`;
|
|
111
|
-
},
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
const lastItem = treeItems[treeItems.length - 1]?.element;
|
|
115
|
-
if (lastItem && isResponseVM(lastItem) && lastItem.isComplete) {
|
|
116
|
-
this.renderFollowups(lastItem.replyFollowups);
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
this.renderFollowups(undefined);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
async renderFollowups(items) {
|
|
124
|
-
this.inputPart.renderFollowups(items);
|
|
125
|
-
if (this.bodyDimension) {
|
|
126
|
-
this.layout(this.bodyDimension.height, this.bodyDimension.width);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
setVisible(visible) {
|
|
130
|
-
this.visible = visible;
|
|
131
|
-
this.visibleChangeCount++;
|
|
132
|
-
this.renderer.setVisible(visible);
|
|
133
|
-
if (visible) {
|
|
134
|
-
this.onDidChangeItems();
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
async getSlashCommands() {
|
|
138
|
-
if (!this.viewModel) {
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
if (!this.slashCommandsPromise) {
|
|
142
|
-
this.slashCommandsPromise = this.interactiveSessionService.getSlashCommands(this.viewModel.sessionId, CancellationToken.None).then(commands => {
|
|
143
|
-
const clearCommand = {
|
|
144
|
-
command: 'clear',
|
|
145
|
-
sortText: 'z_clear',
|
|
146
|
-
detail: ( localize('clear', "Clear the session")),
|
|
147
|
-
};
|
|
148
|
-
this.lastSlashCommands = [
|
|
149
|
-
...(commands ?? []),
|
|
150
|
-
clearCommand
|
|
151
|
-
];
|
|
152
|
-
return this.lastSlashCommands;
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
return this.slashCommandsPromise;
|
|
156
|
-
}
|
|
157
|
-
createList(listContainer) {
|
|
158
|
-
const scopedInstantiationService = this.instantiationService.createChild(( new ServiceCollection([IContextKeyService, this.contextKeyService])));
|
|
159
|
-
const delegate = scopedInstantiationService.createInstance(InteractiveSessionListDelegate);
|
|
160
|
-
const rendererDelegate = {
|
|
161
|
-
getListLength: () => this.tree.getNode(null).visibleChildrenCount,
|
|
162
|
-
getSlashCommands: () => this.lastSlashCommands ?? [],
|
|
163
|
-
};
|
|
164
|
-
this.renderer = this._register(scopedInstantiationService.createInstance(InteractiveListItemRenderer, this.editorOptions, rendererDelegate));
|
|
165
|
-
this._register(this.renderer.onDidClickFollowup(item => {
|
|
166
|
-
this.acceptInput(item);
|
|
167
|
-
}));
|
|
168
|
-
this.tree = scopedInstantiationService.createInstance(WorkbenchObjectTree, 'InteractiveSession', listContainer, delegate, [this.renderer], {
|
|
169
|
-
identityProvider: { getId: (e) => e.id },
|
|
170
|
-
supportDynamicHeights: true,
|
|
171
|
-
hideTwistiesOfChildlessElements: true,
|
|
172
|
-
accessibilityProvider: ( new InteractiveSessionAccessibilityProvider()),
|
|
173
|
-
keyboardNavigationLabelProvider: { getKeyboardNavigationLabel: (e) => isRequestVM(e) ? e.message : isResponseVM(e) ? e.response.value : '' },
|
|
174
|
-
setRowLineHeight: false,
|
|
175
|
-
overrideStyles: {
|
|
176
|
-
listFocusBackground: this.listBackgroundColorDelegate(),
|
|
177
|
-
listInactiveFocusBackground: this.listBackgroundColorDelegate(),
|
|
178
|
-
listActiveSelectionBackground: this.listBackgroundColorDelegate(),
|
|
179
|
-
listFocusAndSelectionBackground: this.listBackgroundColorDelegate(),
|
|
180
|
-
listInactiveSelectionBackground: this.listBackgroundColorDelegate(),
|
|
181
|
-
listHoverBackground: this.listBackgroundColorDelegate(),
|
|
182
|
-
listBackground: this.listBackgroundColorDelegate(),
|
|
183
|
-
listFocusForeground: foreground,
|
|
184
|
-
listHoverForeground: foreground,
|
|
185
|
-
listInactiveFocusForeground: foreground,
|
|
186
|
-
listInactiveSelectionForeground: foreground,
|
|
187
|
-
listActiveSelectionForeground: foreground,
|
|
188
|
-
listFocusAndSelectionForeground: foreground,
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
this.tree.onContextMenu(e => this.onContextMenu(e));
|
|
192
|
-
this._register(this.tree.onDidChangeContentHeight(() => {
|
|
193
|
-
this.onDidChangeTreeContentHeight();
|
|
194
|
-
}));
|
|
195
|
-
this._register(this.renderer.onDidChangeItemHeight(e => {
|
|
196
|
-
this.tree.updateElementHeight(e.element, e.height);
|
|
197
|
-
}));
|
|
198
|
-
this._register(this.tree.onDidFocus(() => {
|
|
199
|
-
this._onDidFocus.fire();
|
|
200
|
-
}));
|
|
201
|
-
}
|
|
202
|
-
onContextMenu(e) {
|
|
203
|
-
e.browserEvent.preventDefault();
|
|
204
|
-
e.browserEvent.stopPropagation();
|
|
205
|
-
this.contextMenuService.showContextMenu({
|
|
206
|
-
menuId: MenuId.InteractiveSessionContext,
|
|
207
|
-
menuActionOptions: { shouldForwardArgs: true },
|
|
208
|
-
contextKeyService: this.contextKeyService,
|
|
209
|
-
getAnchor: () => e.anchor,
|
|
210
|
-
getActionsContext: () => e.element,
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
onDidChangeTreeContentHeight() {
|
|
214
|
-
if (this.tree.scrollHeight !== this.previousTreeScrollHeight) {
|
|
215
|
-
const lastElementWasVisible = this.tree.scrollTop + this.tree.renderHeight >= this.previousTreeScrollHeight - 2;
|
|
216
|
-
if (lastElementWasVisible) {
|
|
217
|
-
dom.scheduleAtNextAnimationFrame(() => {
|
|
218
|
-
revealLastElement(this.tree);
|
|
219
|
-
}, 0);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
this.previousTreeScrollHeight = this.tree.scrollHeight;
|
|
223
|
-
}
|
|
224
|
-
createInput(container) {
|
|
225
|
-
this.inputPart = this.instantiationService.createInstance(InteractiveSessionInputPart);
|
|
226
|
-
this.inputPart.render(container, '', this);
|
|
227
|
-
this._register(this.inputPart.onDidFocus(() => this._onDidFocus.fire()));
|
|
228
|
-
this._register(this.inputPart.onDidAcceptFollowup(followup => this.acceptInput(followup)));
|
|
229
|
-
this._register(this.inputPart.onDidChangeHeight(() => this.bodyDimension && this.layout(this.bodyDimension.height, this.bodyDimension.width)));
|
|
230
|
-
}
|
|
231
|
-
onDidStyleChange() {
|
|
232
|
-
this.container.style.setProperty('--vscode-interactive-result-editor-background-color', this.editorOptions.configuration.resultEditor.backgroundColor?.toString() ?? '');
|
|
233
|
-
}
|
|
234
|
-
setModel(model, viewState) {
|
|
235
|
-
if (!this.container) {
|
|
236
|
-
throw new Error('Call render() before setModel()');
|
|
237
|
-
}
|
|
238
|
-
this.viewModel = this.instantiationService.createInstance(InteractiveSessionViewModel, model);
|
|
239
|
-
this.viewModelDisposables.add(this.viewModel.onDidChange(() => {
|
|
240
|
-
this.slashCommandsPromise = undefined;
|
|
241
|
-
this.requestInProgress.set(this.viewModel.requestInProgress);
|
|
242
|
-
this.onDidChangeItems();
|
|
243
|
-
}));
|
|
244
|
-
this.viewModelDisposables.add(this.viewModel.onDidDisposeModel(() => {
|
|
245
|
-
this.viewModel = undefined;
|
|
246
|
-
this.onDidChangeItems();
|
|
247
|
-
}));
|
|
248
|
-
this.inputPart.setState(model.providerId, viewState.inputValue ?? '');
|
|
249
|
-
if (this.tree) {
|
|
250
|
-
this.onDidChangeItems();
|
|
251
|
-
revealLastElement(this.tree);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
async acceptInput(query) {
|
|
255
|
-
if (this.viewModel) {
|
|
256
|
-
const editorValue = this.inputPart.inputEditor.getValue();
|
|
257
|
-
if (!query && editorValue.trim() === '/clear') {
|
|
258
|
-
this.interactiveSessionService.clearSession(this.viewModel.sessionId);
|
|
259
|
-
this.inputPart.inputEditor.setValue('');
|
|
260
|
-
return;
|
|
261
|
-
}
|
|
262
|
-
const input = query ?? editorValue;
|
|
263
|
-
const result = await this.interactiveSessionService.sendRequest(this.viewModel.sessionId, input);
|
|
264
|
-
if (result) {
|
|
265
|
-
revealLastElement(this.tree);
|
|
266
|
-
this.inputPart.acceptInput(query);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
focusLastMessage() {
|
|
271
|
-
if (!this.viewModel) {
|
|
272
|
-
return;
|
|
273
|
-
}
|
|
274
|
-
const items = this.tree.getNode(null).children;
|
|
275
|
-
const lastItem = items[items.length - 1];
|
|
276
|
-
if (!lastItem) {
|
|
277
|
-
return;
|
|
278
|
-
}
|
|
279
|
-
this.tree.setFocus([lastItem.element]);
|
|
280
|
-
this.tree.domFocus();
|
|
281
|
-
}
|
|
282
|
-
layout(height, width) {
|
|
283
|
-
this.bodyDimension = new dom.Dimension(width, height);
|
|
284
|
-
const inputPartHeight = this.inputPart.layout(height, width);
|
|
285
|
-
const lastElementVisible = this.tree.scrollTop + this.tree.renderHeight >= this.tree.scrollHeight;
|
|
286
|
-
const listHeight = height - inputPartHeight;
|
|
287
|
-
this.tree.layout(listHeight, width);
|
|
288
|
-
this.tree.getHTMLElement().style.height = `${listHeight}px`;
|
|
289
|
-
this.renderer.layout(width);
|
|
290
|
-
if (lastElementVisible) {
|
|
291
|
-
revealLastElement(this.tree);
|
|
292
|
-
}
|
|
293
|
-
this.listContainer.style.height = `${height - inputPartHeight}px`;
|
|
294
|
-
}
|
|
295
|
-
saveState() {
|
|
296
|
-
this.inputPart.saveState();
|
|
297
|
-
}
|
|
298
|
-
getViewState() {
|
|
299
|
-
this.inputPart.saveState();
|
|
300
|
-
return { inputValue: this.inputPart.inputEditor.getValue() };
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
InteractiveSessionWidget.CONTRIBS = [];
|
|
304
|
-
InteractiveSessionWidget = ( __decorate([
|
|
305
|
-
( __param(4, IContextKeyService)),
|
|
306
|
-
( __param(5, IInstantiationService)),
|
|
307
|
-
( __param(6, IInteractiveSessionService)),
|
|
308
|
-
( __param(7, IInteractiveSessionWidgetService)),
|
|
309
|
-
( __param(8, IContextMenuService))
|
|
310
|
-
], InteractiveSessionWidget));
|
|
311
|
-
export { IInteractiveSessionWidgetService, InteractiveSessionWidget };
|
package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/media/interactiveSession.css.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import n from '../../../../../../../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".editor-instance .interactive-session{margin:auto;max-width:600px}.interactive-list .monaco-list-row .monaco-tl-twistie{display:none!important}.interactive-item-container{cursor:default;display:flex;flex-direction:column;gap:6px;padding:16px 20px 0;user-select:text;-webkit-user-select:text}.interactive-item-container .header{align-items:center;display:flex;justify-content:space-between}.interactive-item-container .header .user{align-items:center;display:flex;gap:6px}.interactive-item-container .header .username{font-size:12px;font-weight:600;margin:0}.interactive-item-container .header .avatar{align-items:center;background:var(--vscode-badge-background);border-radius:50%;display:flex;height:24px;justify-content:center;pointer-events:none;user-select:none;width:24px}.interactive-item-container .header .avatar .icon{border-radius:50%;height:24px;width:24px}.interactive-item-container .header .avatar .codicon{color:var(--vscode-badge-foreground)!important}.interactive-item-container .header .monaco-toolbar{display:none}.interactive-item-container.interactive-response:hover .header .monaco-toolbar{display:initial}.interactive-item-container .header .monaco-toolbar .action-label{border:1px solid transparent;padding:2px}.interactive-item-container .header .monaco-toolbar .checked .action-label,.interactive-item-container .header .monaco-toolbar .checked .action-label:hover{background-color:var(--vscode-inputOption-activeBackground);border-color:var(--vscode-inputOption-activeBorder);color:var(--vscode-inputOption-activeForeground)!important}.interactive-item-container .value{width:100%}.interactive-item-container .value table{margin-bottom:16px;text-align:left;width:100%}.interactive-item-container .value table,.interactive-item-container .value table td,.interactive-item-container .value table th{border:1px solid var(--vscode-interactive-requestBorder);border-collapse:collapse;padding:4px 6px}.interactive-item-container .value a{color:var(--vscode-textLink-foreground)}.interactive-item-container .value a:active,.interactive-item-container .value a:hover{color:var(--vscode-textLink-activeForeground)}.interactive-list{overflow:hidden}.interactive-request{background-color:var(--vscode-interactive-requestBackground);border-bottom:1px solid var(--vscode-interactive-requestBorder);border-top:1px solid var(--vscode-interactive-requestBorder)}.interactive-item-container .value{word-wrap:break-word;min-height:36px;white-space:normal}.interactive-item-container .value>:last-child:not(.rendered-markdown){margin-bottom:16px}.interactive-item-container .value>.interactive-response-error-details:not(:last-child){margin-bottom:8px}.interactive-item-container .value h1{font-size:20px;font-weight:600;margin:16px 0}.interactive-item-container .value h2{font-size:16px;font-weight:600;margin:16px 0}.interactive-item-container .value h3{font-size:14px;font-weight:600;margin:16px 0}.interactive-item-container .value p{line-height:1.6em;margin:0 0 16px}.interactive-item-container .monaco-tokenized-source,.interactive-item-container code{color:var(--vscode-textPreformat-foreground);font-family:var(--monaco-monospace-font)}.interactive-session .interactive-input-and-toolbar{background-color:var(--vscode-input-background);border:1px solid var(--vscode-input-border,transparent);border-radius:4px;box-sizing:border-box;cursor:text;display:flex;margin:0 12px;padding-left:8px;position:relative}.interactive-session .interactive-input-and-toolbar.focused{border-color:var(--vscode-focusBorder)}.interactive-session .interactive-input-and-toolbar .monaco-editor,.interactive-session .interactive-input-and-toolbar .monaco-editor .monaco-editor-background{background-color:var(--vscode-input-background)!important}.interactive-session .interactive-input-and-toolbar .monaco-editor .cursors-layer{padding-left:4px}.interactive-session .interactive-input-part .interactive-execute-toolbar{bottom:6px;height:22px;position:absolute;right:3px}.interactive-session .interactive-input-part .interactive-execute-toolbar .codicon-debug-stop{color:var(--vscode-icon-foreground)!important}.interactive-item-container .interactive-result-editor-wrapper{position:relative}.interactive-item-container .interactive-result-editor-wrapper .monaco-toolbar{background-color:var(--vscode-interactive-result-editor-background-color,var(--vscode-editor-background));border:1px solid var(--vscode-interactive-requestBorder);display:none;height:26px;position:absolute;right:10px;top:-13px;z-index:100}.interactive-item-container .interactive-result-editor-wrapper .monaco-toolbar .action-item{height:24px;margin:1px 2px;width:24px}.interactive-item-container .interactive-result-editor-wrapper .monaco-toolbar .action-item .codicon{margin:1px}.interactive-item-container .interactive-result-editor-wrapper:hover .monaco-toolbar{display:initial}.interactive-item-container .interactive-result-editor-wrapper .interactive-result-editor{border:1px solid var(--vscode-input-border,transparent)}.interactive-response .monaco-editor .margin,.interactive-response .monaco-editor .monaco-editor-background{background-color:var(--vscode-interactive-result-editor-background-color)}.interactive-item-container .interactive-result-editor-wrapper{margin:16px 0}.interactive-response .interactive-response-error-details{align-items:start;display:flex;gap:6px}.interactive-response .interactive-response-error-details .codicon{margin-top:1px}.interactive-response .interactive-response-error-details .codicon-error{color:var(--vscode-errorForeground)!important}.interactive-response .interactive-response-error-details .codicon-info{color:var(--vscode-notificationsInfoIcon-foreground)!important}.interactive-item-container .value .interactive-slash-command{color:var(--vscode-textLink-foreground)}.interactive-session .interactive-input-part{border-top:1px solid var(--vscode-interactive-requestBorder);display:flex;flex-direction:column;padding:12px 0}.interactive-session-followups{align-items:start;display:flex;flex-direction:column;gap:5px}.interactive-session-followups .monaco-button{text-align:left;width:auto}.interactive-session-followups .monaco-button .codicon{margin-left:0;margin-top:1px}.interactive-item-container .interactive-response-followups .monaco-button{padding:4px 8px}.interactive-session .interactive-input-part .interactive-input-followups{margin:0 20px}.interactive-session .interactive-input-part .interactive-input-followups .interactive-session-followups{margin-bottom:8px}.interactive-session .interactive-input-part .interactive-input-followups .interactive-session-followups .monaco-button{color:var(--vscode-textLink-foreground);display:block}.interactive-session .interactive-input-part .interactive-input-followups .interactive-session-followups code{font-family:var(--monaco-monospace-font)}.interactive-session .interactive-input-part .interactive-input-followups .interactive-session-followups .monaco-button .codicon-sparkle{float:left}.interactive-session-followups .monaco-button.interactive-followup-reply{border:none;font-size:11px;font-weight:600;padding:0}.interactive-welcome .value .interactive-session-followups{margin-bottom:10px}.interactive-item-container .monaco-toolbar .codicon{color:var(--vscode-icon-foreground)!important}.interactive-item-container.filtered-response .value .rendered-markdown{-webkit-mask-image:linear-gradient(rgba(0,0,0,.85),rgba(0,0,0,.05));mask-image:linear-gradient(rgba(0,0,0,.85),rgba(0,0,0,.05))}";
|
|
3
|
-
n(css,{});
|
|
4
|
-
export { css, css as default };
|
package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionContextKeys.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
2
|
-
import { RawContextKey } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
3
|
-
const CONTEXT_RESPONSE_HAS_PROVIDER_ID = ( new RawContextKey(
|
|
4
|
-
'interactiveSessionResponseHasProviderId',
|
|
5
|
-
false,
|
|
6
|
-
{ type: 'boolean', description: ( localize(
|
|
7
|
-
'interactiveSessionResponseHasProviderId',
|
|
8
|
-
"True when the provider has assigned an id to this response."
|
|
9
|
-
)) }
|
|
10
|
-
));
|
|
11
|
-
const CONTEXT_RESPONSE_VOTE = ( new RawContextKey(
|
|
12
|
-
'interactiveSessionResponseVote',
|
|
13
|
-
'',
|
|
14
|
-
{ type: 'string', description: ( localize(
|
|
15
|
-
'interactiveSessionResponseVote',
|
|
16
|
-
"When the response has been voted up, is set to 'up'. When voted down, is set to 'down'. Otherwise an empty string."
|
|
17
|
-
)) }
|
|
18
|
-
));
|
|
19
|
-
const CONTEXT_INTERACTIVE_REQUEST_IN_PROGRESS = ( new RawContextKey(
|
|
20
|
-
'interactiveSessionRequestInProgress',
|
|
21
|
-
false,
|
|
22
|
-
{ type: 'boolean', description: ( localize(
|
|
23
|
-
'interactiveSessionRequestInProgress',
|
|
24
|
-
"True when the current request is still in progress."
|
|
25
|
-
)) }
|
|
26
|
-
));
|
|
27
|
-
const CONTEXT_INTERACTIVE_INPUT_HAS_TEXT = ( new RawContextKey(
|
|
28
|
-
'interactiveInputHasText',
|
|
29
|
-
false,
|
|
30
|
-
{ type: 'boolean', description: ( localize('interactiveInputHasText', "True when the interactive input has text.")) }
|
|
31
|
-
));
|
|
32
|
-
const CONTEXT_IN_INTERACTIVE_INPUT = ( new RawContextKey(
|
|
33
|
-
'inInteractiveInput',
|
|
34
|
-
false,
|
|
35
|
-
{ type: 'boolean', description: ( localize(
|
|
36
|
-
'inInteractiveInput',
|
|
37
|
-
"True when focus is in the interactive input, false otherwise."
|
|
38
|
-
)) }
|
|
39
|
-
));
|
|
40
|
-
const CONTEXT_IN_INTERACTIVE_SESSION = ( new RawContextKey(
|
|
41
|
-
'inInteractiveSession',
|
|
42
|
-
false,
|
|
43
|
-
{ type: 'boolean', description: ( localize(
|
|
44
|
-
'inInteractiveSession',
|
|
45
|
-
"True when focus is in the interactive session widget, false otherwise."
|
|
46
|
-
)) }
|
|
47
|
-
));
|
|
48
|
-
const CONTEXT_PROVIDER_EXISTS = ( new RawContextKey(
|
|
49
|
-
'hasInteractiveSessionProvider',
|
|
50
|
-
false,
|
|
51
|
-
{ type: 'boolean', description: ( localize(
|
|
52
|
-
'hasInteractiveSessionProvider',
|
|
53
|
-
"True when some interactive session provider has been registered."
|
|
54
|
-
)) }
|
|
55
|
-
));
|
|
56
|
-
export { CONTEXT_INTERACTIVE_INPUT_HAS_TEXT, CONTEXT_INTERACTIVE_REQUEST_IN_PROGRESS, CONTEXT_IN_INTERACTIVE_INPUT, CONTEXT_IN_INTERACTIVE_SESSION, CONTEXT_PROVIDER_EXISTS, CONTEXT_RESPONSE_HAS_PROVIDER_ID, CONTEXT_RESPONSE_VOTE };
|