@codingame/monaco-vscode-api 1.79.0-next.0 → 1.79.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 +7 -5
- package/dist/activity.d.ts +8 -108
- package/dist/api.js +3 -3
- package/dist/colorRegistry.d.ts +2 -2
- package/dist/contextkey.d.ts +2 -2
- package/dist/default-extension.js +23 -0
- package/dist/editor.d.ts +4 -320
- package/dist/editorBrowser.d.ts +327 -10
- package/dist/event.d.ts +1 -1
- package/dist/{extension-tools-d0cfdea1.js → extension-tools-0c4c1ad7.js} +345 -210
- package/dist/extensions.d.ts +3 -4
- package/dist/extensions.d2.ts +1 -1
- package/dist/extensions.js +4 -37
- package/dist/extensionsRegistry.d.ts +1 -1
- package/dist/files.d.ts +2 -2
- package/dist/keybinding.d.ts +1 -1
- package/dist/languageFeatures.d.ts +6 -7
- package/dist/log.d.ts +1 -1
- package/dist/monaco-treemending.js +15 -1
- package/dist/monaco.d.ts +31 -32
- 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/common/notebookEditorInput.js +4 -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 +2 -2
- 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 +5 -5
- 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/model.d.ts +7 -0
- package/dist/service-override/model.js +10 -0
- package/dist/service-override/quickaccess.d.ts +7 -0
- package/dist/service-override/quickaccess.js +80 -0
- package/dist/service-override/snippets.js +5 -1
- 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 +63 -201
- package/dist/service-override/views.js +102 -8
- package/dist/services.d.ts +116 -19
- 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/platform/extensionManagement/common/extensionManagement.js +2 -1
- package/dist/vscode/vs/platform/extensionManagement/common/extensionStorage.js +1 -1
- package/dist/vscode/vs/platform/product/common/product.js +48 -0
- package/dist/vscode/vs/platform/quickinput/browser/quickPickPin.js +94 -0
- package/dist/vscode/vs/platform/terminal/common/terminal.js +3 -0
- package/dist/vscode/vs/platform/update/common/update.js +11 -1
- package/dist/vscode/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +1 -1
- package/dist/vscode/vs/workbench/api/browser/mainThreadStatusBar.js +68 -0
- package/dist/vscode/vs/workbench/api/common/extHostStatusBar.js +234 -0
- package/dist/vscode/vs/workbench/api/common/extHostTypes.js +6 -1
- package/dist/vscode/vs/workbench/browser/actions/layoutActions.js +20 -17
- package/dist/vscode/vs/workbench/browser/actions/quickAccessActions.js +204 -0
- package/dist/vscode/vs/workbench/browser/dnd.js +27 -2
- 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 +1 -1
- 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 +800 -6
- package/dist/vscode/vs/workbench/browser/parts/editor/editor.js +56 -1
- package/dist/vscode/vs/workbench/browser/parts/editor/editorActions.js +1484 -107
- package/dist/vscode/vs/workbench/browser/parts/editor/editorCommands.js +1121 -4
- package/dist/vscode/vs/workbench/browser/parts/editor/editorDropTarget.js +499 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupView.js +1219 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupWatermark.js +137 -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 +243 -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 +1504 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/textCodeEditor.js +79 -0
- package/dist/vscode/vs/workbench/browser/parts/editor/textDiffEditor.js +304 -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/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 +1 -1
- package/dist/vscode/vs/workbench/browser/parts/views/viewPane.js +5 -5
- package/dist/vscode/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
- 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 +1108 -0
- package/dist/vscode/vs/workbench/common/contextkeys.js +34 -1
- package/dist/vscode/vs/workbench/common/editor/editorGroupModel.js +674 -0
- package/dist/vscode/vs/workbench/common/editor.js +57 -1
- 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/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/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/workbenchReferenceSearch.js +24 -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/debugCommands.js +13 -1
- package/dist/vscode/vs/workbench/contrib/debug/browser/debugIcons.js +77 -127
- 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 +1 -1
- package/dist/vscode/vs/workbench/contrib/debug/common/debug.js +2 -1
- package/dist/vscode/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +71 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/editors/textFileEditor.js +225 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/explorerViewlet.js +5 -4
- package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.contribution.js +270 -4
- package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.js +4 -1
- package/dist/vscode/vs/workbench/contrib/files/browser/fileCommands.js +24 -6
- package/dist/vscode/vs/workbench/contrib/files/browser/fileConstants.js +8 -1
- package/dist/vscode/vs/workbench/contrib/files/browser/files.contribution.js +10 -0
- package/dist/vscode/vs/workbench/contrib/files/browser/media/explorerviewlet.css.js +4 -0
- 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/files.js +2 -1
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionInputPart.js +1 -1
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionWidget.js +1 -1
- package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/media/interactiveSession.css.js +4 -0
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionContextKeys.js +9 -1
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionModel.js +305 -0
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionService.js +6 -1
- package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionServiceImpl.js +379 -0
- package/dist/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser.js +2 -2
- package/dist/vscode/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +33 -1
- package/dist/vscode/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +130 -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/remoteIcons.js +21 -17
- package/dist/vscode/vs/workbench/contrib/remote/browser/tunnelView.js +1 -1
- 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/search.contribution.js +428 -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 +2 -0
- package/dist/vscode/vs/workbench/contrib/search/common/search.js +119 -1
- 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/tasks.js +351 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminal.js +4 -0
- package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalIcon.js +44 -0
- package/dist/vscode/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +147 -1
- 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/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/history/browser/historyService.js +1451 -0
- package/dist/vscode/vs/workbench/services/hover/browser/hoverService.js +1 -1
- package/dist/vscode/vs/workbench/services/hover/browser/media/hover.css.js +4 -0
- package/dist/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +2 -1
- package/dist/vscode/vs/workbench/services/outline/browser/outline.js +3 -0
- 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/search/common/search.js +2 -112
- 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/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/untitled/common/untitledTextEditorService.js +110 -3
- package/dist/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.js +1 -1
- package/dist/vscode-services/extHost.js +12 -5
- package/dist/vscode-services/missing-services.js +117 -3
- package/dist/vscode-services/window.js +21 -2
- package/dist/vscode-services/workspace.js +2 -1
- package/dist/workbenchThemeService.d.ts +1 -1
- 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 +784 -784
- package/package.json +42 -22
- 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/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/notebook/common/notebookEditorInput.js +0 -249
- package/dist/vscode/vs/workbench/contrib/notebook/common/notebookService.js +0 -10
- package/dist/vscode/vs/workbench/services/search/common/searchHelpers.js +0 -72
- package/dist/vscode/vs/workbench/services/search/common/searchService.js +0 -355
package/README.md
CHANGED
|
@@ -56,11 +56,12 @@ await initialize({
|
|
|
56
56
|
})
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Additionally, this library exposes
|
|
59
|
+
Additionally, this library exposes 15 modules that include the vscode version of some services (with some glue to make it work with monaco):
|
|
60
60
|
|
|
61
61
|
- Notifications: `vscode/service-override/notifications`
|
|
62
62
|
- Dialogs: `vscode/service-override/dialogs`
|
|
63
|
-
- Model
|
|
63
|
+
- Model: `vscode/service-override/model`
|
|
64
|
+
- Editor: `vscode/service-override/editor`
|
|
64
65
|
- Configuration: `vscode/service-override/configuration`
|
|
65
66
|
- Keybindings: `vscode/service-override/keybindings`
|
|
66
67
|
- Languages: `vscode/service-override/languages`
|
|
@@ -71,13 +72,14 @@ Additionally, this library exposes 14 modules that include the vscode version of
|
|
|
71
72
|
- Debug: `vscode/service-override/debug`
|
|
72
73
|
- Files: `vscode/service-override/files`
|
|
73
74
|
- Preferences: `vscode/service-override/preferences`
|
|
74
|
-
- Views: `vscode/service-override/views`
|
|
75
|
+
- Views: `vscode/service-override/views` (Is exclusive with `editor`, do not use both at the same time)
|
|
76
|
+
- QuickAccess: `vscode/service-override/quickaccess`
|
|
75
77
|
|
|
76
78
|
Usage:
|
|
77
79
|
|
|
78
80
|
```typescript
|
|
79
81
|
import { initialize } from 'vscode/services'
|
|
80
|
-
import
|
|
82
|
+
import getEditorServiceOverride from 'vscode/service-override/editor'
|
|
81
83
|
import getConfigurationServiceOverride, { updateUserConfiguration, configurationRegistry } from 'vscode/service-override/configuration'
|
|
82
84
|
|
|
83
85
|
await initialize({
|
|
@@ -189,7 +191,7 @@ import 'vscode/default-extensions/json'
|
|
|
189
191
|
### Loading vsix file
|
|
190
192
|
|
|
191
193
|
VSCode extension are bundled as vsix files.
|
|
192
|
-
This library exposes a rollup plugin (vite-compatible) that allows to load a vsix file.
|
|
194
|
+
This library exposes a rollup plugin (vite-compatible) that allows to load a vsix file.
|
|
193
195
|
|
|
194
196
|
- rollup/vite config:
|
|
195
197
|
```typescript
|
package/dist/activity.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
+
import { S as SubmenuAction, b as IAction, e as ICommandService, z as ColorIdentifier, A as Color, c as IComposite, I as IProgressIndicator, a as IActionRunner, B as IRunEvent, h as ICompositeControl } from './colorRegistry.js';
|
|
1
2
|
import { S as ServiceIdentifier, b as SyncDescriptor, c as IConstructorSignature, I as IInstantiationService, B as BrandedService } from './instantiation.js';
|
|
2
|
-
import { a as
|
|
3
|
-
import { c as IEditorOptions, I as IMarkdownString } from './editor.js';
|
|
4
|
-
import { d as FileType } from './files.js';
|
|
5
|
-
import { c as ICommandAction, d as ICommandActionTitle, e as Icon, f as ILocalizedString, E as ExtensionIdentifier, g as IEnvironmentService } from './extensions.d2.ts';
|
|
6
|
-
import { S as SubmenuAction, c as IAction, d as ICommandService, C as ColorIdentifier, x as Color, w as IComposite, b as IProgressIndicator, v as IActionRunner, y as IRunEvent, z as ICompositeControl } from './colorRegistry.js';
|
|
7
|
-
import { E as Event$1, I as IDisposable, D as Disposable, C as CancellationToken, b as Emitter } from './event.js';
|
|
3
|
+
import { E as Event$1, a as IDisposable, D as Disposable, C as CancellationToken, b as Emitter } from './event.js';
|
|
8
4
|
import { I as IconIdentifier, T as ThemeIcon } from './themables.js';
|
|
9
5
|
import { I as IJSONSchema } from './jsonSchema.js';
|
|
10
|
-
import {
|
|
6
|
+
import { a as UriComponents, U as URI } from './uri.js';
|
|
7
|
+
import { a as IWorkspaceFolder, I as IAnyWorkspaceIdentifier, b as IWorkspaceContextService } from './workspace.js';
|
|
8
|
+
import { I as IEditorOptions, i as IMarkdownString } from './editorBrowser.js';
|
|
11
9
|
import { K as KeyCode, b as KeyCodeChord, R as ResolvedKeybinding, a as IKeybindingService } from './keybinding.js';
|
|
12
|
-
import {
|
|
10
|
+
import { e as ICommandAction, f as ICommandActionTitle, g as Icon, h as ILocalizedString, E as ExtensionIdentifier } from './extensions.d2.ts';
|
|
11
|
+
import { a as IContextKeyService, C as ContextKeyExpression } from './contextkey.js';
|
|
13
12
|
import { a as IExtensionService } from './extensionsRegistry.js';
|
|
14
13
|
|
|
15
14
|
interface IConfigurationOverrides {
|
|
@@ -846,80 +845,6 @@ declare class Themable extends Disposable {
|
|
|
846
845
|
protected getColor(id: string, modify?: (color: Color, theme: IColorTheme) => Color): string | null;
|
|
847
846
|
}
|
|
848
847
|
|
|
849
|
-
interface IBaseOpenWindowsOptions {
|
|
850
|
-
/**
|
|
851
|
-
* Whether to reuse the window or open a new one.
|
|
852
|
-
*/
|
|
853
|
-
readonly forceReuseWindow?: boolean;
|
|
854
|
-
/**
|
|
855
|
-
* The remote authority to use when windows are opened with either
|
|
856
|
-
* - no workspace (empty window)
|
|
857
|
-
* - a workspace that is neither `file://` nor `vscode-remote://`
|
|
858
|
-
* Use 'null' for a local window.
|
|
859
|
-
* If not set, defaults to the remote authority of the current window.
|
|
860
|
-
*/
|
|
861
|
-
readonly remoteAuthority?: string | null;
|
|
862
|
-
}
|
|
863
|
-
interface IOpenWindowOptions extends IBaseOpenWindowsOptions {
|
|
864
|
-
readonly forceNewWindow?: boolean;
|
|
865
|
-
readonly preferNewWindow?: boolean;
|
|
866
|
-
readonly noRecentEntry?: boolean;
|
|
867
|
-
readonly addMode?: boolean;
|
|
868
|
-
readonly diffMode?: boolean;
|
|
869
|
-
readonly mergeMode?: boolean;
|
|
870
|
-
readonly gotoLineMode?: boolean;
|
|
871
|
-
readonly waitMarkerFileURI?: URI;
|
|
872
|
-
readonly forceProfile?: string;
|
|
873
|
-
readonly forceTempProfile?: boolean;
|
|
874
|
-
}
|
|
875
|
-
interface IOpenEmptyWindowOptions extends IBaseOpenWindowsOptions {
|
|
876
|
-
}
|
|
877
|
-
type IWindowOpenable = IWorkspaceToOpen | IFolderToOpen | IFileToOpen;
|
|
878
|
-
interface IBaseWindowOpenable {
|
|
879
|
-
label?: string;
|
|
880
|
-
}
|
|
881
|
-
interface IWorkspaceToOpen extends IBaseWindowOpenable {
|
|
882
|
-
readonly workspaceUri: URI;
|
|
883
|
-
}
|
|
884
|
-
interface IFolderToOpen extends IBaseWindowOpenable {
|
|
885
|
-
readonly folderUri: URI;
|
|
886
|
-
}
|
|
887
|
-
interface IFileToOpen extends IBaseWindowOpenable {
|
|
888
|
-
readonly fileUri: URI;
|
|
889
|
-
}
|
|
890
|
-
interface IPath<T = IEditorOptions> extends IPathData<T> {
|
|
891
|
-
/**
|
|
892
|
-
* The file path to open within the instance
|
|
893
|
-
*/
|
|
894
|
-
fileUri?: URI;
|
|
895
|
-
}
|
|
896
|
-
interface IPathData<T = IEditorOptions> {
|
|
897
|
-
/**
|
|
898
|
-
* The file path to open within the instance
|
|
899
|
-
*/
|
|
900
|
-
readonly fileUri?: UriComponents;
|
|
901
|
-
/**
|
|
902
|
-
* Optional editor options to apply in the file
|
|
903
|
-
*/
|
|
904
|
-
readonly options?: T;
|
|
905
|
-
/**
|
|
906
|
-
* A hint that the file exists. if true, the
|
|
907
|
-
* file exists, if false it does not. with
|
|
908
|
-
* `undefined` the state is unknown.
|
|
909
|
-
*/
|
|
910
|
-
readonly exists?: boolean;
|
|
911
|
-
/**
|
|
912
|
-
* A hint about the file type of this path.
|
|
913
|
-
* with `undefined` the type is unknown.
|
|
914
|
-
*/
|
|
915
|
-
readonly type?: FileType;
|
|
916
|
-
/**
|
|
917
|
-
* Specifies if the file should be only be opened
|
|
918
|
-
* if it exists.
|
|
919
|
-
*/
|
|
920
|
-
readonly openOnlyIfExists?: boolean;
|
|
921
|
-
}
|
|
922
|
-
|
|
923
848
|
interface IPaneComposite extends IComposite {
|
|
924
849
|
/**
|
|
925
850
|
* Returns the minimal width needed to avoid any content horizontal truncation
|
|
@@ -1164,31 +1089,6 @@ interface IViewPaneContainer {
|
|
|
1164
1089
|
toggleViewVisibility(viewId: string): void;
|
|
1165
1090
|
}
|
|
1166
1091
|
|
|
1167
|
-
declare const IWorkbenchEnvironmentService: ServiceIdentifier<IWorkbenchEnvironmentService>;
|
|
1168
|
-
/**
|
|
1169
|
-
* A workbench specific environment service that is only present in workbench
|
|
1170
|
-
* layer.
|
|
1171
|
-
*/
|
|
1172
|
-
interface IWorkbenchEnvironmentService extends IEnvironmentService {
|
|
1173
|
-
readonly logFile: URI;
|
|
1174
|
-
readonly windowLogsPath: URI;
|
|
1175
|
-
readonly extHostLogsPath: URI;
|
|
1176
|
-
readonly extHostTelemetryLogFile: URI;
|
|
1177
|
-
readonly extensionEnabledProposedApi?: string[];
|
|
1178
|
-
readonly remoteAuthority?: string;
|
|
1179
|
-
readonly skipReleaseNotes: boolean;
|
|
1180
|
-
readonly skipWelcome: boolean;
|
|
1181
|
-
readonly disableWorkspaceTrust: boolean;
|
|
1182
|
-
readonly webviewExternalEndpoint: string;
|
|
1183
|
-
readonly debugRenderer: boolean;
|
|
1184
|
-
readonly logExtensionHostCommunication?: boolean;
|
|
1185
|
-
readonly enableSmokeTestDriver?: boolean;
|
|
1186
|
-
readonly profDurationMarkers?: string[];
|
|
1187
|
-
readonly filesToOpenOrCreate?: IPath[] | undefined;
|
|
1188
|
-
readonly filesToDiff?: IPath[] | undefined;
|
|
1189
|
-
readonly filesToMerge?: IPath[] | undefined;
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
1092
|
type OpenInternalOptions = {
|
|
1193
1093
|
/**
|
|
1194
1094
|
* Signals that the intent is to open an editor to the side
|
|
@@ -2899,4 +2799,4 @@ interface IBadge {
|
|
|
2899
2799
|
getDescription(): string;
|
|
2900
2800
|
}
|
|
2901
2801
|
|
|
2902
|
-
export { ActionBar as A,
|
|
2802
|
+
export { ActionBar as A, IOpenerService as B, Composite as C, Dimension as D, IConfigurationService as E, IViewsService as F, ILayoutService as G, HoverPosition as H, IView as I, MenuId as M, PaneCompositeDescriptor as P, StorageScope as S, ViewContainerLocation as V, IPaneComposite as a, IBadge as b, IContextMenuProvider as c, ActionsOrientation as d, IActionViewItemProvider as e, AnchorAlignment as f, IMenuService as g, IContextMenuService as h, ITelemetryService as i, IMenuActionOptions as j, Part as k, IStorageService as l, CompositeRegistry as m, IWorkbenchLayoutService as n, IThemeService as o, IPartOptions as p, IActionViewItem as q, IBoundarySashes as r, IViewDescriptorService as s, PaneComposite as t, Parts as u, ConfigurationTarget as v, ITelemetryEndpoint as w, IConfigurationChangeEvent as x, IColorTheme as y, StorageTarget as z };
|
package/dist/api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Breakpoint as Breakpoint$1, CallHierarchyIncomingCall as CallHierarchyIncomingCall$1, CallHierarchyItem as CallHierarchyItem$1, CallHierarchyOutgoingCall as CallHierarchyOutgoingCall$1, CodeAction as CodeAction$1, CodeActionKind as CodeActionKind$1, CodeActionTriggerKind as CodeActionTriggerKind$1, CodeLens as CodeLens$1, Color as Color$1, ColorInformation as ColorInformation$1, ColorPresentation as ColorPresentation$1, CommentMode as CommentMode$1, CommentThreadCollapsibleState as CommentThreadCollapsibleState$1, CompletionItem as CompletionItem$1, CompletionItemKind as CompletionItemKind$1, CompletionItemTag as CompletionItemTag$1, CompletionList as CompletionList$1, CompletionTriggerKind as CompletionTriggerKind$1, ConfigurationTarget as ConfigurationTarget$1, CustomExecution as CustomExecution$1, DebugAdapterExecutable as DebugAdapterExecutable$1, DebugAdapterInlineImplementation as DebugAdapterInlineImplementation$1, DebugAdapterNamedPipeServer as DebugAdapterNamedPipeServer$1, DebugAdapterServer as DebugAdapterServer$1, DebugConsoleMode as DebugConsoleMode$1, DecorationRangeBehavior as DecorationRangeBehavior$1, Diagnostic as Diagnostic$1, DiagnosticRelatedInformation as DiagnosticRelatedInformation$1, DiagnosticSeverity as DiagnosticSeverity$1, DiagnosticTag as DiagnosticTag$1, Disposable as Disposable$1, DocumentHighlight as DocumentHighlight$1, DocumentHighlightKind as DocumentHighlightKind$1, DocumentLink as DocumentLink$1, DocumentSymbol as DocumentSymbol$1, EndOfLine as EndOfLine$1, EnvironmentVariableMutatorType as EnvironmentVariableMutatorType$1, EvaluatableExpression as EvaluatableExpression$1, InlineValueText as InlineValueText$1, InlineValueVariableLookup as InlineValueVariableLookup$1, InlineValueEvaluatableExpression as InlineValueEvaluatableExpression$1, ExtensionKind as ExtensionKind$1, ExtensionMode as ExtensionMode$1, FileChangeType as FileChangeType$1, FileDecoration as FileDecoration$1, FileSystemError as FileSystemError$1, FoldingRange as FoldingRange$1, FoldingRangeKind as FoldingRangeKind$1, FunctionBreakpoint as FunctionBreakpoint$1, Hover as Hover$1, Location as Location$1, MarkdownString as MarkdownString$1, ParameterInformation as ParameterInformation$1, Position as Position$1, ProcessExecution as ProcessExecution$1, ProgressLocation as ProgressLocation$1, QuickInputButtons as QuickInputButtons$1, Range as Range$1, RelativePattern as RelativePattern$1, Selection as Selection$1, SelectionRange as SelectionRange$1, SemanticTokens as SemanticTokens$1, SemanticTokensBuilder as SemanticTokensBuilder$1, SemanticTokensEdit as SemanticTokensEdit$1, SemanticTokensEdits as SemanticTokensEdits$1, SemanticTokensLegend as SemanticTokensLegend$1, ShellExecution as ShellExecution$1, ShellQuoting as ShellQuoting$1, SignatureHelp as SignatureHelp$1, SignatureHelpTriggerKind as SignatureHelpTriggerKind$1, SignatureInformation as SignatureInformation$1, SnippetString as SnippetString$1, SourceBreakpoint as SourceBreakpoint$1, SymbolInformation as SymbolInformation$1, SymbolKind as SymbolKind$1, SymbolTag as SymbolTag$1, TextDocumentSaveReason as TextDocumentSaveReason$1, TextEdit as TextEdit$1, TextEditorLineNumbersStyle as TextEditorLineNumbersStyle$1, TextEditorRevealType as TextEditorRevealType$1, TextEditorSelectionChangeKind as TextEditorSelectionChangeKind$1, TextDocumentChangeReason as TextDocumentChangeReason$1, ThemeColor as ThemeColor$1, ThemeIcon as ThemeIcon$1, TreeItem as TreeItem$1, TreeItemCollapsibleState as TreeItemCollapsibleState$1, TypeHierarchyItem as TypeHierarchyItem$1, ViewColumn as ViewColumn$1, WorkspaceEdit as WorkspaceEdit$1, InlayHint as InlayHint$1, InlayHintLabelPart as InlayHintLabelPart$1, InlayHintKind as InlayHintKind$1, LinkedEditingRanges as LinkedEditingRanges$1, TestRunRequest as TestRunRequest$1, TestMessage as TestMessage$1, TestTag as TestTag$1, TestRunProfileKind as TestRunProfileKind$1, LanguageStatusSeverity as LanguageStatusSeverity$1, QuickPickItemKind as QuickPickItemKind$1, TextDiffTabInput, CustomEditorTabInput, NotebookEditorTabInput, NotebookDiffEditorTabInput, WebviewEditorTabInput, TerminalEditorTabInput, InputBoxValidationSeverity as InputBoxValidationSeverity$1, InlineSuggestionList, InlineCompletionTriggerKind as InlineCompletionTriggerKind$1, InlineSuggestion, DocumentDropEdit as DocumentDropEdit$1, SnippetTextEdit as SnippetTextEdit$1 } from './vscode/vs/workbench/api/common/extHostTypes.js';
|
|
1
|
+
import { Breakpoint as Breakpoint$1, CallHierarchyIncomingCall as CallHierarchyIncomingCall$1, CallHierarchyItem as CallHierarchyItem$1, CallHierarchyOutgoingCall as CallHierarchyOutgoingCall$1, CodeAction as CodeAction$1, CodeActionKind as CodeActionKind$1, CodeActionTriggerKind as CodeActionTriggerKind$1, CodeLens as CodeLens$1, Color as Color$1, ColorInformation as ColorInformation$1, ColorPresentation as ColorPresentation$1, CommentMode as CommentMode$1, CommentThreadCollapsibleState as CommentThreadCollapsibleState$1, CompletionItem as CompletionItem$1, CompletionItemKind as CompletionItemKind$1, CompletionItemTag as CompletionItemTag$1, CompletionList as CompletionList$1, CompletionTriggerKind as CompletionTriggerKind$1, ConfigurationTarget as ConfigurationTarget$1, CustomExecution as CustomExecution$1, DebugAdapterExecutable as DebugAdapterExecutable$1, DebugAdapterInlineImplementation as DebugAdapterInlineImplementation$1, DebugAdapterNamedPipeServer as DebugAdapterNamedPipeServer$1, DebugAdapterServer as DebugAdapterServer$1, DebugConsoleMode as DebugConsoleMode$1, DecorationRangeBehavior as DecorationRangeBehavior$1, Diagnostic as Diagnostic$1, DiagnosticRelatedInformation as DiagnosticRelatedInformation$1, DiagnosticSeverity as DiagnosticSeverity$1, DiagnosticTag as DiagnosticTag$1, Disposable as Disposable$1, DocumentHighlight as DocumentHighlight$1, DocumentHighlightKind as DocumentHighlightKind$1, DocumentLink as DocumentLink$1, DocumentSymbol as DocumentSymbol$1, EndOfLine as EndOfLine$1, EnvironmentVariableMutatorType as EnvironmentVariableMutatorType$1, EvaluatableExpression as EvaluatableExpression$1, InlineValueText as InlineValueText$1, InlineValueVariableLookup as InlineValueVariableLookup$1, InlineValueEvaluatableExpression as InlineValueEvaluatableExpression$1, ExtensionKind as ExtensionKind$1, ExtensionMode as ExtensionMode$1, FileChangeType as FileChangeType$1, FileDecoration as FileDecoration$1, FileSystemError as FileSystemError$1, FoldingRange as FoldingRange$1, FoldingRangeKind as FoldingRangeKind$1, FunctionBreakpoint as FunctionBreakpoint$1, Hover as Hover$1, Location as Location$1, MarkdownString as MarkdownString$1, ParameterInformation as ParameterInformation$1, Position as Position$1, ProcessExecution as ProcessExecution$1, ProgressLocation as ProgressLocation$1, QuickInputButtons as QuickInputButtons$1, Range as Range$1, RelativePattern as RelativePattern$1, Selection as Selection$1, SelectionRange as SelectionRange$1, SemanticTokens as SemanticTokens$1, SemanticTokensBuilder as SemanticTokensBuilder$1, SemanticTokensEdit as SemanticTokensEdit$1, SemanticTokensEdits as SemanticTokensEdits$1, SemanticTokensLegend as SemanticTokensLegend$1, ShellExecution as ShellExecution$1, ShellQuoting as ShellQuoting$1, SignatureHelp as SignatureHelp$1, SignatureHelpTriggerKind as SignatureHelpTriggerKind$1, SignatureInformation as SignatureInformation$1, SnippetString as SnippetString$1, SourceBreakpoint as SourceBreakpoint$1, StatusBarAlignment as StatusBarAlignment$1, SymbolInformation as SymbolInformation$1, SymbolKind as SymbolKind$1, SymbolTag as SymbolTag$1, TextDocumentSaveReason as TextDocumentSaveReason$1, TextEdit as TextEdit$1, TextEditorLineNumbersStyle as TextEditorLineNumbersStyle$1, TextEditorRevealType as TextEditorRevealType$1, TextEditorSelectionChangeKind as TextEditorSelectionChangeKind$1, TextDocumentChangeReason as TextDocumentChangeReason$1, ThemeColor as ThemeColor$1, ThemeIcon as ThemeIcon$1, TreeItem as TreeItem$1, TreeItemCollapsibleState as TreeItemCollapsibleState$1, TypeHierarchyItem as TypeHierarchyItem$1, ViewColumn as ViewColumn$1, WorkspaceEdit as WorkspaceEdit$1, InlayHint as InlayHint$1, InlayHintLabelPart as InlayHintLabelPart$1, InlayHintKind as InlayHintKind$1, LinkedEditingRanges as LinkedEditingRanges$1, TestRunRequest as TestRunRequest$1, TestMessage as TestMessage$1, TestTag as TestTag$1, TestRunProfileKind as TestRunProfileKind$1, LanguageStatusSeverity as LanguageStatusSeverity$1, QuickPickItemKind as QuickPickItemKind$1, TextDiffTabInput, CustomEditorTabInput, NotebookEditorTabInput, NotebookDiffEditorTabInput, WebviewEditorTabInput, TerminalEditorTabInput, InputBoxValidationSeverity as InputBoxValidationSeverity$1, InlineSuggestionList, InlineCompletionTriggerKind as InlineCompletionTriggerKind$1, InlineSuggestion, DocumentDropEdit as DocumentDropEdit$1, SnippetTextEdit as SnippetTextEdit$1 } from './vscode/vs/workbench/api/common/extHostTypes.js';
|
|
2
2
|
import * as errors from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
3
3
|
import { DebugConfigurationProviderTriggerKind as DebugConfigurationProviderTriggerKind$1 } from './vscode/vs/workbench/contrib/debug/common/debug.js';
|
|
4
4
|
import * as files from 'monaco-editor/esm/vs/platform/files/common/files.js';
|
|
@@ -19,7 +19,7 @@ import create$4, { TextTabInput } from './vscode-services/window.js';
|
|
|
19
19
|
import create$2 from './vscode-services/env.js';
|
|
20
20
|
import create$1 from './vscode-services/debug.js';
|
|
21
21
|
import create from './vscode-services/extensions.js';
|
|
22
|
-
import { getDefaultExtension } from './
|
|
22
|
+
import { getDefaultExtension } from './default-extension.js';
|
|
23
23
|
const unsupported = undefined;
|
|
24
24
|
const _workspace = create$7(getDefaultExtension);
|
|
25
25
|
const api = {
|
|
@@ -120,7 +120,7 @@ const api = {
|
|
|
120
120
|
SignatureInformation: SignatureInformation$1,
|
|
121
121
|
SnippetString: SnippetString$1,
|
|
122
122
|
SourceBreakpoint: SourceBreakpoint$1,
|
|
123
|
-
StatusBarAlignment:
|
|
123
|
+
StatusBarAlignment: StatusBarAlignment$1,
|
|
124
124
|
SymbolInformation: SymbolInformation$1,
|
|
125
125
|
SymbolKind: SymbolKind$1,
|
|
126
126
|
SymbolTag: SymbolTag$1,
|
package/dist/colorRegistry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as ServiceIdentifier, a as ServicesAccessor } from './instantiation.js';
|
|
2
|
-
import { E as Event,
|
|
2
|
+
import { E as Event, a as IDisposable } from './event.js';
|
|
3
3
|
import { I as IJSONSchema } from './jsonSchema.js';
|
|
4
4
|
import { S as Severity$1 } from './extensions.d2.ts';
|
|
5
5
|
|
|
@@ -707,4 +707,4 @@ interface ColorDefaults {
|
|
|
707
707
|
type ColorValue = Color | string | ColorIdentifier | ColorTransform;
|
|
708
708
|
declare function registerColor(id: string, defaults: ColorDefaults | null, description: string, needsTransparency?: boolean, deprecationMessage?: string): ColorIdentifier;
|
|
709
709
|
|
|
710
|
-
export {
|
|
710
|
+
export { Color as A, IRunEvent as B, CommandsRegistry as C, IProgressIndicator as I, NotificationsFilter as N, SubmenuAction as S, IActionRunner as a, IAction as b, IComposite as c, INotificationService as d, ICommandService as e, IProgress as f, IProgressStep as g, ICompositeControl as h, NotificationMessage as i, NotificationPriority as j, INotificationProperties as k, NeverShowAgainScope as l, INeverShowAgainOptions as m, INotification as n, INotificationActions as o, INotificationProgress as p, INotificationProgressProperties as q, registerColor as r, INotificationHandle as s, IPromptChoice as t, IPromptChoiceWithMenu as u, IPromptOptions as v, IStatusMessageOptions as w, NoOpNotification as x, NoOpProgress as y, ColorIdentifier as z };
|
package/dist/contextkey.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as ServiceIdentifier } from './instantiation.js';
|
|
2
|
-
import { E as Event,
|
|
2
|
+
import { E as Event, a as IDisposable } from './event.js';
|
|
3
3
|
|
|
4
4
|
declare const enum ContextKeyExprType {
|
|
5
5
|
False = 0,
|
|
@@ -327,4 +327,4 @@ interface IContextKeyService {
|
|
|
327
327
|
updateParent(parentContextKeyService: IContextKeyService): void;
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
export { ContextKeyExpression as C,
|
|
330
|
+
export { ContextKeyExpression as C, IContextKeyServiceTarget as I, IContextKeyService as a, IContextKey as b };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ExtensionIdentifier } from 'monaco-editor/esm/vs/platform/extensions/common/extensions.js';
|
|
2
|
+
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
3
|
+
let DEFAULT_EXTENSION = {
|
|
4
|
+
identifier: new ExtensionIdentifier('monaco'),
|
|
5
|
+
isBuiltin: true,
|
|
6
|
+
isUserBuiltin: true,
|
|
7
|
+
isUnderDevelopment: false,
|
|
8
|
+
extensionLocation: ( URI.from({ scheme: 'extension', path: '/' })),
|
|
9
|
+
name: 'monaco',
|
|
10
|
+
publisher: 'microsoft',
|
|
11
|
+
version: '1.0.0',
|
|
12
|
+
engines: {
|
|
13
|
+
vscode: "1.79.0"
|
|
14
|
+
},
|
|
15
|
+
targetPlatform: "web"
|
|
16
|
+
};
|
|
17
|
+
function setDefaultExtension(extension) {
|
|
18
|
+
DEFAULT_EXTENSION = extension;
|
|
19
|
+
}
|
|
20
|
+
function getDefaultExtension() {
|
|
21
|
+
return DEFAULT_EXTENSION;
|
|
22
|
+
}
|
|
23
|
+
export { getDefaultExtension, setDefaultExtension };
|
package/dist/editor.d.ts
CHANGED
|
@@ -1,322 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
1
|
+
import { a as IResolvedTextEditorModel, I as IEditorOptions, b as ICodeEditor } from './editorBrowser.js';
|
|
2
|
+
import { I as IReference } from './event.js';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
readonly enabledCommands: readonly string[];
|
|
6
|
-
}
|
|
7
|
-
interface IMarkdownString {
|
|
8
|
-
readonly value: string;
|
|
9
|
-
readonly isTrusted?: boolean | MarkdownStringTrustedOptions;
|
|
10
|
-
readonly supportThemeIcons?: boolean;
|
|
11
|
-
readonly supportHtml?: boolean;
|
|
12
|
-
readonly baseUri?: UriComponents;
|
|
13
|
-
uris?: {
|
|
14
|
-
[href: string]: UriComponents;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
4
|
+
type OpenEditor = (modelRef: IReference<IResolvedTextEditorModel>, options: IEditorOptions | undefined, sideBySide?: boolean) => Promise<ICodeEditor | undefined>;
|
|
17
5
|
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Emitted when the model is about to be disposed.
|
|
21
|
-
*/
|
|
22
|
-
readonly onWillDispose: Event<void>;
|
|
23
|
-
/**
|
|
24
|
-
* Resolves the model.
|
|
25
|
-
*/
|
|
26
|
-
resolve(): Promise<void>;
|
|
27
|
-
/**
|
|
28
|
-
* Find out if the editor model was resolved or not.
|
|
29
|
-
*/
|
|
30
|
-
isResolved(): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Find out if this model has been disposed.
|
|
33
|
-
*/
|
|
34
|
-
isDisposed(): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Dispose associated resources
|
|
37
|
-
*/
|
|
38
|
-
dispose(): void;
|
|
39
|
-
}
|
|
40
|
-
interface IBaseUntypedEditorInput {
|
|
41
|
-
/**
|
|
42
|
-
* Optional options to use when opening the input.
|
|
43
|
-
*/
|
|
44
|
-
options?: IEditorOptions;
|
|
45
|
-
/**
|
|
46
|
-
* Label to show for the input.
|
|
47
|
-
*/
|
|
48
|
-
readonly label?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Description to show for the input.
|
|
51
|
-
*/
|
|
52
|
-
readonly description?: string;
|
|
53
|
-
}
|
|
54
|
-
interface IBaseResourceEditorInput extends IBaseUntypedEditorInput {
|
|
55
|
-
/**
|
|
56
|
-
* Hint to indicate that this input should be treated as a
|
|
57
|
-
* untitled file.
|
|
58
|
-
*
|
|
59
|
-
* Without this hint, the editor service will make a guess by
|
|
60
|
-
* looking at the scheme of the resource(s).
|
|
61
|
-
*
|
|
62
|
-
* Use `forceUntitled: true` when you pass in a `resource` that
|
|
63
|
-
* does not use the `untitled` scheme. The `resource` will then
|
|
64
|
-
* be used as associated path when saving the untitled file.
|
|
65
|
-
*/
|
|
66
|
-
readonly forceUntitled?: boolean;
|
|
67
|
-
}
|
|
68
|
-
interface IBaseTextResourceEditorInput extends IBaseResourceEditorInput {
|
|
69
|
-
/**
|
|
70
|
-
* Optional options to use when opening the text input.
|
|
71
|
-
*/
|
|
72
|
-
options?: ITextEditorOptions;
|
|
73
|
-
/**
|
|
74
|
-
* The contents of the text input if known. If provided,
|
|
75
|
-
* the input will not attempt to load the contents from
|
|
76
|
-
* disk and may appear dirty.
|
|
77
|
-
*/
|
|
78
|
-
contents?: string;
|
|
79
|
-
/**
|
|
80
|
-
* The encoding of the text input if known.
|
|
81
|
-
*/
|
|
82
|
-
encoding?: string;
|
|
83
|
-
/**
|
|
84
|
-
* The identifier of the language id of the text input
|
|
85
|
-
* if known to use when displaying the contents.
|
|
86
|
-
*/
|
|
87
|
-
languageId?: string;
|
|
88
|
-
}
|
|
89
|
-
interface IResourceEditorInput extends IBaseResourceEditorInput {
|
|
90
|
-
/**
|
|
91
|
-
* The resource URI of the resource to open.
|
|
92
|
-
*/
|
|
93
|
-
readonly resource: URI;
|
|
94
|
-
}
|
|
95
|
-
interface ITextResourceEditorInput extends IResourceEditorInput, IBaseTextResourceEditorInput {
|
|
96
|
-
/**
|
|
97
|
-
* Optional options to use when opening the text input.
|
|
98
|
-
*/
|
|
99
|
-
options?: ITextEditorOptions;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* This identifier allows to uniquely identify an editor with a
|
|
103
|
-
* resource, type and editor identifier.
|
|
104
|
-
*/
|
|
105
|
-
interface IResourceEditorInputIdentifier {
|
|
106
|
-
/**
|
|
107
|
-
* The type of the editor.
|
|
108
|
-
*/
|
|
109
|
-
readonly typeId: string;
|
|
110
|
-
/**
|
|
111
|
-
* The identifier of the editor if provided.
|
|
112
|
-
*/
|
|
113
|
-
readonly editorId: string | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* The resource URI of the editor.
|
|
116
|
-
*/
|
|
117
|
-
readonly resource: URI;
|
|
118
|
-
}
|
|
119
|
-
declare enum EditorActivation {
|
|
120
|
-
/**
|
|
121
|
-
* Activate the editor after it opened. This will automatically restore
|
|
122
|
-
* the editor if it is minimized.
|
|
123
|
-
*/
|
|
124
|
-
ACTIVATE = 1,
|
|
125
|
-
/**
|
|
126
|
-
* Only restore the editor if it is minimized but do not activate it.
|
|
127
|
-
*
|
|
128
|
-
* Note: will only work in combination with the `preserveFocus: true` option.
|
|
129
|
-
* Otherwise, if focus moves into the editor, it will activate and restore
|
|
130
|
-
* automatically.
|
|
131
|
-
*/
|
|
132
|
-
RESTORE = 2,
|
|
133
|
-
/**
|
|
134
|
-
* Preserve the current active editor.
|
|
135
|
-
*
|
|
136
|
-
* Note: will only work in combination with the `preserveFocus: true` option.
|
|
137
|
-
* Otherwise, if focus moves into the editor, it will activate and restore
|
|
138
|
-
* automatically.
|
|
139
|
-
*/
|
|
140
|
-
PRESERVE = 3
|
|
141
|
-
}
|
|
142
|
-
declare enum EditorResolution {
|
|
143
|
-
/**
|
|
144
|
-
* Displays a picker and allows the user to decide which editor to use.
|
|
145
|
-
*/
|
|
146
|
-
PICK = 0,
|
|
147
|
-
/**
|
|
148
|
-
* Only exclusive editors are considered.
|
|
149
|
-
*/
|
|
150
|
-
EXCLUSIVE_ONLY = 1
|
|
151
|
-
}
|
|
152
|
-
declare enum EditorOpenSource {
|
|
153
|
-
/**
|
|
154
|
-
* Default: the editor is opening via a programmatic call
|
|
155
|
-
* to the editor service API.
|
|
156
|
-
*/
|
|
157
|
-
API = 0,
|
|
158
|
-
/**
|
|
159
|
-
* Indicates that a user action triggered the opening, e.g.
|
|
160
|
-
* via mouse or keyboard use.
|
|
161
|
-
*/
|
|
162
|
-
USER = 1
|
|
163
|
-
}
|
|
164
|
-
interface IEditorOptions {
|
|
165
|
-
/**
|
|
166
|
-
* Tells the editor to not receive keyboard focus when the editor is being opened.
|
|
167
|
-
*
|
|
168
|
-
* Will also not activate the group the editor opens in unless the group is already
|
|
169
|
-
* the active one. This behaviour can be overridden via the `activation` option.
|
|
170
|
-
*/
|
|
171
|
-
preserveFocus?: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* This option is only relevant if an editor is opened into a group that is not active
|
|
174
|
-
* already and allows to control if the inactive group should become active, restored
|
|
175
|
-
* or preserved.
|
|
176
|
-
*
|
|
177
|
-
* By default, the editor group will become active unless `preserveFocus` or `inactive`
|
|
178
|
-
* is specified.
|
|
179
|
-
*/
|
|
180
|
-
activation?: EditorActivation;
|
|
181
|
-
/**
|
|
182
|
-
* Tells the editor to reload the editor input in the editor even if it is identical to the one
|
|
183
|
-
* already showing. By default, the editor will not reload the input if it is identical to the
|
|
184
|
-
* one showing.
|
|
185
|
-
*/
|
|
186
|
-
forceReload?: boolean;
|
|
187
|
-
/**
|
|
188
|
-
* Will reveal the editor if it is already opened and visible in any of the opened editor groups.
|
|
189
|
-
*
|
|
190
|
-
* Note that this option is just a hint that might be ignored if the user wants to open an editor explicitly
|
|
191
|
-
* to the side of another one or into a specific editor group.
|
|
192
|
-
*/
|
|
193
|
-
revealIfVisible?: boolean;
|
|
194
|
-
/**
|
|
195
|
-
* Will reveal the editor if it is already opened (even when not visible) in any of the opened editor groups.
|
|
196
|
-
*
|
|
197
|
-
* Note that this option is just a hint that might be ignored if the user wants to open an editor explicitly
|
|
198
|
-
* to the side of another one or into a specific editor group.
|
|
199
|
-
*/
|
|
200
|
-
revealIfOpened?: boolean;
|
|
201
|
-
/**
|
|
202
|
-
* An editor that is pinned remains in the editor stack even when another editor is being opened.
|
|
203
|
-
* An editor that is not pinned will always get replaced by another editor that is not pinned.
|
|
204
|
-
*/
|
|
205
|
-
pinned?: boolean;
|
|
206
|
-
/**
|
|
207
|
-
* An editor that is sticky moves to the beginning of the editors list within the group and will remain
|
|
208
|
-
* there unless explicitly closed. Operations such as "Close All" will not close sticky editors.
|
|
209
|
-
*/
|
|
210
|
-
sticky?: boolean;
|
|
211
|
-
/**
|
|
212
|
-
* The index in the document stack where to insert the editor into when opening.
|
|
213
|
-
*/
|
|
214
|
-
index?: number;
|
|
215
|
-
/**
|
|
216
|
-
* An active editor that is opened will show its contents directly. Set to true to open an editor
|
|
217
|
-
* in the background without loading its contents.
|
|
218
|
-
*
|
|
219
|
-
* Will also not activate the group the editor opens in unless the group is already
|
|
220
|
-
* the active one. This behaviour can be overridden via the `activation` option.
|
|
221
|
-
*/
|
|
222
|
-
inactive?: boolean;
|
|
223
|
-
/**
|
|
224
|
-
* Will not show an error in case opening the editor fails and thus allows to show a custom error
|
|
225
|
-
* message as needed. By default, an error will be presented as notification if opening was not possible.
|
|
226
|
-
*/
|
|
227
|
-
/**
|
|
228
|
-
* In case of an error opening the editor, will not present this error to the user (e.g. by showing
|
|
229
|
-
* a generic placeholder in the editor area). So it is up to the caller to provide error information
|
|
230
|
-
* in that case.
|
|
231
|
-
*
|
|
232
|
-
* By default, an error when opening an editor will result in a placeholder editor that shows the error.
|
|
233
|
-
* In certain cases a modal dialog may be presented to ask the user for further action.
|
|
234
|
-
*/
|
|
235
|
-
ignoreError?: boolean;
|
|
236
|
-
/**
|
|
237
|
-
* Allows to override the editor that should be used to display the input:
|
|
238
|
-
* - `undefined`: let the editor decide for itself
|
|
239
|
-
* - `string`: specific override by id
|
|
240
|
-
* - `EditorResolution`: specific override handling
|
|
241
|
-
*/
|
|
242
|
-
override?: string | EditorResolution;
|
|
243
|
-
/**
|
|
244
|
-
* A optional hint to signal in which context the editor opens.
|
|
245
|
-
*
|
|
246
|
-
* If configured to be `EditorOpenSource.USER`, this hint can be
|
|
247
|
-
* used in various places to control the experience. For example,
|
|
248
|
-
* if the editor to open fails with an error, a notification could
|
|
249
|
-
* inform about this in a modal dialog. If the editor opened through
|
|
250
|
-
* some background task, the notification would show in the background,
|
|
251
|
-
* not as a modal dialog.
|
|
252
|
-
*/
|
|
253
|
-
source?: EditorOpenSource;
|
|
254
|
-
/**
|
|
255
|
-
* An optional property to signal that certain view state should be
|
|
256
|
-
* applied when opening the editor.
|
|
257
|
-
*/
|
|
258
|
-
viewState?: object;
|
|
259
|
-
}
|
|
260
|
-
interface ITextEditorSelection {
|
|
261
|
-
readonly startLineNumber: number;
|
|
262
|
-
readonly startColumn: number;
|
|
263
|
-
readonly endLineNumber?: number;
|
|
264
|
-
readonly endColumn?: number;
|
|
265
|
-
}
|
|
266
|
-
declare const enum TextEditorSelectionRevealType {
|
|
267
|
-
/**
|
|
268
|
-
* Option to scroll vertically or horizontally as necessary and reveal a range centered vertically.
|
|
269
|
-
*/
|
|
270
|
-
Center = 0,
|
|
271
|
-
/**
|
|
272
|
-
* Option to scroll vertically or horizontally as necessary and reveal a range centered vertically only if it lies outside the viewport.
|
|
273
|
-
*/
|
|
274
|
-
CenterIfOutsideViewport = 1,
|
|
275
|
-
/**
|
|
276
|
-
* Option to scroll vertically or horizontally as necessary and reveal a range close to the top of the viewport, but not quite at the top.
|
|
277
|
-
*/
|
|
278
|
-
NearTop = 2,
|
|
279
|
-
/**
|
|
280
|
-
* Option to scroll vertically or horizontally as necessary and reveal a range close to the top of the viewport, but not quite at the top.
|
|
281
|
-
* Only if it lies outside the viewport
|
|
282
|
-
*/
|
|
283
|
-
NearTopIfOutsideViewport = 3
|
|
284
|
-
}
|
|
285
|
-
declare const enum TextEditorSelectionSource {
|
|
286
|
-
/**
|
|
287
|
-
* Programmatic source indicates a selection change that
|
|
288
|
-
* was not triggered by the user via keyboard or mouse
|
|
289
|
-
* but through text editor APIs.
|
|
290
|
-
*/
|
|
291
|
-
PROGRAMMATIC = "api",
|
|
292
|
-
/**
|
|
293
|
-
* Navigation source indicates a selection change that
|
|
294
|
-
* was caused via some command or UI component such as
|
|
295
|
-
* an outline tree.
|
|
296
|
-
*/
|
|
297
|
-
NAVIGATION = "code.navigation",
|
|
298
|
-
/**
|
|
299
|
-
* Jump source indicates a selection change that
|
|
300
|
-
* was caused from within the text editor to another
|
|
301
|
-
* location in the same or different text editor such
|
|
302
|
-
* as "Go to definition".
|
|
303
|
-
*/
|
|
304
|
-
JUMP = "code.jump"
|
|
305
|
-
}
|
|
306
|
-
interface ITextEditorOptions extends IEditorOptions {
|
|
307
|
-
/**
|
|
308
|
-
* Text editor selection.
|
|
309
|
-
*/
|
|
310
|
-
selection?: ITextEditorSelection;
|
|
311
|
-
/**
|
|
312
|
-
* Option to control the text editor selection reveal type.
|
|
313
|
-
* Defaults to TextEditorSelectionRevealType.Center
|
|
314
|
-
*/
|
|
315
|
-
selectionRevealType?: TextEditorSelectionRevealType;
|
|
316
|
-
/**
|
|
317
|
-
* Source of the call that caused the selection.
|
|
318
|
-
*/
|
|
319
|
-
selectionSource?: TextEditorSelectionSource | string;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
export { IMarkdownString as I, MarkdownStringTrustedOptions as M, IResourceEditorInput as a, ITextResourceEditorInput as b, IEditorOptions as c, IResourceEditorInputIdentifier as d, IEditorModel as e, IBaseTextResourceEditorInput as f, IBaseUntypedEditorInput as g };
|
|
6
|
+
export { OpenEditor as O };
|