@codingame/monaco-vscode-api 1.79.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.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 +535 -535
- 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
|
@@ -1,3 +1,110 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { __decorate, __param } from '../../../../../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
3
|
+
import { createDecorator, IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
4
|
+
import { UntitledTextEditorModel } from './untitledTextEditorModel.js';
|
|
5
|
+
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
6
|
+
import { Emitter, Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
7
|
+
import { ResourceMap } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
8
|
+
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
9
|
+
import { Disposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
10
|
+
const IUntitledTextEditorService = ( (createDecorator('untitledTextEditorService')));
|
|
11
|
+
let UntitledTextEditorService = class UntitledTextEditorService extends Disposable {
|
|
12
|
+
constructor(instantiationService, configurationService) {
|
|
13
|
+
super();
|
|
14
|
+
this.instantiationService = instantiationService;
|
|
15
|
+
this.configurationService = configurationService;
|
|
16
|
+
this._onDidChangeDirty = this._register(( (new Emitter())));
|
|
17
|
+
this.onDidChangeDirty = this._onDidChangeDirty.event;
|
|
18
|
+
this._onDidChangeEncoding = this._register(( (new Emitter())));
|
|
19
|
+
this.onDidChangeEncoding = this._onDidChangeEncoding.event;
|
|
20
|
+
this._onWillDispose = this._register(( (new Emitter())));
|
|
21
|
+
this.onWillDispose = this._onWillDispose.event;
|
|
22
|
+
this._onDidChangeLabel = this._register(( (new Emitter())));
|
|
23
|
+
this.onDidChangeLabel = this._onDidChangeLabel.event;
|
|
24
|
+
this.mapResourceToModel = ( (new ResourceMap()));
|
|
25
|
+
}
|
|
26
|
+
get(resource) {
|
|
27
|
+
return this.mapResourceToModel.get(resource);
|
|
28
|
+
}
|
|
29
|
+
getValue(resource) {
|
|
30
|
+
return this.get(resource)?.textEditorModel?.getValue();
|
|
31
|
+
}
|
|
32
|
+
async resolve(options) {
|
|
33
|
+
const model = this.doCreateOrGet(options);
|
|
34
|
+
await model.resolve();
|
|
35
|
+
return model;
|
|
36
|
+
}
|
|
37
|
+
create(options) {
|
|
38
|
+
return this.doCreateOrGet(options);
|
|
39
|
+
}
|
|
40
|
+
doCreateOrGet(options = Object.create(null)) {
|
|
41
|
+
const massagedOptions = this.massageOptions(options);
|
|
42
|
+
if (massagedOptions.untitledResource && ( (this.mapResourceToModel.has(massagedOptions.untitledResource)))) {
|
|
43
|
+
return this.mapResourceToModel.get(massagedOptions.untitledResource);
|
|
44
|
+
}
|
|
45
|
+
return this.doCreate(massagedOptions);
|
|
46
|
+
}
|
|
47
|
+
massageOptions(options) {
|
|
48
|
+
const massagedOptions = Object.create(null);
|
|
49
|
+
if (options.associatedResource) {
|
|
50
|
+
massagedOptions.untitledResource = ( (URI.from({
|
|
51
|
+
scheme: Schemas.untitled,
|
|
52
|
+
authority: options.associatedResource.authority,
|
|
53
|
+
fragment: options.associatedResource.fragment,
|
|
54
|
+
path: options.associatedResource.path,
|
|
55
|
+
query: options.associatedResource.query
|
|
56
|
+
})));
|
|
57
|
+
massagedOptions.associatedResource = options.associatedResource;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
if (options.untitledResource?.scheme === Schemas.untitled) {
|
|
61
|
+
massagedOptions.untitledResource = options.untitledResource;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
if (options.languageId) {
|
|
65
|
+
massagedOptions.languageId = options.languageId;
|
|
66
|
+
}
|
|
67
|
+
else if (!massagedOptions.associatedResource) {
|
|
68
|
+
const configuration = this.configurationService.getValue();
|
|
69
|
+
if (configuration.files?.defaultLanguage) {
|
|
70
|
+
massagedOptions.languageId = configuration.files.defaultLanguage;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
massagedOptions.encoding = options.encoding;
|
|
74
|
+
massagedOptions.initialValue = options.initialValue;
|
|
75
|
+
return massagedOptions;
|
|
76
|
+
}
|
|
77
|
+
doCreate(options) {
|
|
78
|
+
let untitledResource = options.untitledResource;
|
|
79
|
+
if (!untitledResource) {
|
|
80
|
+
let counter = 1;
|
|
81
|
+
do {
|
|
82
|
+
untitledResource = ( ( URI.from({ scheme: Schemas.untitled, path: `Untitled-${counter}` })));
|
|
83
|
+
counter++;
|
|
84
|
+
} while (( (this.mapResourceToModel.has(untitledResource))));
|
|
85
|
+
}
|
|
86
|
+
const model = this._register(this.instantiationService.createInstance(UntitledTextEditorModel, untitledResource, !!options.associatedResource, options.initialValue, options.languageId, options.encoding));
|
|
87
|
+
this.registerModel(model);
|
|
88
|
+
return model;
|
|
89
|
+
}
|
|
90
|
+
registerModel(model) {
|
|
91
|
+
const modelListeners = ( (new DisposableStore()));
|
|
92
|
+
modelListeners.add(model.onDidChangeDirty(() => this._onDidChangeDirty.fire(model)));
|
|
93
|
+
modelListeners.add(model.onDidChangeName(() => this._onDidChangeLabel.fire(model)));
|
|
94
|
+
modelListeners.add(model.onDidChangeEncoding(() => this._onDidChangeEncoding.fire(model)));
|
|
95
|
+
modelListeners.add(model.onWillDispose(() => this._onWillDispose.fire(model)));
|
|
96
|
+
Event.once(model.onWillDispose)(() => {
|
|
97
|
+
this.mapResourceToModel.delete(model.resource);
|
|
98
|
+
modelListeners.dispose();
|
|
99
|
+
});
|
|
100
|
+
this.mapResourceToModel.set(model.resource, model);
|
|
101
|
+
if (model.isDirty()) {
|
|
102
|
+
this._onDidChangeDirty.fire(model);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
UntitledTextEditorService = ( (__decorate([
|
|
107
|
+
( (__param(0, IInstantiationService))),
|
|
108
|
+
( (__param(1, IConfigurationService)))
|
|
109
|
+
], UntitledTextEditorService)));
|
|
110
|
+
export { IUntitledTextEditorService, UntitledTextEditorService };
|
|
@@ -3,5 +3,5 @@ import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/com
|
|
|
3
3
|
import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
|
|
4
4
|
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
5
5
|
const IUserDataProfileService = ( createDecorator('IUserDataProfileService'));
|
|
6
|
-
const defaultUserDataProfileIcon =
|
|
6
|
+
const defaultUserDataProfileIcon = registerIcon('defaultProfile-icon', Codicon.settings, ( localize('defaultProfileIcon', 'Icon for Default Profile.')));
|
|
7
7
|
export { IUserDataProfileService, defaultUserDataProfileIcon };
|
|
@@ -35,7 +35,7 @@ import { IExtHostLocalizationService, ExtHostLocalizationService } from '../vsco
|
|
|
35
35
|
import { IExtHostEditorTabs, ExtHostEditorTabs } from '../vscode/vs/workbench/api/common/extHostEditorTabs.js';
|
|
36
36
|
import { registerSingleton } from 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
|
|
37
37
|
import { BufferedEmitter } from '../vscode/vs/base/parts/ipc/common/ipc.net.js';
|
|
38
|
-
import { Event
|
|
38
|
+
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
39
39
|
import { RPCProtocol } from '../vscode/vs/workbench/services/extensions/common/rpcProtocol.js';
|
|
40
40
|
import { IExtHostConsumerFileSystem, ExtHostConsumerFileSystem } from '../vscode/vs/workbench/api/common/extHostFileSystemConsumer.js';
|
|
41
41
|
import { IExtHostInitDataService } from '../vscode/vs/workbench/api/common/extHostInitDataService.js';
|
|
@@ -53,6 +53,7 @@ import { IExtHostOutputService, ExtHostOutputService } from '../vscode/vs/workbe
|
|
|
53
53
|
import { ExtHostTreeViews } from '../vscode/vs/workbench/api/common/extHostTreeViews.js';
|
|
54
54
|
import { ExtHostStorage } from '../vscode/vs/workbench/api/common/extHostStorage.js';
|
|
55
55
|
import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
56
|
+
import { ExtHostStatusBar } from '../vscode/vs/workbench/api/common/extHostStatusBar.js';
|
|
56
57
|
import '../vscode/vs/workbench/api/browser/mainThreadLocalization.js';
|
|
57
58
|
import '../vscode/vs/workbench/api/browser/mainThreadCommands.js';
|
|
58
59
|
import '../vscode/vs/workbench/api/browser/mainThreadWindow.js';
|
|
@@ -77,7 +78,9 @@ import '../vscode/vs/workbench/api/browser/mainThreadOutputService.js';
|
|
|
77
78
|
import '../vscode/vs/workbench/api/browser/mainThreadSaveParticipant.js';
|
|
78
79
|
import '../vscode/vs/workbench/api/browser/mainThreadTreeViews.js';
|
|
79
80
|
import '../vscode/vs/workbench/api/browser/mainThreadStorage.js';
|
|
81
|
+
import '../vscode/vs/workbench/api/browser/mainThreadStatusBar.js';
|
|
80
82
|
import * as errors from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
83
|
+
import { Barrier } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
81
84
|
import { unsupported } from '../tools.js';
|
|
82
85
|
const original = MainThreadMessageService.prototype.$showMessage;
|
|
83
86
|
MainThreadMessageService.prototype.$showMessage = function (severity, message, options, commands) {
|
|
@@ -319,6 +322,7 @@ async function createExtHostServices() {
|
|
|
319
322
|
const extHostBulkEdits = new ExtHostBulkEdits(rpcProtocol, extHostDocumentsAndEditors);
|
|
320
323
|
const extHostClipboard = new ExtHostClipboard(mainContext);
|
|
321
324
|
const extHostMessageService = new ExtHostMessageService(rpcProtocol, logService);
|
|
325
|
+
const extHostStatusBar = new ExtHostStatusBar(rpcProtocol, extHostCommands.converter);
|
|
322
326
|
ExtHostApiCommands.register(extHostCommands);
|
|
323
327
|
const namedCustomers = ExtHostCustomersRegistry.getNamedCustomers();
|
|
324
328
|
for (let i = 0, len = namedCustomers.length; i < len; i++) {
|
|
@@ -374,18 +378,21 @@ async function createExtHostServices() {
|
|
|
374
378
|
extHostOutputService,
|
|
375
379
|
extHostTreeViews,
|
|
376
380
|
extHostStorage,
|
|
377
|
-
extHostLocalization
|
|
381
|
+
extHostLocalization,
|
|
382
|
+
extHostStatusBar
|
|
378
383
|
};
|
|
379
384
|
}
|
|
380
385
|
let extHostServices;
|
|
381
386
|
let configProvider;
|
|
382
387
|
let initializePromise;
|
|
383
|
-
const
|
|
384
|
-
|
|
388
|
+
const extHostInitializedBarrier = new Barrier();
|
|
389
|
+
function onExtHostInitialized(fct) {
|
|
390
|
+
void extHostInitializedBarrier.wait().then(fct);
|
|
391
|
+
}
|
|
385
392
|
async function _initialize() {
|
|
386
393
|
extHostServices = await createExtHostServices();
|
|
387
394
|
configProvider = await extHostServices.extHostConfiguration.getConfigProvider();
|
|
388
|
-
|
|
395
|
+
extHostInitializedBarrier.open();
|
|
389
396
|
}
|
|
390
397
|
async function initialize() {
|
|
391
398
|
if (initializePromise == null) {
|
|
@@ -54,7 +54,6 @@ import { BrowserPathService } from '../vscode/vs/workbench/services/path/browser
|
|
|
54
54
|
import { IRemoteAgentService } from '../vscode/vs/workbench/services/remote/common/remoteAgentService.js';
|
|
55
55
|
import { ICustomEndpointTelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
56
56
|
import { NullEndpointTelemetryService } from '../vscode/vs/platform/telemetry/common/telemetryUtils.js';
|
|
57
|
-
import { SearchService } from '../vscode/vs/workbench/services/search/common/searchService.js';
|
|
58
57
|
import { ISearchService } from '../vscode/vs/workbench/services/search/common/search.js';
|
|
59
58
|
import { IRequestService } from '../vscode/vs/platform/request/common/request.js';
|
|
60
59
|
import { IEditSessionIdentityService } from '../vscode/vs/platform/workspace/common/editSessions.js';
|
|
@@ -96,6 +95,14 @@ import { TreeViewsDnDService } from 'monaco-editor/esm/vs/editor/common/services
|
|
|
96
95
|
import { ITreeViewsDnDService } from 'monaco-editor/esm/vs/editor/common/services/treeViewsDndService.js';
|
|
97
96
|
import { TreeviewsService } from '../vscode/vs/workbench/services/views/common/treeViewsService.js';
|
|
98
97
|
import { ITreeViewsService } from '../vscode/vs/workbench/services/views/browser/treeViewsService.js';
|
|
98
|
+
import { IBreadcrumbsService } from '../vscode/vs/workbench/browser/parts/editor/breadcrumbs.js';
|
|
99
|
+
import { ISemanticSimilarityService } from '../vscode/vs/workbench/services/semanticSimilarity/common/semanticSimilarityService.js';
|
|
100
|
+
import { IInteractiveSessionService } from '../vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionService.js';
|
|
101
|
+
import { IOutlineService } from '../vscode/vs/workbench/services/outline/browser/outline.js';
|
|
102
|
+
import { IUpdateService, State } from '../vscode/vs/platform/update/common/update.js';
|
|
103
|
+
import { IStatusbarService } from '../vscode/vs/workbench/services/statusbar/browser/statusbar.js';
|
|
104
|
+
import { IExtensionGalleryService } from '../vscode/vs/platform/extensionManagement/common/extensionManagement.js';
|
|
105
|
+
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
99
106
|
import { unsupported } from '../tools.js';
|
|
100
107
|
class NullLoggerService extends AbstractLoggerService {
|
|
101
108
|
constructor() {
|
|
@@ -708,7 +715,7 @@ registerSingleton(IHistoryService, class HistoryService {
|
|
|
708
715
|
this.goPrevious = unsupported;
|
|
709
716
|
this.goLast = unsupported;
|
|
710
717
|
this.reopenLastClosedEditor = unsupported;
|
|
711
|
-
this.getHistory =
|
|
718
|
+
this.getHistory = () => [];
|
|
712
719
|
this.removeFromHistory = unsupported;
|
|
713
720
|
this.getLastActiveWorkspaceRoot = () => undefined;
|
|
714
721
|
this.getLastActiveFile = () => undefined;
|
|
@@ -786,7 +793,32 @@ registerSingleton(IRemoteAgentService, class RemoteAgentService {
|
|
|
786
793
|
}
|
|
787
794
|
}, 0 );
|
|
788
795
|
registerSingleton(ICustomEndpointTelemetryService, NullEndpointTelemetryService, 0 );
|
|
789
|
-
|
|
796
|
+
let MonacoSearchService = class MonacoSearchService {
|
|
797
|
+
constructor(modelService) {
|
|
798
|
+
this.modelService = modelService;
|
|
799
|
+
this.registerSearchResultProvider = unsupported;
|
|
800
|
+
}
|
|
801
|
+
async textSearch() {
|
|
802
|
+
return {
|
|
803
|
+
results: [],
|
|
804
|
+
messages: []
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
async fileSearch() {
|
|
808
|
+
return {
|
|
809
|
+
results: ( this.modelService.getModels().map(model => ({
|
|
810
|
+
resource: model.uri
|
|
811
|
+
}))),
|
|
812
|
+
messages: []
|
|
813
|
+
};
|
|
814
|
+
}
|
|
815
|
+
async clearCache() {
|
|
816
|
+
}
|
|
817
|
+
};
|
|
818
|
+
MonacoSearchService = __decorate([
|
|
819
|
+
( __param(0, IModelService))
|
|
820
|
+
], MonacoSearchService);
|
|
821
|
+
registerSingleton(ISearchService, MonacoSearchService, 0 );
|
|
790
822
|
registerSingleton(IEditSessionIdentityService, class EditSessionIdentityService {
|
|
791
823
|
constructor() {
|
|
792
824
|
this.registerEditSessionIdentityProvider = unsupported;
|
|
@@ -1009,3 +1041,85 @@ registerSingleton(ILanguagePackService, class LanguagePackService {
|
|
|
1009
1041
|
}, 1 );
|
|
1010
1042
|
registerSingleton(ITreeViewsDnDService, TreeViewsDnDService, 1 );
|
|
1011
1043
|
registerSingleton(ITreeViewsService, TreeviewsService, 1 );
|
|
1044
|
+
registerSingleton(IBreadcrumbsService, class BreadcrumbsService {
|
|
1045
|
+
constructor() {
|
|
1046
|
+
this.register = unsupported;
|
|
1047
|
+
this.getWidget = () => undefined;
|
|
1048
|
+
}
|
|
1049
|
+
}, 0 );
|
|
1050
|
+
registerSingleton(ISemanticSimilarityService, class SemanticSimilarityService {
|
|
1051
|
+
constructor() {
|
|
1052
|
+
this.isEnabled = () => false;
|
|
1053
|
+
this.getSimilarityScore = unsupported;
|
|
1054
|
+
this.registerSemanticSimilarityProvider = unsupported;
|
|
1055
|
+
}
|
|
1056
|
+
}, 1 );
|
|
1057
|
+
registerSingleton(IInteractiveSessionService, class InteractiveSessionService {
|
|
1058
|
+
constructor() {
|
|
1059
|
+
this.registerProvider = unsupported;
|
|
1060
|
+
this.getProviderInfos = unsupported;
|
|
1061
|
+
this.startSession = unsupported;
|
|
1062
|
+
this.retrieveSession = unsupported;
|
|
1063
|
+
this.sendRequest = unsupported;
|
|
1064
|
+
this.cancelCurrentRequestForSession = unsupported;
|
|
1065
|
+
this.getSlashCommands = unsupported;
|
|
1066
|
+
this.clearSession = unsupported;
|
|
1067
|
+
this.addInteractiveRequest = unsupported;
|
|
1068
|
+
this.addCompleteRequest = unsupported;
|
|
1069
|
+
this.sendInteractiveRequestToProvider = unsupported;
|
|
1070
|
+
this.getHistory = unsupported;
|
|
1071
|
+
this.onDidPerformUserAction = Event.None;
|
|
1072
|
+
this.notifyUserAction = unsupported;
|
|
1073
|
+
}
|
|
1074
|
+
}, 1 );
|
|
1075
|
+
registerSingleton(IOutlineService, class OutlineService {
|
|
1076
|
+
constructor() {
|
|
1077
|
+
this.onDidChange = Event.None;
|
|
1078
|
+
this.canCreateOutline = () => false;
|
|
1079
|
+
this.createOutline = async () => undefined;
|
|
1080
|
+
this.registerOutlineCreator = unsupported;
|
|
1081
|
+
}
|
|
1082
|
+
}, 0 );
|
|
1083
|
+
registerSingleton(IUpdateService, class UpdateService {
|
|
1084
|
+
constructor() {
|
|
1085
|
+
this.onStateChange = Event.None;
|
|
1086
|
+
this.state = State.Uninitialized;
|
|
1087
|
+
this.checkForUpdates = unsupported;
|
|
1088
|
+
this.downloadUpdate = unsupported;
|
|
1089
|
+
this.applyUpdate = unsupported;
|
|
1090
|
+
this.quitAndInstall = unsupported;
|
|
1091
|
+
this.isLatestVersion = unsupported;
|
|
1092
|
+
this._applySpecificUpdate = unsupported;
|
|
1093
|
+
}
|
|
1094
|
+
}, 0 );
|
|
1095
|
+
registerSingleton(IStatusbarService, class StatusbarService {
|
|
1096
|
+
constructor() {
|
|
1097
|
+
this.onDidChangeEntryVisibility = Event.None;
|
|
1098
|
+
this.addEntry = unsupported;
|
|
1099
|
+
this.isEntryVisible = unsupported;
|
|
1100
|
+
this.updateEntryVisibility = unsupported;
|
|
1101
|
+
this.focus = unsupported;
|
|
1102
|
+
this.focusNextEntry = unsupported;
|
|
1103
|
+
this.focusPreviousEntry = unsupported;
|
|
1104
|
+
this.isEntryFocused = unsupported;
|
|
1105
|
+
this.overrideStyle = unsupported;
|
|
1106
|
+
}
|
|
1107
|
+
}, 0 );
|
|
1108
|
+
registerSingleton(IExtensionGalleryService, class ExtensionGalleryService {
|
|
1109
|
+
constructor() {
|
|
1110
|
+
this.isEnabled = () => false;
|
|
1111
|
+
this.query = unsupported;
|
|
1112
|
+
this.getExtensions = unsupported;
|
|
1113
|
+
this.isExtensionCompatible = unsupported;
|
|
1114
|
+
this.getCompatibleExtension = unsupported;
|
|
1115
|
+
this.getAllCompatibleVersions = unsupported;
|
|
1116
|
+
this.download = unsupported;
|
|
1117
|
+
this.downloadSignatureArchive = unsupported;
|
|
1118
|
+
this.reportStatistic = unsupported;
|
|
1119
|
+
this.getReadme = unsupported;
|
|
1120
|
+
this.getManifest = unsupported;
|
|
1121
|
+
this.getChangelog = unsupported;
|
|
1122
|
+
this.getCoreTranslation = unsupported;
|
|
1123
|
+
this.getExtensionsControlManifest = unsupported;
|
|
1124
|
+
}
|
|
1125
|
+
}, 0 );
|
|
@@ -95,8 +95,27 @@ function create(getExtension, workspace) {
|
|
|
95
95
|
showOpenDialog: unsupported,
|
|
96
96
|
showSaveDialog: unsupported,
|
|
97
97
|
createWebviewPanel: unsupported,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
createStatusBarItem(alignmentOrId, priorityOrAlignment, priorityArg) {
|
|
99
|
+
const { extHostStatusBar } = getExtHostServices();
|
|
100
|
+
const extension = getExtension();
|
|
101
|
+
let id;
|
|
102
|
+
let alignment;
|
|
103
|
+
let priority;
|
|
104
|
+
if (typeof alignmentOrId === 'string') {
|
|
105
|
+
id = alignmentOrId;
|
|
106
|
+
alignment = priorityOrAlignment;
|
|
107
|
+
priority = priorityArg;
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
alignment = alignmentOrId;
|
|
111
|
+
priority = priorityOrAlignment;
|
|
112
|
+
}
|
|
113
|
+
return extHostStatusBar.createStatusBarEntry(extension, id, alignment, priority);
|
|
114
|
+
},
|
|
115
|
+
setStatusBarMessage(text, timeoutOrThenable) {
|
|
116
|
+
const { extHostStatusBar } = getExtHostServices();
|
|
117
|
+
return extHostStatusBar.setStatusBarMessage(text, timeoutOrThenable);
|
|
118
|
+
},
|
|
100
119
|
createTerminal: unsupported,
|
|
101
120
|
registerTreeDataProvider(viewId, treeDataProvider) {
|
|
102
121
|
const { extHostTreeViews } = getExtHostServices();
|
|
@@ -158,7 +158,8 @@ function create(getExtension) {
|
|
|
158
158
|
return extHostWorkspace.name;
|
|
159
159
|
},
|
|
160
160
|
onDidChangeNotebookDocument: unsupported,
|
|
161
|
-
onDidSaveNotebookDocument: unsupported
|
|
161
|
+
onDidSaveNotebookDocument: unsupported,
|
|
162
|
+
onWillSaveNotebookDocument: unsupported
|
|
162
163
|
};
|
|
163
164
|
}
|
|
164
165
|
export { create as default };
|
|
@@ -17,4 +17,4 @@ interface IThemeExtensionPoint {
|
|
|
17
17
|
_watch: boolean;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { IThemeExtensionPoint as I, IThemeScopedColorCustomizations as a, IColorCustomizations as b };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TextMateTokenizationWorker } from '../vscode/vs/workbench/services/textMate/browser/worker/textMate.worker.js';
|
|
2
|
+
import { initialize } from 'monaco-editor/esm/vs/editor/editor.worker.js';
|
|
3
|
+
initialize((ctx, createData) => new TextMateTokenizationWorker(ctx, createData));
|
package/dist/workspace.d.ts
CHANGED
|
@@ -138,4 +138,4 @@ interface IWorkspaceFolder extends IWorkspaceFolderData {
|
|
|
138
138
|
toResource: (relativePath: string) => URI;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { IAnyWorkspaceIdentifier as I, IWorkspaceFolder as a, IWorkspaceContextService as b };
|