@codingame/monaco-vscode-api 1.79.0 → 1.79.2-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 +17 -6
- package/dist/api.js +12 -10
- package/dist/composite.d.ts +65 -0
- package/dist/configurationRegistry.d.ts +212 -0
- package/dist/contextkey.d.ts +2 -2
- package/dist/default-extension.js +23 -0
- package/dist/default-extensions/json.js +1 -0
- package/dist/default-extensions/theme-defaults.js +2 -2
- package/dist/editor.d.ts +4 -320
- package/dist/editorBrowser.d.ts +597 -11
- package/dist/event.d.ts +6 -1
- package/dist/{extension-tools-d0cfdea1.js → extension-tools-3c2bf0a4.js} +1032 -706
- package/dist/extensions.d.ts +6 -6
- package/dist/extensions.d2.ts +6 -17
- package/dist/extensions.js +4 -37
- package/dist/extensionsRegistry.d.ts +15 -9
- package/dist/files.d.ts +73 -9
- package/dist/jsonSchema.d.ts +1 -1
- package/dist/keybinding.d.ts +3 -3
- package/dist/languageFeatures.d.ts +706 -65
- package/dist/log.d.ts +1 -1
- package/dist/monaco.d.ts +33 -33
- package/dist/monaco.js +62 -6
- package/dist/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +2 -0
- 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 +5 -0
- package/dist/platform.d.ts +11 -0
- package/dist/rollup-extension-directory-plugin.js +1 -2
- package/dist/rollup-vsix-plugin.js +1 -2
- package/dist/service-override/configuration.d.ts +7 -208
- package/dist/service-override/editor.d.ts +13 -0
- package/dist/service-override/{modelEditor.js → editor.js} +6 -62
- package/dist/service-override/files.d.ts +4 -4
- package/dist/service-override/files.js +14 -2
- package/dist/service-override/keybindings.js +3 -79
- package/dist/service-override/layout.js +6 -2
- package/dist/service-override/markers.d.ts +7 -0
- package/dist/service-override/markers.js +6 -0
- package/dist/service-override/model.d.ts +7 -0
- package/dist/service-override/model.js +10 -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.d.ts +7 -0
- package/dist/service-override/quickaccess.js +71 -0
- package/dist/service-override/search.d.ts +7 -0
- package/dist/service-override/search.js +19 -0
- package/dist/service-override/snippets.js +5 -1
- package/dist/service-override/terminal.d.ts +607 -0
- package/dist/service-override/terminal.js +98 -0
- package/dist/service-override/textmate.js +7 -2
- package/dist/service-override/theme.d.ts +1 -1
- package/dist/service-override/tools/editor.js +73 -0
- package/dist/service-override/views.d.ts +569 -481
- package/dist/service-override/views.js +149 -15
- package/dist/services.d.ts +2819 -203
- 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/browser/ui/centered/centeredViewLayout.js +178 -0
- package/dist/vscode/vs/base/browser/ui/grid/grid.js +452 -0
- package/dist/vscode/vs/base/browser/ui/grid/gridview.css.js +4 -0
- package/dist/vscode/vs/base/browser/ui/grid/gridview.js +999 -0
- package/dist/vscode/vs/base/browser/ui/iconLabel/simpleIconLabel.js +14 -0
- package/dist/vscode/vs/base/browser/ui/menu/menubar.css.js +4 -0
- package/dist/vscode/vs/base/browser/ui/menu/menubar.js +1 -1
- package/dist/vscode/vs/base/browser/ui/splitview/paneview.css.js +4 -0
- package/dist/vscode/vs/base/browser/ui/splitview/paneview.js +1 -1
- 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 +39 -1
- package/dist/vscode/vs/platform/extensionManagement/common/extensionManagementUtil.js +5 -1
- package/dist/vscode/vs/platform/extensionManagement/common/extensionStorage.js +1 -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 +94 -0
- 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 +23 -0
- 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/update/common/update.js +11 -1
- 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/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/mainThreadDocumentsAndEditors.js +1 -1
- 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 +49 -0
- 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 +261 -0
- 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 +122 -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 +22 -18
- package/dist/vscode/vs/workbench/browser/actions/quickAccessActions.js +204 -0
- package/dist/vscode/vs/workbench/browser/actions/windowActions.js +2 -2
- package/dist/vscode/vs/workbench/browser/dnd.js +82 -3
- package/dist/vscode/vs/workbench/browser/editor.js +94 -0
- package/dist/vscode/vs/workbench/browser/labels.js +23 -2
- package/dist/vscode/vs/workbench/browser/media/part.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/part.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/activitybar/activitybarActions.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/activitybar/activitybarPart.js +3 -3
- package/dist/vscode/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +14 -26
- package/dist/vscode/vs/workbench/browser/parts/compositePart.js +2 -2
- package/dist/vscode/vs/workbench/browser/parts/dialogs/dialogHandler.js +2 -2
- package/dist/vscode/vs/workbench/browser/parts/editor/binaryDiffEditor.js +43 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/binaryEditor.js +55 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbs.js +330 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsControl.js +690 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsModel.js +142 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +414 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editor.contribution.js +801 -6
- package/dist/vscode/vs/workbench/browser/parts/editor/editor.js +57 -1
- package/dist/vscode/vs/workbench/browser/parts/editor/editorActions.js +1484 -107
- package/dist/vscode/vs/workbench/browser/parts/editor/editorCommands.js +1125 -9
- package/dist/vscode/vs/workbench/browser/parts/editor/editorDropTarget.js +499 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupView.js +1225 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupWatermark.js +133 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorPane.js +242 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorPanes.js +297 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorPart.js +841 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorPlaceholder.js +235 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorQuickAccess.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/editor/editorStatus.js +1152 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorWithViewState.js +139 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorsObserver.js +339 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/editorplaceholder.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/editorquickaccess.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/editorstatus.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/sidebysideeditor.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/media/titlecontrol.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/noTabsTitleControl.js +245 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/sideBySideEditor.js +387 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/tabFocus.js +77 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/tabsTitleControl.js +1553 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/textCodeEditor.js +79 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/textDiffEditor.js +310 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/textEditor.js +220 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/textResourceEditor.js +149 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/titleControl.js +284 -0
- package/dist/vscode/vs/workbench/browser/parts/media/compositepart.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsActions.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsCenter.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsList.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsToasts.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsActions.js +8 -8
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsCenter.js +2 -2
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsList.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsToasts.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/panel/media/basepanelpart.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/panel/media/panelpart.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/panel/panelActions.js +19 -5
- package/dist/vscode/vs/workbench/browser/parts/panel/panelPart.js +2 -2
- package/dist/vscode/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
- package/dist/vscode/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarActions.js +109 -0
- package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarItem.js +224 -0
- package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarModel.js +251 -0
- package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarPart.js +439 -0
- package/dist/vscode/vs/workbench/browser/parts/titlebar/media/menubarControl.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/titlebar/menubarControl.js +76 -3
- package/dist/vscode/vs/workbench/browser/parts/views/checkbox.js +10 -0
- package/dist/vscode/vs/workbench/browser/parts/views/media/paneviewlet.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/views/media/views.css.js +4 -0
- package/dist/vscode/vs/workbench/browser/parts/views/treeView.js +79 -15
- package/dist/vscode/vs/workbench/browser/parts/views/viewPane.js +5 -5
- package/dist/vscode/vs/workbench/browser/parts/views/viewPaneContainer.js +2 -2
- package/dist/vscode/vs/workbench/browser/parts/views/viewsService.js +4 -4
- package/dist/vscode/vs/workbench/browser/quickaccess.js +6 -2
- package/dist/vscode/vs/workbench/browser/workbench.contribution.js +1167 -0
- package/dist/vscode/vs/workbench/common/configuration.js +8 -1
- package/dist/vscode/vs/workbench/common/contextkeys.js +42 -1
- package/dist/vscode/vs/workbench/common/editor/editorGroupModel.js +678 -0
- 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 +57 -5
- package/dist/vscode/vs/workbench/common/resources.js +111 -34
- package/dist/vscode/vs/workbench/common/theme.js +35 -35
- package/dist/vscode/vs/workbench/common/views.js +1 -1
- 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/callHierarchy/browser/callHierarchy.contribution.js +4 -4
- package/dist/vscode/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +1 -1
- package/dist/vscode/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +4 -0
- 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/quickaccess/gotoLineQuickAccess.js +77 -0
- package/dist/vscode/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +217 -0
- 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/codeEditor/browser/workbenchReferenceSearch.js +24 -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/breakpointWidget.js +1 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +1 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/debug.contribution.js +30 -4
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugActionViewItems.js +1 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugCommands.js +15 -2
- 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/debugIcons.js +77 -127
- 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/debugToolBar.js +1 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugViewlet.js +1 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/disassemblyView.js +620 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/exceptionWidget.js +1 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugHover.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/media/repl.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/debug/browser/repl.js +4 -4
- package/dist/vscode/vs/workbench/contrib/debug/common/debug.js +2 -1
- 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/binaryFileEditor.js +71 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +2 -3
- package/dist/vscode/vs/workbench/contrib/files/browser/editors/textFileEditor.js +225 -0
- 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 +8 -22
- package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.contribution.js +306 -5
- package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.js +68 -3
- package/dist/vscode/vs/workbench/contrib/files/browser/fileCommands.js +27 -9
- package/dist/vscode/vs/workbench/contrib/files/browser/fileConstants.js +10 -1
- package/dist/vscode/vs/workbench/contrib/files/browser/files.contribution.js +51 -6
- package/dist/vscode/vs/workbench/contrib/files/browser/files.js +1 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/media/explorerviewlet.css.js +4 -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/browser/views/media/openeditors.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/views/openEditorsView.js +608 -0
- package/dist/vscode/vs/workbench/contrib/files/common/explorerModel.js +16 -9
- package/dist/vscode/vs/workbench/contrib/files/common/files.js +2 -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 +8 -3
- 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 +1 -8
- 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 +49 -17
- package/dist/vscode/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +129 -0
- package/dist/vscode/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +225 -0
- package/dist/vscode/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/remote/browser/remoteExplorer.js +23 -2
- package/dist/vscode/vs/workbench/contrib/remote/browser/remoteIcons.js +21 -17
- package/dist/vscode/vs/workbench/contrib/remote/browser/tunnelView.js +6 -6
- package/dist/vscode/vs/workbench/contrib/search/browser/anythingQuickAccess.js +757 -0
- package/dist/vscode/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +4 -0
- 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 +467 -0
- 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/browser/symbolsQuickAccess.js +219 -0
- package/dist/vscode/vs/workbench/contrib/search/common/cacheState.js +85 -0
- package/dist/vscode/vs/workbench/contrib/search/common/constants.js +31 -0
- package/dist/vscode/vs/workbench/contrib/search/common/search.js +127 -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/browser/taskQuickPick.js +385 -0
- package/dist/vscode/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +108 -0
- package/dist/vscode/vs/workbench/contrib/tasks/common/taskService.js +16 -1
- package/dist/vscode/vs/workbench/contrib/tasks/common/tasks.js +351 -0
- 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 +7 -0
- 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 +103 -0
- 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 +169 -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/typeHierarchy/browser/media/typeHierarchy.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +1 -1
- 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/editor/browser/editorDropService.js +3 -0
- package/dist/vscode/vs/workbench/services/editor/browser/editorResolverService.js +619 -0
- package/dist/vscode/vs/workbench/services/editor/browser/editorService.js +720 -0
- package/dist/vscode/vs/workbench/services/editor/common/editorGroupFinder.js +116 -0
- package/dist/vscode/vs/workbench/services/editor/common/editorGroupsService.js +6 -1
- package/dist/vscode/vs/workbench/services/editor/common/editorResolverService.js +34 -1
- 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/history/browser/historyService.js +1451 -0
- package/dist/vscode/vs/workbench/services/hover/browser/hoverService.js +2 -2
- package/dist/vscode/vs/workbench/services/hover/browser/hoverWidget.js +2 -1
- package/dist/vscode/vs/workbench/services/hover/browser/media/hover.css.js +4 -0
- package/dist/vscode/vs/workbench/services/keybinding/common/keybindingEditing.js +275 -0
- package/dist/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +2 -1
- 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/outline/browser/outline.js +3 -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/progress/browser/progressIndicator.js +72 -1
- package/dist/vscode/vs/workbench/services/quickinput/browser/quickInputService.js +67 -0
- 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 +117 -1
- package/dist/vscode/vs/workbench/services/search/common/searchExtTypes.js +6 -0
- package/dist/vscode/vs/workbench/services/search/common/textSearchManager.js +309 -0
- package/dist/vscode/vs/workbench/services/semanticSimilarity/common/semanticSimilarityService.js +54 -1
- package/dist/vscode/vs/workbench/services/statusbar/browser/statusbar.js +15 -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/textMate/browser/worker/textMate.worker.js +90 -0
- package/dist/vscode/vs/workbench/services/textMate/browser/worker/textMateWorkerModel.js +133 -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 +114 -3
- 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/userDataProfile/common/userDataProfile.js +1 -1
- 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 +41 -50
- package/dist/vscode-services/missing-services.js +504 -12
- package/dist/vscode-services/window.js +80 -67
- package/dist/vscode-services/workspace.js +19 -4
- package/dist/workbenchThemeService.d.ts +1 -1
- package/dist/workers/outputLinkComputer.worker.d.ts +2 -0
- package/dist/workers/outputLinkComputer.worker.js +3 -0
- package/dist/workers/textMate.worker.d.ts +2 -0
- package/dist/workers/textMate.worker.js +3 -0
- package/dist/workspace.d.ts +1 -1
- package/monaco-editor-treemending.patch +1305 -1184
- package/package.json +98 -32
- package/dist/activity.d.ts +0 -2902
- package/dist/assets/activityaction.css +0 -224
- package/dist/assets/activitybarpart.css +0 -65
- package/dist/assets/basepanelpart.css +0 -221
- package/dist/assets/breakpointWidget.css +0 -31
- package/dist/assets/callHierarchy.css +0 -62
- package/dist/assets/callStackEditorContribution.css +0 -12
- package/dist/assets/compositepart.css +0 -17
- package/dist/assets/debug.contribution.css +0 -138
- package/dist/assets/debugHover.css +0 -80
- package/dist/assets/debugToolBar.css +0 -49
- package/dist/assets/debugViewlet.css +0 -337
- package/dist/assets/editorquickaccess.css +0 -8
- package/dist/assets/exceptionWidget.css +0 -52
- package/dist/assets/explorerviewlet.css +0 -129
- package/dist/assets/hover.css +0 -127
- package/dist/assets/interactiveSession.css +0 -340
- package/dist/assets/menubar.css +0 -111
- package/dist/assets/menubarControl.css +0 -61
- package/dist/assets/notificationsActions.css +0 -14
- package/dist/assets/notificationsCenter.css +0 -69
- package/dist/assets/notificationsList.css +0 -152
- package/dist/assets/notificationsToasts.css +0 -63
- package/dist/assets/panelpart.css +0 -75
- package/dist/assets/paneview.css +0 -148
- package/dist/assets/paneviewlet.css +0 -79
- package/dist/assets/part.css +0 -109
- package/dist/assets/repl.css +0 -145
- package/dist/assets/sidebarpart.css +0 -61
- package/dist/assets/tunnelView.css +0 -107
- package/dist/assets/typeHierarchy.css +0 -62
- package/dist/assets/views.css +0 -297
- package/dist/collections.d.ts +0 -7
- package/dist/colorRegistry.d.ts +0 -710
- package/dist/override/vs/workbench/browser/parts/editor/textEditor.js +0 -2
- package/dist/override/vs/workbench/contrib/files/browser/views/openEditorsView.js +0 -2
- package/dist/service-override/modelEditor.d.ts +0 -14
- 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/common/interactiveSessionContextKeys.js +0 -48
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionService.js +0 -8
- 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/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -249
- 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/log.d.ts
CHANGED
package/dist/monaco.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
2
|
import { I as IEditorOverrideServices } from './standaloneServices.js';
|
|
3
|
-
import { E as Event, D as Disposable,
|
|
4
|
-
export {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
export { A as CommandsRegistry, B as registerColor } from './colorRegistry.js';
|
|
3
|
+
import { E as Event, D as Disposable, a as IDisposable, I as IReference } from './event.js';
|
|
4
|
+
export { b as DisposableStore } from './event.js';
|
|
5
|
+
import { c as ITextModel, d as IModelDecorationOptions, e as IModelDecorationsChangeAccessor, f as IEditorContribution, b as ICodeEditor, g as IPosition } from './editorBrowser.js';
|
|
6
|
+
import { L as LanguageFeatureRegistry, I as ILanguageFeaturesService, F as FoldingRangeProvider, a as ILanguageConfigurationService, b as INotificationService, c as ITextFileEditorModel } from './languageFeatures.js';
|
|
7
|
+
export { C as CommandsRegistry, r as registerColor } from './languageFeatures.js';
|
|
8
|
+
import { a as IContextKeyService } from './contextkey.js';
|
|
10
9
|
import { S as ServiceIdentifier } from './instantiation.js';
|
|
11
10
|
import { I as IJSONSchema } from './jsonSchema.js';
|
|
12
11
|
import { U as URI } from './uri.js';
|
|
13
|
-
import {
|
|
12
|
+
import { f as IFileDeleteOptions } from './files.js';
|
|
14
13
|
import 'vscode';
|
|
15
|
-
import './editor.js';
|
|
16
14
|
import './themables.js';
|
|
15
|
+
import './severity.js';
|
|
16
|
+
import './composite.js';
|
|
17
17
|
import './extensions.d2.ts';
|
|
18
18
|
|
|
19
19
|
interface ErrorListenerCallback {
|
|
@@ -51,30 +51,6 @@ interface IFeatureDebounceInformation {
|
|
|
51
51
|
default(): number;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
/**
|
|
55
|
-
* The options to create an editor.
|
|
56
|
-
*/
|
|
57
|
-
type IStandaloneEditorConstructionOptions = monaco.editor.IStandaloneEditorConstructionOptions
|
|
58
|
-
/**
|
|
59
|
-
* The options to create a diff editor.
|
|
60
|
-
*/
|
|
61
|
-
type IStandaloneDiffEditorConstructionOptions = monaco.editor.IStandaloneDiffEditorConstructionOptions
|
|
62
|
-
type IStandaloneCodeEditor = monaco.editor.IStandaloneCodeEditor
|
|
63
|
-
type IStandaloneDiffEditor = monaco.editor.IStandaloneDiffEditor
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Create a new editor under `domElement`.
|
|
67
|
-
* `domElement` should be empty (not contain other dom nodes).
|
|
68
|
-
* The editor will read the size of `domElement`.
|
|
69
|
-
*/
|
|
70
|
-
declare function create(domElement: HTMLElement, options?: IStandaloneEditorConstructionOptions, override?: IEditorOverrideServices): IStandaloneCodeEditor;
|
|
71
|
-
/**
|
|
72
|
-
* Create a new diff editor under `domElement`.
|
|
73
|
-
* `domElement` should be empty (not contain other dom nodes).
|
|
74
|
-
* The editor will read the size of `domElement`.
|
|
75
|
-
*/
|
|
76
|
-
declare function createDiffEditor(domElement: HTMLElement, options?: IStandaloneDiffEditorConstructionOptions, override?: IEditorOverrideServices): IStandaloneDiffEditor;
|
|
77
|
-
|
|
78
54
|
interface ILineRange {
|
|
79
55
|
startLineNumber: number;
|
|
80
56
|
endLineNumber: number;
|
|
@@ -281,6 +257,30 @@ declare class RangesLimitReporter implements FoldingLimitReporter {
|
|
|
281
257
|
update(computed: number, limited: number | false): void;
|
|
282
258
|
}
|
|
283
259
|
|
|
260
|
+
/**
|
|
261
|
+
* The options to create an editor.
|
|
262
|
+
*/
|
|
263
|
+
type IStandaloneEditorConstructionOptions = monaco.editor.IStandaloneEditorConstructionOptions
|
|
264
|
+
/**
|
|
265
|
+
* The options to create a diff editor.
|
|
266
|
+
*/
|
|
267
|
+
type IStandaloneDiffEditorConstructionOptions = monaco.editor.IStandaloneDiffEditorConstructionOptions
|
|
268
|
+
type IStandaloneCodeEditor = monaco.editor.IStandaloneCodeEditor
|
|
269
|
+
type IStandaloneDiffEditor = monaco.editor.IStandaloneDiffEditor
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Create a new editor under `domElement`.
|
|
273
|
+
* `domElement` should be empty (not contain other dom nodes).
|
|
274
|
+
* The editor will read the size of `domElement`.
|
|
275
|
+
*/
|
|
276
|
+
declare function create(domElement: HTMLElement, options?: IStandaloneEditorConstructionOptions, override?: IEditorOverrideServices): IStandaloneCodeEditor;
|
|
277
|
+
/**
|
|
278
|
+
* Create a new diff editor under `domElement`.
|
|
279
|
+
* `domElement` should be empty (not contain other dom nodes).
|
|
280
|
+
* The editor will read the size of `domElement`.
|
|
281
|
+
*/
|
|
282
|
+
declare function createDiffEditor(domElement: HTMLElement, options?: IStandaloneDiffEditorConstructionOptions, override?: IEditorOverrideServices): IStandaloneDiffEditor;
|
|
283
|
+
|
|
284
284
|
interface IRegistry {
|
|
285
285
|
/**
|
|
286
286
|
* Adds the extension functions and properties defined by data to the
|
package/dist/monaco.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from './node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
import { StandaloneServices, StandaloneKeybindingService } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
3
3
|
import { ITextResourceConfigurationService } from 'monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js';
|
|
4
4
|
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
5
5
|
import { StandaloneDiffEditor, StandaloneEditor } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeEditor.js';
|
|
@@ -12,6 +12,7 @@ export { DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
|
12
12
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
13
13
|
export { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
14
14
|
import { Extensions as Extensions$2 } from 'monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry.js';
|
|
15
|
+
import { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
15
16
|
export { CommandsRegistry } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
16
17
|
import { Extensions as Extensions$3 } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
17
18
|
import { EditorOptionsUtil } from './vscode/vs/editor/browser/config/editorConfiguration.js';
|
|
@@ -22,8 +23,21 @@ import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
|
22
23
|
import { JSONValidationExtensionPoint } from './vscode/vs/workbench/api/common/jsonValidationExtensionPoint.js';
|
|
23
24
|
import { Extensions as Extensions$1 } from './vscode/vs/workbench/common/contributions.js';
|
|
24
25
|
import { ColorExtensionPoint } from './vscode/vs/workbench/services/themes/common/colorExtensionPoint.js';
|
|
25
|
-
import {
|
|
26
|
+
import { ServiceCollection } from 'monaco-editor/esm/vs/platform/instantiation/common/serviceCollection.js';
|
|
27
|
+
import { IQuickInputService } from 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
|
|
28
|
+
import { StandaloneQuickInputService } from 'monaco-editor/esm/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js';
|
|
29
|
+
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|
|
30
|
+
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
31
|
+
import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
32
|
+
import { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
33
|
+
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
34
|
+
import { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
|
|
35
|
+
import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
|
|
36
|
+
import { KeybindingResolver } from 'monaco-editor/esm/vs/platform/keybinding/common/keybindingResolver.js';
|
|
37
|
+
import { WorkbenchKeybindingService } from './vscode/vs/workbench/services/keybinding/browser/keybindingService.js';
|
|
26
38
|
export { registerJsonSchema, synchronizeJsonSchemas } from './json.js';
|
|
39
|
+
import { createInjectedClass } from './tools/injection.js';
|
|
40
|
+
import './vscode/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js';
|
|
27
41
|
let ExtensionPoints = class ExtensionPoints {
|
|
28
42
|
constructor(instantiationService) {
|
|
29
43
|
this.instantiationService = instantiationService;
|
|
@@ -105,13 +119,55 @@ async function createModelReference(resource, content) {
|
|
|
105
119
|
}
|
|
106
120
|
return (await StandaloneServices.get(ITextModelService).createModelReference(resource));
|
|
107
121
|
}
|
|
122
|
+
let DelegateStandaloneKeybindingService = class DelegateStandaloneKeybindingService extends StandaloneKeybindingService {
|
|
123
|
+
constructor(delegate, contextKeyService, commandService, telemetryService, notificationService, logService, codeEditorService) {
|
|
124
|
+
super(contextKeyService, commandService, telemetryService, notificationService, logService, codeEditorService);
|
|
125
|
+
this.delegate = delegate;
|
|
126
|
+
this._cachedOverridenResolver = null;
|
|
127
|
+
this.onDidUpdateKeybindings(() => {
|
|
128
|
+
this._cachedOverridenResolver = null;
|
|
129
|
+
});
|
|
130
|
+
this.delegate.onDidUpdateKeybindings(() => {
|
|
131
|
+
this._cachedOverridenResolver = null;
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
_getResolver() {
|
|
135
|
+
if (this._cachedOverridenResolver == null) {
|
|
136
|
+
const overrides = this['_toNormalizedKeybindingItems'](this['_dynamicKeybindings'], false);
|
|
137
|
+
this._cachedOverridenResolver = new KeybindingResolver(
|
|
138
|
+
[...this.delegate['_getResolver']().getKeybindings()], overrides, (str) => this._log(str));
|
|
139
|
+
}
|
|
140
|
+
return this._cachedOverridenResolver;
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
DelegateStandaloneKeybindingService = __decorate([
|
|
144
|
+
( __param(1, IContextKeyService)),
|
|
145
|
+
( __param(2, ICommandService)),
|
|
146
|
+
( __param(3, ITelemetryService)),
|
|
147
|
+
( __param(4, INotificationService)),
|
|
148
|
+
( __param(5, ILogService)),
|
|
149
|
+
( __param(6, ICodeEditorService))
|
|
150
|
+
], DelegateStandaloneKeybindingService);
|
|
151
|
+
let standaloneEditorInstantiationService = null;
|
|
152
|
+
function getStandaloneEditorInstantiationService() {
|
|
153
|
+
if (standaloneEditorInstantiationService == null) {
|
|
154
|
+
const serviceCollection = new ServiceCollection();
|
|
155
|
+
serviceCollection.set(IQuickInputService, new SyncDescriptor(StandaloneQuickInputService, undefined, true));
|
|
156
|
+
const keybindingService = StandaloneServices.get(IKeybindingService);
|
|
157
|
+
if (keybindingService instanceof WorkbenchKeybindingService) {
|
|
158
|
+
serviceCollection.set(IKeybindingService, new SyncDescriptor(DelegateStandaloneKeybindingService, [keybindingService], true));
|
|
159
|
+
}
|
|
160
|
+
standaloneEditorInstantiationService = StandaloneServices.get(IInstantiationService).createChild(serviceCollection);
|
|
161
|
+
}
|
|
162
|
+
return standaloneEditorInstantiationService;
|
|
163
|
+
}
|
|
108
164
|
const createConfiguredEditor = (domElement, options, override) => {
|
|
109
|
-
|
|
110
|
-
return
|
|
165
|
+
StandaloneServices.initialize(override ?? {});
|
|
166
|
+
return getStandaloneEditorInstantiationService().createInstance(ConfiguredStandaloneEditor, domElement, false, options);
|
|
111
167
|
};
|
|
112
168
|
const createConfiguredDiffEditor = (domElement, options, override) => {
|
|
113
|
-
|
|
114
|
-
return
|
|
169
|
+
StandaloneServices.initialize(override ?? {});
|
|
170
|
+
return getStandaloneEditorInstantiationService().createInstance(ConfiguredStandaloneDiffEditor, domElement, options);
|
|
115
171
|
};
|
|
116
172
|
const Extensions = {
|
|
117
173
|
...Extensions$2,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=( Object.keys(r.attributes)),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
2
|
+
export { n as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IProcessEnvironment {
|
|
2
|
+
[key: string]: string | undefined;
|
|
3
|
+
}
|
|
4
|
+
type PlatformName = 'Web' | 'Windows' | 'Mac' | 'Linux';
|
|
5
|
+
declare const enum OperatingSystem {
|
|
6
|
+
Windows = 1,
|
|
7
|
+
Macintosh = 2,
|
|
8
|
+
Linux = 3
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { IProcessEnvironment as I, OperatingSystem as O, PlatformName as P };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createFilter, dataToEsm } from '@rollup/pluginutils';
|
|
2
|
-
import { p as parseJson, l as localizeManifest, b as buildExtensionCode, i as isBinaryFileSync_1, c as compressResource, e as extractResourcesFromExtensionManifest, m as mimeTypes } from './extension-tools-
|
|
2
|
+
import { p as parseJson, l as localizeManifest, b as buildExtensionCode, i as isBinaryFileSync_1, c as compressResource, e as extractResourcesFromExtensionManifest, m as mimeTypes } from './extension-tools-3c2bf0a4.js';
|
|
3
3
|
import * as path from 'path';
|
|
4
4
|
import * as fsPromise from 'fs/promises';
|
|
5
5
|
import * as require$$0$1 from 'fs';
|
|
@@ -9,7 +9,6 @@ import 'node:process';
|
|
|
9
9
|
import 'node:perf_hooks';
|
|
10
10
|
import 'node:crypto';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
|
-
import 'node:events';
|
|
13
12
|
import 'tty';
|
|
14
13
|
|
|
15
14
|
function plugin({ include, exclude, isDefaultExtension = false, withCode = () => true, rollupPlugins }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createFilter, dataToEsm } from '@rollup/pluginutils';
|
|
2
2
|
import * as yauzl from 'yauzl';
|
|
3
|
-
import { b as buildExtensionCode, i as isBinaryFileSync_1, c as compressResource, p as parseJson, l as localizeManifest, e as extractResourcesFromExtensionManifest, m as mimeTypes } from './extension-tools-
|
|
3
|
+
import { b as buildExtensionCode, i as isBinaryFileSync_1, c as compressResource, p as parseJson, l as localizeManifest, e as extractResourcesFromExtensionManifest, m as mimeTypes } from './extension-tools-3c2bf0a4.js';
|
|
4
4
|
import * as path from 'path';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'util';
|
|
@@ -9,7 +9,6 @@ import 'node:process';
|
|
|
9
9
|
import 'node:perf_hooks';
|
|
10
10
|
import 'node:crypto';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
|
-
import 'node:events';
|
|
13
12
|
import 'tty';
|
|
14
13
|
|
|
15
14
|
function read(stream) {
|
|
@@ -1,215 +1,14 @@
|
|
|
1
1
|
import * as vscode from 'vscode';
|
|
2
2
|
import { I as IEditorOverrideServices } from '../standaloneServices.js';
|
|
3
|
-
import { I as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
export { b as IAnyWorkspaceIdentifier } from '../workspace.js';
|
|
3
|
+
import { I as IConfigurationRegistry } from '../configurationRegistry.js';
|
|
4
|
+
export { C as ConfigurationScope, b as IConfigurationDefaults, a as IConfigurationNode } from '../configurationRegistry.js';
|
|
5
|
+
export { b as IColorCustomizations, a as IThemeScopedColorCustomizations } from '../workbenchThemeService.js';
|
|
6
|
+
export { I as IAnyWorkspaceIdentifier } from '../workspace.js';
|
|
8
7
|
import { U as URI } from '../uri.js';
|
|
9
8
|
import '../instantiation.js';
|
|
10
9
|
import 'monaco-editor';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
declare enum EditPresentationTypes {
|
|
15
|
-
Multiline = "multilineText",
|
|
16
|
-
Singleline = "singlelineText"
|
|
17
|
-
}
|
|
18
|
-
interface IConfigurationDelta {
|
|
19
|
-
removedDefaults?: IConfigurationDefaults[];
|
|
20
|
-
removedConfigurations?: IConfigurationNode[];
|
|
21
|
-
addedDefaults?: IConfigurationDefaults[];
|
|
22
|
-
addedConfigurations?: IConfigurationNode[];
|
|
23
|
-
}
|
|
24
|
-
interface IConfigurationRegistry {
|
|
25
|
-
/**
|
|
26
|
-
* Register a configuration to the registry.
|
|
27
|
-
*/
|
|
28
|
-
registerConfiguration(configuration: IConfigurationNode): void;
|
|
29
|
-
/**
|
|
30
|
-
* Register multiple configurations to the registry.
|
|
31
|
-
*/
|
|
32
|
-
registerConfigurations(configurations: IConfigurationNode[], validate?: boolean): void;
|
|
33
|
-
/**
|
|
34
|
-
* Deregister multiple configurations from the registry.
|
|
35
|
-
*/
|
|
36
|
-
deregisterConfigurations(configurations: IConfigurationNode[]): void;
|
|
37
|
-
/**
|
|
38
|
-
* update the configuration registry by
|
|
39
|
-
* - registering the configurations to add
|
|
40
|
-
* - dereigstering the configurations to remove
|
|
41
|
-
*/
|
|
42
|
-
updateConfigurations(configurations: {
|
|
43
|
-
add: IConfigurationNode[];
|
|
44
|
-
remove: IConfigurationNode[];
|
|
45
|
-
}): void;
|
|
46
|
-
/**
|
|
47
|
-
* Register multiple default configurations to the registry.
|
|
48
|
-
*/
|
|
49
|
-
registerDefaultConfigurations(defaultConfigurations: IConfigurationDefaults[]): void;
|
|
50
|
-
/**
|
|
51
|
-
* Deregister multiple default configurations from the registry.
|
|
52
|
-
*/
|
|
53
|
-
deregisterDefaultConfigurations(defaultConfigurations: IConfigurationDefaults[]): void;
|
|
54
|
-
/**
|
|
55
|
-
* Bulk update of the configuration registry (default and configurations, remove and add)
|
|
56
|
-
* @param delta
|
|
57
|
-
*/
|
|
58
|
-
deltaConfiguration(delta: IConfigurationDelta): void;
|
|
59
|
-
/**
|
|
60
|
-
* Return the registered configuration defaults overrides
|
|
61
|
-
*/
|
|
62
|
-
getConfigurationDefaultsOverrides(): Map<string, IConfigurationDefaultOverride>;
|
|
63
|
-
/**
|
|
64
|
-
* Signal that the schema of a configuration setting has changes. It is currently only supported to change enumeration values.
|
|
65
|
-
* Property or default value changes are not allowed.
|
|
66
|
-
*/
|
|
67
|
-
notifyConfigurationSchemaUpdated(...configurations: IConfigurationNode[]): void;
|
|
68
|
-
/**
|
|
69
|
-
* Event that fires whenever a configuration has been
|
|
70
|
-
* registered.
|
|
71
|
-
*/
|
|
72
|
-
readonly onDidSchemaChange: Event<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Event that fires whenever a configuration has been
|
|
75
|
-
* registered.
|
|
76
|
-
*/
|
|
77
|
-
readonly onDidUpdateConfiguration: Event<{
|
|
78
|
-
properties: ReadonlySet<string>;
|
|
79
|
-
defaultsOverrides?: boolean;
|
|
80
|
-
}>;
|
|
81
|
-
/**
|
|
82
|
-
* Returns all configuration nodes contributed to this registry.
|
|
83
|
-
*/
|
|
84
|
-
getConfigurations(): IConfigurationNode[];
|
|
85
|
-
/**
|
|
86
|
-
* Returns all configurations settings of all configuration nodes contributed to this registry.
|
|
87
|
-
*/
|
|
88
|
-
getConfigurationProperties(): IStringDictionary<IRegisteredConfigurationPropertySchema>;
|
|
89
|
-
/**
|
|
90
|
-
* Return all configurations by policy name
|
|
91
|
-
*/
|
|
92
|
-
getPolicyConfigurations(): Map<PolicyName, string>;
|
|
93
|
-
/**
|
|
94
|
-
* Returns all excluded configurations settings of all configuration nodes contributed to this registry.
|
|
95
|
-
*/
|
|
96
|
-
getExcludedConfigurationProperties(): IStringDictionary<IRegisteredConfigurationPropertySchema>;
|
|
97
|
-
/**
|
|
98
|
-
* Register the identifiers for editor configurations
|
|
99
|
-
*/
|
|
100
|
-
registerOverrideIdentifiers(identifiers: string[]): void;
|
|
101
|
-
}
|
|
102
|
-
declare const enum ConfigurationScope {
|
|
103
|
-
/**
|
|
104
|
-
* Application specific configuration, which can be configured only in local user settings.
|
|
105
|
-
*/
|
|
106
|
-
APPLICATION = 1,
|
|
107
|
-
/**
|
|
108
|
-
* Machine specific configuration, which can be configured only in local and remote user settings.
|
|
109
|
-
*/
|
|
110
|
-
MACHINE = 2,
|
|
111
|
-
/**
|
|
112
|
-
* Window specific configuration, which can be configured in the user or workspace settings.
|
|
113
|
-
*/
|
|
114
|
-
WINDOW = 3,
|
|
115
|
-
/**
|
|
116
|
-
* Resource specific configuration, which can be configured in the user, workspace or folder settings.
|
|
117
|
-
*/
|
|
118
|
-
RESOURCE = 4,
|
|
119
|
-
/**
|
|
120
|
-
* Resource specific configuration that can be configured in language specific settings
|
|
121
|
-
*/
|
|
122
|
-
LANGUAGE_OVERRIDABLE = 5,
|
|
123
|
-
/**
|
|
124
|
-
* Machine specific configuration that can also be configured in workspace or folder settings.
|
|
125
|
-
*/
|
|
126
|
-
MACHINE_OVERRIDABLE = 6
|
|
127
|
-
}
|
|
128
|
-
interface IPolicy {
|
|
129
|
-
/**
|
|
130
|
-
* The policy name.
|
|
131
|
-
*/
|
|
132
|
-
readonly name: PolicyName;
|
|
133
|
-
/**
|
|
134
|
-
* The Code version in which this policy was introduced.
|
|
135
|
-
*/
|
|
136
|
-
readonly minimumVersion: `${number}.${number}`;
|
|
137
|
-
}
|
|
138
|
-
interface IConfigurationPropertySchema extends IJSONSchema {
|
|
139
|
-
scope?: ConfigurationScope;
|
|
140
|
-
/**
|
|
141
|
-
* When restricted, value of this configuration will be read only from trusted sources.
|
|
142
|
-
* For eg., If the workspace is not trusted, then the value of this configuration is not read from workspace settings file.
|
|
143
|
-
*/
|
|
144
|
-
restricted?: boolean;
|
|
145
|
-
/**
|
|
146
|
-
* When `false` this property is excluded from the registry. Default is to include.
|
|
147
|
-
*/
|
|
148
|
-
included?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* List of tags associated to the property.
|
|
151
|
-
* - A tag can be used for filtering
|
|
152
|
-
* - Use `experimental` tag for marking the setting as experimental. **Note:** Defaults of experimental settings can be changed by the running experiments.
|
|
153
|
-
*/
|
|
154
|
-
tags?: string[];
|
|
155
|
-
/**
|
|
156
|
-
* When enabled this setting is ignored during sync and user can override this.
|
|
157
|
-
*/
|
|
158
|
-
ignoreSync?: boolean;
|
|
159
|
-
/**
|
|
160
|
-
* When enabled this setting is ignored during sync and user cannot override this.
|
|
161
|
-
*/
|
|
162
|
-
disallowSyncIgnore?: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* Labels for enumeration items
|
|
165
|
-
*/
|
|
166
|
-
enumItemLabels?: string[];
|
|
167
|
-
/**
|
|
168
|
-
* When specified, controls the presentation format of string settings.
|
|
169
|
-
* Otherwise, the presentation format defaults to `singleline`.
|
|
170
|
-
*/
|
|
171
|
-
editPresentation?: EditPresentationTypes;
|
|
172
|
-
/**
|
|
173
|
-
* When specified, gives an order number for the setting
|
|
174
|
-
* within the settings editor. Otherwise, the setting is placed at the end.
|
|
175
|
-
*/
|
|
176
|
-
order?: number;
|
|
177
|
-
/**
|
|
178
|
-
* When specified, this setting's value can always be overwritten by
|
|
179
|
-
* a system-wide policy.
|
|
180
|
-
*/
|
|
181
|
-
policy?: IPolicy;
|
|
182
|
-
}
|
|
183
|
-
interface IExtensionInfo {
|
|
184
|
-
id: string;
|
|
185
|
-
displayName?: string;
|
|
186
|
-
}
|
|
187
|
-
interface IConfigurationNode {
|
|
188
|
-
id?: string;
|
|
189
|
-
order?: number;
|
|
190
|
-
type?: string | string[];
|
|
191
|
-
title?: string;
|
|
192
|
-
description?: string;
|
|
193
|
-
properties?: IStringDictionary<IConfigurationPropertySchema>;
|
|
194
|
-
allOf?: IConfigurationNode[];
|
|
195
|
-
scope?: ConfigurationScope;
|
|
196
|
-
extensionInfo?: IExtensionInfo;
|
|
197
|
-
restrictedProperties?: string[];
|
|
198
|
-
}
|
|
199
|
-
interface IConfigurationDefaults {
|
|
200
|
-
overrides: IStringDictionary<any>;
|
|
201
|
-
source?: IExtensionInfo | string;
|
|
202
|
-
}
|
|
203
|
-
type IRegisteredConfigurationPropertySchema = IConfigurationPropertySchema & {
|
|
204
|
-
defaultDefaultValue?: any;
|
|
205
|
-
source?: IExtensionInfo;
|
|
206
|
-
defaultValueSource?: IExtensionInfo | string;
|
|
207
|
-
};
|
|
208
|
-
type IConfigurationDefaultOverride = {
|
|
209
|
-
readonly value: any;
|
|
210
|
-
readonly source?: IExtensionInfo | string;
|
|
211
|
-
readonly valuesSources?: Map<string, IExtensionInfo | string>;
|
|
212
|
-
};
|
|
10
|
+
import '../event.js';
|
|
11
|
+
import '../jsonSchema.js';
|
|
213
12
|
|
|
214
13
|
interface IWorkspaceFolderCreationData {
|
|
215
14
|
readonly uri: URI;
|
|
@@ -222,4 +21,4 @@ declare function onUserConfigurationChange(callback: () => void): vscode.Disposa
|
|
|
222
21
|
declare const configurationRegistry: IConfigurationRegistry;
|
|
223
22
|
declare function getServiceOverride(defaultWorkspaceUri: URI): IEditorOverrideServices;
|
|
224
23
|
|
|
225
|
-
export {
|
|
24
|
+
export { IWorkspaceFolderCreationData, configurationRegistry, getServiceOverride as default, getUserConfiguration, onUserConfigurationChange, updateUserConfiguration };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { I as IEditorOverrideServices } from '../standaloneServices.js';
|
|
2
|
+
export { I as IEditorOptions, a as IResolvedTextEditorModel } from '../editorBrowser.js';
|
|
3
|
+
export { I as IReference } from '../event.js';
|
|
4
|
+
import { O as OpenEditor } from '../editor.js';
|
|
5
|
+
import '../instantiation.js';
|
|
6
|
+
import 'monaco-editor';
|
|
7
|
+
import '../uri.js';
|
|
8
|
+
import '../themables.js';
|
|
9
|
+
import 'vscode';
|
|
10
|
+
|
|
11
|
+
declare function getServiceOverride(openEditor: OpenEditor): IEditorOverrideServices;
|
|
12
|
+
|
|
13
|
+
export { OpenEditor, getServiceOverride as default };
|
|
@@ -2,50 +2,19 @@ import { __decorate, __param } from '../node_modules/tslib/tslib.es6.js';
|
|
|
2
2
|
import '../vscode-services/missing-services.js';
|
|
3
3
|
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
4
4
|
import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
|
|
5
|
-
import { TextModelResolverService } from '../vscode/vs/workbench/services/textmodelResolver/common/textModelResolverService.js';
|
|
6
5
|
import { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
|
|
7
6
|
import { CodeEditorService } from '../vscode/vs/workbench/services/editor/browser/codeEditorService.js';
|
|
8
|
-
import { IEditorService
|
|
9
|
-
import { isResourceEditorInput, isEditorInput } from '../vscode/vs/workbench/common/editor.js';
|
|
7
|
+
import { IEditorService } from '../vscode/vs/workbench/services/editor/common/editorService.js';
|
|
10
8
|
import { Emitter, Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
11
|
-
import { DEFAULT_EDITOR_MIN_DIMENSIONS, DEFAULT_EDITOR_MAX_DIMENSIONS } from '../vscode/vs/workbench/browser/parts/editor/editor.js';
|
|
12
|
-
import { applyTextEditorOptions } from '../vscode/vs/workbench/common/editor/editorOptions.js';
|
|
13
9
|
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|
|
14
10
|
import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
15
11
|
import { ITextEditorService, TextEditorService } from '../vscode/vs/workbench/services/textfile/common/textEditorService.js';
|
|
16
|
-
import '
|
|
12
|
+
import { wrapOpenEditor } from './tools/editor.js';
|
|
17
13
|
import { unsupported } from '../tools.js';
|
|
18
|
-
|
|
19
|
-
constructor(editor) {
|
|
20
|
-
this.editor = editor;
|
|
21
|
-
this.onDidChangeControl = Event.None;
|
|
22
|
-
this.onDidChangeSizeConstraints = Event.None;
|
|
23
|
-
this.onDidFocus = Event.None;
|
|
24
|
-
this.onDidBlur = Event.None;
|
|
25
|
-
this.input = undefined;
|
|
26
|
-
this.options = undefined;
|
|
27
|
-
this.group = undefined;
|
|
28
|
-
this.scopedContextKeyService = undefined;
|
|
29
|
-
this.getViewState = unsupported;
|
|
30
|
-
this.isVisible = unsupported;
|
|
31
|
-
this.hasFocus = unsupported;
|
|
32
|
-
this.getId = unsupported;
|
|
33
|
-
this.getTitle = unsupported;
|
|
34
|
-
this.focus = unsupported;
|
|
35
|
-
}
|
|
36
|
-
get minimumWidth() { return DEFAULT_EDITOR_MIN_DIMENSIONS.width; }
|
|
37
|
-
get maximumWidth() { return DEFAULT_EDITOR_MAX_DIMENSIONS.width; }
|
|
38
|
-
get minimumHeight() { return DEFAULT_EDITOR_MIN_DIMENSIONS.height; }
|
|
39
|
-
get maximumHeight() { return DEFAULT_EDITOR_MAX_DIMENSIONS.height; }
|
|
40
|
-
getControl() {
|
|
41
|
-
return this.editor;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
14
|
+
import '../vscode/vs/workbench/browser/parts/editor/editor.contribution.js';
|
|
44
15
|
let EditorService = class EditorService extends Disposable {
|
|
45
16
|
constructor(_openEditor, textModelService) {
|
|
46
17
|
super();
|
|
47
|
-
this._openEditor = _openEditor;
|
|
48
|
-
this.textModelService = textModelService;
|
|
49
18
|
this._onDidActiveEditorChange = this._register(new Emitter());
|
|
50
19
|
this.onDidActiveEditorChange = this._onDidActiveEditorChange.event;
|
|
51
20
|
this.onDidVisibleEditorsChange = Event.None;
|
|
@@ -86,34 +55,10 @@ let EditorService = class EditorService extends Disposable {
|
|
|
86
55
|
this._register(codeEditorService.onCodeEditorAdd(handleCodeEditor));
|
|
87
56
|
codeEditorService.listCodeEditors().forEach(handleCodeEditor);
|
|
88
57
|
});
|
|
58
|
+
this.openEditor = wrapOpenEditor(textModelService, this.openEditor.bind(this), _openEditor);
|
|
89
59
|
}
|
|
90
|
-
async openEditor(
|
|
91
|
-
|
|
92
|
-
if (isPreferredGroup(optionsOrPreferredGroup)) {
|
|
93
|
-
preferredGroup = optionsOrPreferredGroup;
|
|
94
|
-
}
|
|
95
|
-
const resource = isResourceEditorInput(editor) || isEditorInput(editor) ? editor.resource : undefined;
|
|
96
|
-
if (resource == null) {
|
|
97
|
-
throw new Error('Diff editors not supported');
|
|
98
|
-
}
|
|
99
|
-
let modelEditor;
|
|
100
|
-
const modelRef = await this.textModelService.createModelReference(resource);
|
|
101
|
-
const codeEditors = StandaloneServices.get(ICodeEditorService).listCodeEditors();
|
|
102
|
-
modelEditor = codeEditors.find(editor => editor.getModel() === modelRef.object.textEditorModel);
|
|
103
|
-
if (modelEditor == null) {
|
|
104
|
-
modelEditor = await this._openEditor(modelRef, options, preferredGroup === SIDE_GROUP);
|
|
105
|
-
}
|
|
106
|
-
if (modelEditor == null) {
|
|
107
|
-
modelRef.dispose();
|
|
108
|
-
return undefined;
|
|
109
|
-
}
|
|
110
|
-
if (options != null) {
|
|
111
|
-
applyTextEditorOptions(options, modelEditor, 1 );
|
|
112
|
-
}
|
|
113
|
-
if (!(options?.preserveFocus ?? false)) {
|
|
114
|
-
modelEditor.focus();
|
|
115
|
-
}
|
|
116
|
-
return new SimpleEditorPane(modelEditor);
|
|
60
|
+
async openEditor() {
|
|
61
|
+
return undefined;
|
|
117
62
|
}
|
|
118
63
|
};
|
|
119
64
|
EditorService = __decorate([
|
|
@@ -121,7 +66,6 @@ EditorService = __decorate([
|
|
|
121
66
|
], EditorService);
|
|
122
67
|
function getServiceOverride(openEditor) {
|
|
123
68
|
return {
|
|
124
|
-
[( ITextModelService.toString())]: new SyncDescriptor(TextModelResolverService, undefined, true),
|
|
125
69
|
[( ICodeEditorService.toString())]: new SyncDescriptor(CodeEditorService, undefined, true),
|
|
126
70
|
[( IEditorService.toString())]: new SyncDescriptor(EditorService, [openEditor]),
|
|
127
71
|
[( ITextEditorService.toString())]: new SyncDescriptor(TextEditorService)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { I as IEditorOverrideServices } from '../standaloneServices.js';
|
|
2
2
|
import { U as URI } from '../uri.js';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import { E as Event, C as CancellationToken,
|
|
3
|
+
import { I as IFileSystemProviderWithFileReadWriteCapability, a as IFileSystemProviderWithFileReadStreamCapability, F as FileSystemProviderCapabilities, b as IStat, c as FileType, d as IFileReadStreamOptions, R as ReadableStreamEvents, e as IFileWriteOptions, f as IFileDeleteOptions, g as IFileOverwriteOptions, h as IWatchOptions, i as IFileChange } from '../files.js';
|
|
4
|
+
export { l as FileChangeType, j as FileSystemProviderError, k as FileSystemProviderErrorCode } from '../files.js';
|
|
5
|
+
import { E as Event, C as CancellationToken, a as IDisposable } from '../event.js';
|
|
6
6
|
import { I as ILogService } from '../log.js';
|
|
7
7
|
import '../instantiation.js';
|
|
8
8
|
import 'monaco-editor';
|
|
@@ -68,7 +68,7 @@ declare abstract class SimpleTextFileSystemProvider implements IFileSystemProvid
|
|
|
68
68
|
watch(): IDisposable;
|
|
69
69
|
stat(resource: URI): Promise<IStat>;
|
|
70
70
|
mkdir(): Promise<void>;
|
|
71
|
-
readdir(
|
|
71
|
+
readdir(): Promise<[string, FileType][]>;
|
|
72
72
|
delete(): Promise<void>;
|
|
73
73
|
rename(): Promise<void>;
|
|
74
74
|
onDidWatchError: Event<any>;
|