@theia/plugin-ext 1.68.0-next.8 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/arrays.js +5 -6
- package/lib/common/arrays.js.map +1 -1
- package/lib/common/assert.js +1 -2
- package/lib/common/assert.js.map +1 -1
- package/lib/common/cache.js +1 -1
- package/lib/common/cache.js.map +1 -1
- package/lib/common/collections.js +2 -3
- package/lib/common/collections.js.map +1 -1
- package/lib/common/disposable-util.js +1 -2
- package/lib/common/disposable-util.js.map +1 -1
- package/lib/common/editor-options.js +2 -2
- package/lib/common/editor-options.js.map +1 -1
- package/lib/common/errors.d.ts.map +1 -1
- package/lib/common/errors.js +4 -5
- package/lib/common/errors.js.map +1 -1
- package/lib/common/lm-protocol.d.ts.map +1 -1
- package/lib/common/objects.js +1 -2
- package/lib/common/objects.js.map +1 -1
- package/lib/common/paths-util.js +3 -4
- package/lib/common/paths-util.js.map +1 -1
- package/lib/common/plugin-api-rpc-model.d.ts +14 -0
- package/lib/common/plugin-api-rpc-model.d.ts.map +1 -1
- package/lib/common/plugin-api-rpc-model.js +9 -4
- package/lib/common/plugin-api-rpc-model.js.map +1 -1
- package/lib/common/plugin-api-rpc.d.ts +19 -3
- package/lib/common/plugin-api-rpc.d.ts.map +1 -1
- package/lib/common/plugin-api-rpc.js.map +1 -1
- package/lib/common/plugin-protocol.d.ts +0 -1
- package/lib/common/plugin-protocol.d.ts.map +1 -1
- package/lib/common/plugin-protocol.js +3 -3
- package/lib/common/plugin-protocol.js.map +1 -1
- package/lib/common/rpc-protocol.js +3 -3
- package/lib/common/rpc-protocol.js.map +1 -1
- package/lib/common/semantic-tokens-dto.js +2 -3
- package/lib/common/semantic-tokens-dto.js.map +1 -1
- package/lib/common/types.js +8 -8
- package/lib/common/types.js.map +1 -1
- package/lib/common/uint.js +1 -2
- package/lib/common/uint.js.map +1 -1
- package/lib/hosted/browser/hosted-plugin.d.ts.map +1 -1
- package/lib/hosted/browser/hosted-plugin.js +27 -28
- package/lib/hosted/browser/hosted-plugin.js.map +1 -1
- package/lib/hosted/browser/worker/debug-stub.js +1 -2
- package/lib/hosted/browser/worker/debug-stub.js.map +1 -1
- package/lib/hosted/browser/worker/plugin-manifest-loader.js +2 -4
- package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +1 -1
- package/lib/hosted/common/hosted-plugin.d.ts +0 -1
- package/lib/hosted/common/hosted-plugin.d.ts.map +1 -1
- package/lib/hosted/common/hosted-plugin.js +6 -7
- package/lib/hosted/common/hosted-plugin.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts +0 -1
- package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts.map +1 -1
- package/lib/hosted/node/hosted-plugin-cli-contribution.js +5 -4
- package/lib/hosted/node/hosted-plugin-cli-contribution.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-localization-service.js +10 -15
- package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-process.js +1 -1
- package/lib/hosted/node/hosted-plugin-process.js.map +1 -1
- package/lib/hosted/node/plugin-activation-events.js +1 -2
- package/lib/hosted/node/plugin-activation-events.js.map +1 -1
- package/lib/hosted/node/plugin-deployer-handler-impl.js +5 -8
- package/lib/hosted/node/plugin-deployer-handler-impl.js.map +1 -1
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js +2 -3
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js.map +1 -1
- package/lib/hosted/node/plugin-host-logger.js +1 -2
- package/lib/hosted/node/plugin-host-logger.js.map +1 -1
- package/lib/hosted/node/plugin-host-module.js +1 -2
- package/lib/hosted/node/plugin-host-module.js.map +1 -1
- package/lib/hosted/node/plugin-host-proxy.js +3 -4
- package/lib/hosted/node/plugin-host-proxy.js.map +1 -1
- package/lib/hosted/node/plugin-host.js +1 -1
- package/lib/hosted/node/plugin-host.js.map +1 -1
- package/lib/hosted/node/plugin-language-pack-service.js +2 -4
- package/lib/hosted/node/plugin-language-pack-service.js.map +1 -1
- package/lib/hosted/node/plugin-manifest-loader.js +2 -4
- package/lib/hosted/node/plugin-manifest-loader.js.map +1 -1
- package/lib/hosted/node/plugin-reader.d.ts +0 -1
- package/lib/hosted/node/plugin-reader.d.ts.map +1 -1
- package/lib/hosted/node/plugin-require-override.js +1 -2
- package/lib/hosted/node/plugin-require-override.js.map +1 -1
- package/lib/hosted/node/plugin-service.js +3 -5
- package/lib/hosted/node/plugin-service.js.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.js +6 -12
- package/lib/hosted/node/scanners/scanner-theia.js.map +1 -1
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js +1 -2
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js.map +1 -1
- package/lib/main/browser/authentication-main.js +6 -7
- package/lib/main/browser/authentication-main.js.map +1 -1
- package/lib/main/browser/commands.js +3 -3
- package/lib/main/browser/commands.js.map +1 -1
- package/lib/main/browser/comments/comment-thread-widget.d.ts +0 -1
- package/lib/main/browser/comments/comment-thread-widget.d.ts.map +1 -1
- package/lib/main/browser/comments/comment-thread-widget.js +14 -22
- package/lib/main/browser/comments/comment-thread-widget.js.map +1 -1
- package/lib/main/browser/comments/comments-contribution.js +1 -2
- package/lib/main/browser/comments/comments-contribution.js.map +1 -1
- package/lib/main/browser/comments/comments-main.js +2 -2
- package/lib/main/browser/comments/comments-main.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-opener.js +8 -9
- package/lib/main/browser/custom-editors/custom-editor-opener.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-service.js +3 -3
- package/lib/main/browser/custom-editors/custom-editor-service.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-widget.js +6 -7
- package/lib/main/browser/custom-editors/custom-editor-widget.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editors-main.js +1 -2
- package/lib/main/browser/custom-editors/custom-editors-main.js.map +1 -1
- package/lib/main/browser/debug/debug-main.js +1 -2
- package/lib/main/browser/debug/debug-main.js.map +1 -1
- package/lib/main/browser/debug/plugin-debug-service.d.ts +0 -1
- package/lib/main/browser/debug/plugin-debug-service.d.ts.map +1 -1
- package/lib/main/browser/decorations/decorations-main.js +2 -2
- package/lib/main/browser/decorations/decorations-main.js.map +1 -1
- package/lib/main/browser/dialogs-main.js +1 -2
- package/lib/main/browser/dialogs-main.js.map +1 -1
- package/lib/main/browser/documents-main.js +6 -7
- package/lib/main/browser/documents-main.js.map +1 -1
- package/lib/main/browser/editors-and-documents-main.js +3 -4
- package/lib/main/browser/editors-and-documents-main.js.map +1 -1
- package/lib/main/browser/env-main.js +2 -2
- package/lib/main/browser/env-main.js.map +1 -1
- package/lib/main/browser/file-system-main-impl.js +1 -1
- package/lib/main/browser/file-system-main-impl.js.map +1 -1
- package/lib/main/browser/hierarchy/hierarchy-types-converters.js +15 -15
- package/lib/main/browser/hierarchy/hierarchy-types-converters.js.map +1 -1
- package/lib/main/browser/languages-main.d.ts +2 -2
- package/lib/main/browser/languages-main.d.ts.map +1 -1
- package/lib/main/browser/languages-main.js +16 -11
- package/lib/main/browser/languages-main.js.map +1 -1
- package/lib/main/browser/localization-main.js +1 -2
- package/lib/main/browser/localization-main.js.map +1 -1
- package/lib/main/browser/main-context.js +1 -2
- package/lib/main/browser/main-context.js.map +1 -1
- package/lib/main/browser/main-file-system-event-service.js +2 -2
- package/lib/main/browser/main-file-system-event-service.js.map +1 -1
- package/lib/main/browser/menus/menus-contribution-handler.js +2 -3
- package/lib/main/browser/menus/menus-contribution-handler.js.map +1 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.js +2 -4
- package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js +8 -9
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-documents-main.js +1 -2
- package/lib/main/browser/notebooks/notebook-documents-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-editors-main.js +2 -3
- package/lib/main/browser/notebooks/notebook-editors-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-kernels-main.js +8 -11
- package/lib/main/browser/notebooks/notebook-kernels-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebooks-main.js +5 -8
- package/lib/main/browser/notebooks/notebooks-main.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +0 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +1 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js +7 -10
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js +15 -23
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +1 -1
- package/lib/main/browser/plugin-authentication-service.js +2 -2
- package/lib/main/browser/plugin-authentication-service.js.map +1 -1
- package/lib/main/browser/plugin-contribution-handler.js +6 -9
- package/lib/main/browser/plugin-contribution-handler.js.map +1 -1
- package/lib/main/browser/plugin-ext-widget.d.ts +0 -1
- package/lib/main/browser/plugin-ext-widget.d.ts.map +1 -1
- package/lib/main/browser/plugin-frontend-contribution.js +7 -6
- package/lib/main/browser/plugin-frontend-contribution.js.map +1 -1
- package/lib/main/browser/plugin-frontend-view-contribution.js +3 -2
- package/lib/main/browser/plugin-frontend-view-contribution.js.map +1 -1
- package/lib/main/browser/plugin-icon-theme-service.d.ts +0 -1
- package/lib/main/browser/plugin-icon-theme-service.d.ts.map +1 -1
- package/lib/main/browser/plugin-icon-theme-service.js +1 -2
- package/lib/main/browser/plugin-icon-theme-service.js.map +1 -1
- package/lib/main/browser/plugin-shared-style.js +2 -3
- package/lib/main/browser/plugin-shared-style.js.map +1 -1
- package/lib/main/browser/plugin-storage.js +1 -2
- package/lib/main/browser/plugin-storage.js.map +1 -1
- package/lib/main/browser/preference-registry-main.d.ts.map +1 -1
- package/lib/main/browser/preference-registry-main.js +5 -4
- package/lib/main/browser/preference-registry-main.js.map +1 -1
- package/lib/main/browser/quick-open-main.js +3 -5
- package/lib/main/browser/quick-open-main.js.map +1 -1
- package/lib/main/browser/scm-main.d.ts +8 -2
- package/lib/main/browser/scm-main.d.ts.map +1 -1
- package/lib/main/browser/scm-main.js +33 -1
- package/lib/main/browser/scm-main.js.map +1 -1
- package/lib/main/browser/tabs/tabs-main.js +8 -15
- package/lib/main/browser/tabs/tabs-main.js.map +1 -1
- package/lib/main/browser/tasks-main.js +1 -1
- package/lib/main/browser/tasks-main.js.map +1 -1
- package/lib/main/browser/terminal-main.js +4 -7
- package/lib/main/browser/terminal-main.js.map +1 -1
- package/lib/main/browser/test-main.js +5 -9
- package/lib/main/browser/test-main.js.map +1 -1
- package/lib/main/browser/text-editor-main.js +2 -4
- package/lib/main/browser/text-editor-main.js.map +1 -1
- package/lib/main/browser/text-editors-main.js +3 -3
- package/lib/main/browser/text-editors-main.js.map +1 -1
- package/lib/main/browser/uri-main.js +2 -4
- package/lib/main/browser/uri-main.js.map +1 -1
- package/lib/main/browser/view/dnd-file-content-store.js +3 -2
- package/lib/main/browser/view/dnd-file-content-store.js.map +1 -1
- package/lib/main/browser/view/plugin-view-registry.js +33 -38
- package/lib/main/browser/view/plugin-view-registry.js.map +1 -1
- package/lib/main/browser/view/tree-view-decorator-service.js +2 -2
- package/lib/main/browser/view/tree-view-decorator-service.js.map +1 -1
- package/lib/main/browser/view/tree-view-widget.d.ts +0 -1
- package/lib/main/browser/view/tree-view-widget.d.ts.map +1 -1
- package/lib/main/browser/view/tree-view-widget.js +11 -16
- package/lib/main/browser/view/tree-view-widget.js.map +1 -1
- package/lib/main/browser/view/tree-views-main.js +4 -7
- package/lib/main/browser/view/tree-views-main.js.map +1 -1
- package/lib/main/browser/webview/webview-environment.js +1 -1
- package/lib/main/browser/webview/webview-environment.js.map +1 -1
- package/lib/main/browser/webview/webview-resource-cache.js +1 -1
- package/lib/main/browser/webview/webview-resource-cache.js.map +1 -1
- package/lib/main/browser/webview/webview.d.ts +4 -4
- package/lib/main/browser/webview/webview.d.ts.map +1 -1
- package/lib/main/browser/webview/webview.js +17 -12
- package/lib/main/browser/webview/webview.js.map +1 -1
- package/lib/main/browser/webviews-main.d.ts +2 -3
- package/lib/main/browser/webviews-main.d.ts.map +1 -1
- package/lib/main/browser/webviews-main.js +1 -2
- package/lib/main/browser/webviews-main.js.map +1 -1
- package/lib/main/browser/workspace-main.d.ts.map +1 -1
- package/lib/main/browser/workspace-main.js +10 -8
- package/lib/main/browser/workspace-main.js.map +1 -1
- package/lib/main/common/webview-preferences.js +3 -3
- package/lib/main/common/webview-preferences.js.map +1 -1
- package/lib/main/node/handlers/plugin-theia-directory-handler.js +2 -4
- package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +1 -1
- package/lib/main/node/plugin-cli-contribution.d.ts +0 -1
- package/lib/main/node/plugin-cli-contribution.d.ts.map +1 -1
- package/lib/main/node/plugin-cli-contribution.js +10 -9
- package/lib/main/node/plugin-cli-contribution.js.map +1 -1
- package/lib/main/node/plugin-deployer-impl.js +4 -6
- package/lib/main/node/plugin-deployer-impl.js.map +1 -1
- package/lib/main/node/plugin-ext-backend-module.js +1 -2
- package/lib/main/node/plugin-ext-backend-module.js.map +1 -1
- package/lib/main/node/plugin-github-resolver.js +4 -3
- package/lib/main/node/plugin-github-resolver.js.map +1 -1
- package/lib/main/node/plugin-mgmt-cli-contribution.d.ts +0 -1
- package/lib/main/node/plugin-mgmt-cli-contribution.d.ts.map +1 -1
- package/lib/main/node/plugin-mgmt-cli-contribution.js +5 -4
- package/lib/main/node/plugin-mgmt-cli-contribution.js.map +1 -1
- package/lib/main/node/plugin-remote-copy-contribution.js +1 -2
- package/lib/main/node/plugin-remote-copy-contribution.js.map +1 -1
- package/lib/main/node/plugin-server-impl.js +1 -1
- package/lib/main/node/plugin-server-impl.js.map +1 -1
- package/lib/main/node/plugin-service.d.ts +0 -2
- package/lib/main/node/plugin-service.d.ts.map +1 -1
- package/lib/main/node/plugin-uninstallation-manager.js +3 -2
- package/lib/main/node/plugin-uninstallation-manager.js.map +1 -1
- package/lib/main/node/plugins-key-value-storage.js +4 -8
- package/lib/main/node/plugins-key-value-storage.js.map +1 -1
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js +3 -2
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js.map +1 -1
- package/lib/main/node/temp-dir-util.js +2 -3
- package/lib/main/node/temp-dir-util.js.map +1 -1
- package/lib/plugin/authentication-ext.js +1 -1
- package/lib/plugin/authentication-ext.js.map +1 -1
- package/lib/plugin/command-registry.js +1 -2
- package/lib/plugin/command-registry.js.map +1 -1
- package/lib/plugin/comments.js +2 -3
- package/lib/plugin/comments.js.map +1 -1
- package/lib/plugin/custom-editors.js +1 -1
- package/lib/plugin/custom-editors.js.map +1 -1
- package/lib/plugin/debug/debug-ext.js +8 -14
- package/lib/plugin/debug/debug-ext.js.map +1 -1
- package/lib/plugin/decorations.js +3 -3
- package/lib/plugin/decorations.js.map +1 -1
- package/lib/plugin/document-data.js +4 -4
- package/lib/plugin/document-data.js.map +1 -1
- package/lib/plugin/documents.js +3 -3
- package/lib/plugin/documents.js.map +1 -1
- package/lib/plugin/file-system-event-service-ext-impl.js +2 -3
- package/lib/plugin/file-system-event-service-ext-impl.js.map +1 -1
- package/lib/plugin/file-system-watcher.spec.js +6 -8
- package/lib/plugin/file-system-watcher.spec.js.map +1 -1
- package/lib/plugin/languages/call-hierarchy.js +1 -2
- package/lib/plugin/languages/call-hierarchy.js.map +1 -1
- package/lib/plugin/languages/code-action.js +1 -1
- package/lib/plugin/languages/code-action.js.map +1 -1
- package/lib/plugin/languages/completion.js +4 -6
- package/lib/plugin/languages/completion.js.map +1 -1
- package/lib/plugin/languages/diagnostics.js +5 -5
- package/lib/plugin/languages/diagnostics.js.map +1 -1
- package/lib/plugin/languages/hover.d.ts +9 -3
- package/lib/plugin/languages/hover.d.ts.map +1 -1
- package/lib/plugin/languages/hover.js +42 -13
- package/lib/plugin/languages/hover.js.map +1 -1
- package/lib/plugin/languages/inlay-hints.js +1 -2
- package/lib/plugin/languages/inlay-hints.js.map +1 -1
- package/lib/plugin/languages/inline-completion.js +2 -2
- package/lib/plugin/languages/inline-completion.js.map +1 -1
- package/lib/plugin/languages/lens.js +1 -1
- package/lib/plugin/languages/lens.js.map +1 -1
- package/lib/plugin/languages/signature.js +2 -4
- package/lib/plugin/languages/signature.js.map +1 -1
- package/lib/plugin/languages/type-hierarchy.js +1 -2
- package/lib/plugin/languages/type-hierarchy.js.map +1 -1
- package/lib/plugin/languages/util.js +2 -3
- package/lib/plugin/languages/util.js.map +1 -1
- package/lib/plugin/languages-utils.js +4 -5
- package/lib/plugin/languages-utils.js.map +1 -1
- package/lib/plugin/languages.d.ts +6 -3
- package/lib/plugin/languages.d.ts.map +1 -1
- package/lib/plugin/languages.js +13 -12
- package/lib/plugin/languages.js.map +1 -1
- package/lib/plugin/localization-ext.js +6 -10
- package/lib/plugin/localization-ext.js.map +1 -1
- package/lib/plugin/logger.js +1 -2
- package/lib/plugin/logger.js.map +1 -1
- package/lib/plugin/markdown-string.js +15 -17
- package/lib/plugin/markdown-string.js.map +1 -1
- package/lib/plugin/notebook/notebook-document.js +5 -8
- package/lib/plugin/notebook/notebook-document.js.map +1 -1
- package/lib/plugin/notebook/notebook-editor.js +1 -1
- package/lib/plugin/notebook/notebook-editor.js.map +1 -1
- package/lib/plugin/notebook/notebook-kernels.js +15 -21
- package/lib/plugin/notebook/notebook-kernels.js.map +1 -1
- package/lib/plugin/notebook/notebook-renderers.js +3 -4
- package/lib/plugin/notebook/notebook-renderers.js.map +1 -1
- package/lib/plugin/notebook/notebooks.js +14 -18
- package/lib/plugin/notebook/notebooks.js.map +1 -1
- package/lib/plugin/path.js +2 -3
- package/lib/plugin/path.js.map +1 -1
- package/lib/plugin/plugin-context.d.ts.map +1 -1
- package/lib/plugin/plugin-context.js +20 -20
- package/lib/plugin/plugin-context.js.map +1 -1
- package/lib/plugin/plugin-manager.d.ts.map +1 -1
- package/lib/plugin/plugin-manager.js +1 -2
- package/lib/plugin/plugin-manager.js.map +1 -1
- package/lib/plugin/preference-registry.js +11 -15
- package/lib/plugin/preference-registry.js.map +1 -1
- package/lib/plugin/preference-registry.spec.js +2 -2
- package/lib/plugin/preference-registry.spec.js.map +1 -1
- package/lib/plugin/prefix-sum-computer.js +2 -2
- package/lib/plugin/prefix-sum-computer.js.map +1 -1
- package/lib/plugin/quick-open.d.ts +3 -3
- package/lib/plugin/quick-open.d.ts.map +1 -1
- package/lib/plugin/quick-open.js +23 -29
- package/lib/plugin/quick-open.js.map +1 -1
- package/lib/plugin/scm.d.ts.map +1 -1
- package/lib/plugin/scm.js +35 -10
- package/lib/plugin/scm.js.map +1 -1
- package/lib/plugin/status-bar/status-bar-item.d.ts.map +1 -1
- package/lib/plugin/status-bar/status-bar-item.js +13 -12
- package/lib/plugin/status-bar/status-bar-item.js.map +1 -1
- package/lib/plugin/status-bar-message-registry.js +1 -2
- package/lib/plugin/status-bar-message-registry.js.map +1 -1
- package/lib/plugin/tabs.js +3 -6
- package/lib/plugin/tabs.js.map +1 -1
- package/lib/plugin/tasks/task-provider.js +1 -1
- package/lib/plugin/tasks/task-provider.js.map +1 -1
- package/lib/plugin/tasks/tasks.js +1 -2
- package/lib/plugin/tasks/tasks.js.map +1 -1
- package/lib/plugin/telemetry-ext.js +6 -9
- package/lib/plugin/telemetry-ext.js.map +1 -1
- package/lib/plugin/terminal-ext.js +11 -12
- package/lib/plugin/terminal-ext.js.map +1 -1
- package/lib/plugin/test-item.js +1 -2
- package/lib/plugin/test-item.js.map +1 -1
- package/lib/plugin/tests.js +9 -15
- package/lib/plugin/tests.js.map +1 -1
- package/lib/plugin/text-editors.js +2 -2
- package/lib/plugin/text-editors.js.map +1 -1
- package/lib/plugin/timeline.js +8 -10
- package/lib/plugin/timeline.js.map +1 -1
- package/lib/plugin/tree/tree-views.js +19 -28
- package/lib/plugin/tree/tree-views.js.map +1 -1
- package/lib/plugin/type-converters.d.ts +1 -1
- package/lib/plugin/type-converters.d.ts.map +1 -1
- package/lib/plugin/type-converters.js +109 -115
- package/lib/plugin/type-converters.js.map +1 -1
- package/lib/plugin/types-impl.d.ts +11 -2
- package/lib/plugin/types-impl.d.ts.map +1 -1
- package/lib/plugin/types-impl.js +70 -51
- package/lib/plugin/types-impl.js.map +1 -1
- package/lib/plugin/webview-views.js +1 -1
- package/lib/plugin/webview-views.js.map +1 -1
- package/lib/plugin/webviews.d.ts +2 -8
- package/lib/plugin/webviews.d.ts.map +1 -1
- package/lib/plugin/webviews.js +9 -7
- package/lib/plugin/webviews.js.map +1 -1
- package/lib/plugin/word-helper.js +3 -3
- package/lib/plugin/word-helper.js.map +1 -1
- package/lib/plugin/workspace.d.ts +2 -0
- package/lib/plugin/workspace.d.ts.map +1 -1
- package/lib/plugin/workspace.js +12 -4
- package/lib/plugin/workspace.js.map +1 -1
- package/lib/plugin/workspace.spec.d.ts +2 -0
- package/lib/plugin/workspace.spec.d.ts.map +1 -0
- package/lib/plugin/workspace.spec.js +127 -0
- package/lib/plugin/workspace.spec.js.map +1 -0
- package/package.json +30 -30
- package/src/common/plugin-api-rpc-model.ts +18 -0
- package/src/common/plugin-api-rpc.ts +21 -3
- package/src/main/browser/languages-main.ts +12 -4
- package/src/main/browser/notebooks/renderers/output-webview-internal.ts +1 -1
- package/src/main/browser/preference-registry-main.ts +2 -1
- package/src/main/browser/scm-main.ts +46 -2
- package/src/main/browser/webview/webview-resource-cache.ts +1 -1
- package/src/main/browser/webview/webview.ts +10 -7
- package/src/main/browser/webviews-main.ts +2 -2
- package/src/main/browser/workspace-main.ts +7 -0
- package/src/plugin/languages/hover.ts +53 -15
- package/src/plugin/languages.ts +10 -4
- package/src/plugin/plugin-context.ts +7 -0
- package/src/plugin/quick-open.ts +11 -10
- package/src/plugin/scm.ts +37 -1
- package/src/plugin/status-bar/status-bar-item.ts +4 -1
- package/src/plugin/type-converters.ts +10 -5
- package/src/plugin/types-impl.ts +23 -0
- package/src/plugin/webviews.ts +9 -5
- package/src/plugin/workspace.spec.ts +154 -0
- package/src/plugin/workspace.ts +12 -2
package/lib/plugin/types-impl.js
CHANGED
|
@@ -19,14 +19,13 @@
|
|
|
19
19
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
20
20
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
21
21
|
*--------------------------------------------------------------------------------------------*/
|
|
22
|
-
var _a, _NotebookCellOutputItem_encoder;
|
|
23
22
|
var URI_1, Disposable_1, Position_1, Range_1, SnippetString_1, ThemeIcon_1, TextEdit_1, Location_1, NotebookEdit_1, DocumentDropOrPasteEditKind_1, CodeActionKind_1, SymbolInformation_1, DocumentSymbol_1, FileSystemError_1, TaskGroup_1, CallHierarchyItem_1, TypeHierarchyItem_1, TestMessage_1, FileCoverage_1, SemanticTokensBuilder_1;
|
|
24
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
24
|
exports.NotebookEditorRevealType = exports.NotebookControllerAffinity = exports.NotebookCellStatusBarAlignment = exports.NotebookCellKind = exports.MarkerTag = exports.MarkerSeverity = exports.Diagnostic = exports.CompletionItemTag = exports.DiagnosticTag = exports.DiagnosticRelatedInformation = exports.Location = exports.DebugConsoleMode = exports.DiagnosticSeverity = exports.InlineCompletionList = exports.InlineCompletionItem = exports.InlineCompletionTriggerKind = exports.CompletionList = exports.CompletionItem = exports.CompletionItemKind = exports.CompletionTriggerKind = exports.TextEdit = exports.SyntaxTokenType = exports.IndentAction = exports.RelativePattern = exports.ConfigurationTarget = exports.OverviewRulerLane = exports.DecorationRangeBehavior = exports.TextEditorRevealType = exports.ThemeIcon = exports.ThemeColor = exports.SnippetString = exports.EnvironmentVariableMutatorType = exports.EndOfLine = exports.TextDocumentShowOptions = exports.Selection = exports.Range = exports.Position = exports.TextDocumentChangeReason = exports.TextEditorSelectionChangeKind = exports.ColorTheme = exports.ExternalUriOpenerPriority = exports.SourceControlInputBoxValidationType = exports.ExtensionKind = exports.ExtensionMode = exports.ColorThemeKind = exports.ViewColumn = exports.TextEditorLineNumbersStyle = exports.StatusBarAlignment = exports.Disposable = exports.URI = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.TextEditorChangeKind = exports.McpHttpServerDefinition = exports.McpStdioServerDefinition = exports.TerminalShellExecutionCommandLineConfidence = exports.DebugVisualization = exports.PortAttributes = exports.PortAutoForwardAction = exports.LanguageModelDataPart = exports.LanguageModelPromptTsxPart = exports.LanguageModelToolResult = exports.LanguageModelTextPart = exports.LanguageModelToolResultPart = void 0;
|
|
25
|
+
exports.TerminalOutputAnchor = exports.TerminalLocation = exports.TerminalLink = exports.QuickInputButtons = exports.CommentThreadCollapsibleState = exports.CommentThreadState = exports.DocumentSymbol = exports.SymbolInformation = exports.SymbolTag = exports.TreeItemCheckboxState = exports.TreeItemCollapsibleState = exports.TreeItem = exports.DataTransfer = exports.DataTransferItem = exports.WorkspaceEdit = exports.CodeAction = exports.TextDocumentSaveReason = exports.CodeActionKind = exports.CodeActionTriggerKind = exports.CodeActionTrigger = exports.CodeLens = exports.DocumentDropEdit = exports.DocumentDropOrPasteEditKind = exports.DocumentLink = exports.MultiDocumentHighlight = exports.DocumentHighlight = exports.DocumentHighlightKind = exports.InlineValueEvaluatableExpression = exports.InlineValueVariableLookup = exports.InlineValueText = exports.InlineValueContext = exports.EvaluatableExpression = exports.HoverVerbosityAction = exports.VerboseHover = exports.Hover = exports.SignatureHelp = exports.SignatureHelpTriggerKind = exports.SignatureInformation = exports.ParameterInformation = exports.NotebookRendererScript = exports.NotebookEdit = exports.SnippetTextEdit = exports.NotebookRange = exports.NotebookData = exports.NotebookCellStatusBarItem = exports.NotebookCellOutputItem = exports.NotebookCellOutput = exports.NotebookCellData = exports.NotebookKernelSourceAction = exports.NotebookCellExecutionState = void 0;
|
|
26
|
+
exports.LinkedEditingRanges = exports.LanguageStatusSeverity = exports.TypeHierarchyItem = exports.CallHierarchyOutgoingCall = exports.CallHierarchyIncomingCall = exports.CallHierarchyItem = exports.UIKind = exports.WebviewPanelTargetArea = exports.OperatingSystem = exports.SelectionRange = exports.FoldingRangeKind = exports.FoldingRange = exports.InlayHintKind = exports.InlayHint = exports.InlayHintLabelPart = exports.ColorFormat = exports.ColorPresentation = exports.ColorInformation = exports.Color = exports.DebugStackFrame = exports.DebugThread = exports.FunctionBreakpoint = exports.SourceBreakpoint = exports.Breakpoint = exports.LogLevel = exports.DebugAdapterInlineImplementation = exports.DebugAdapterNamedPipeServer = exports.DebugAdapterServer = exports.DebugAdapterExecutable = exports.Task2 = exports.Task = exports.TaskScope = exports.TaskGroup = exports.CustomExecution = exports.ShellExecution = exports.TaskRevealKind = exports.TaskPanelKind = exports.ShellQuoting = exports.QuickPickItemKind = exports.ProcessExecution = exports.ProgressLocation = exports.Progress = exports.ProgressOptions = exports.FileType = exports.FileSystemError = exports.FileChangeType = exports.CommentMode = exports.FileDecoration = exports.TerminalExitReason = exports.TerminalProfile = void 0;
|
|
27
|
+
exports.LanguageModelError = exports.LanguageModelChatMessage = exports.LanguageModelChatMessageRole = exports.ChatResultFeedbackKind = exports.ChatResponseFileTreePart = exports.ChatResponseMarkdownPart = exports.ChatResponseCommandButtonPart = exports.ChatResponseReferencePart = exports.ChatResponseProgressPart = exports.ChatResponseAnchorPart = exports.ChatResponseTurn = exports.ChatRequestTurn = exports.TerminalQuickFixOpener = exports.TerminalQuickFixTerminalCommand = exports.TerminalCompletionItemKind = exports.TerminalCompletionItem = exports.TerminalCompletionList = exports.EditSessionIdentityMatch = exports.DocumentPasteTriggerKind = exports.DocumentPasteEdit = exports.DocumentPasteEditKind = exports.InteractiveWindowInput = exports.TerminalEditorTabInput = exports.NotebookDiffEditorTabInput = exports.NotebookEditorTabInput = exports.TelemetryLogger = exports.TelemetryTrustedValue = exports.WebviewEditorTabInput = exports.CustomEditorTabInput = exports.TextMergeTabInput = exports.TextDiffTabInput = exports.TextTabInput = exports.InputBoxValidationSeverity = exports.SemanticTokensEdits = exports.SemanticTokensEdit = exports.SemanticTokens = exports.SemanticTokensBuilder = exports.SemanticTokensLegend = exports.TimelineItem = exports.DeclarationCoverage = exports.BranchCoverage = exports.StatementCoverage = exports.FileCoverage = exports.TestMessageStackFrame = exports.TestCoverageCount = exports.TestMessage = exports.TestRunRequest = exports.TestTag = exports.TestRunProfileKind = exports.TestResultState = void 0;
|
|
28
|
+
exports.TextEditorChangeKind = exports.McpHttpServerDefinition = exports.McpStdioServerDefinition = exports.TerminalShellExecutionCommandLineConfidence = exports.DebugVisualization = exports.PortAttributes = exports.PortAutoForwardAction = exports.LanguageModelDataPart = exports.LanguageModelPromptTsxPart = exports.LanguageModelToolResult = exports.LanguageModelTextPart = exports.LanguageModelToolResultPart = exports.LanguageModelToolCallPart = exports.LanguageModelChatToolMode = void 0;
|
|
30
29
|
const tslib_1 = require("tslib");
|
|
31
30
|
/* eslint-disable no-null/no-null */
|
|
32
31
|
const coreutils_1 = require("@theia/core/shared/@lumino/coreutils");
|
|
@@ -92,7 +91,8 @@ exports.URI = URI = URI_1 = tslib_1.__decorate([
|
|
|
92
91
|
types_1.es5ClassCompat,
|
|
93
92
|
tslib_1.__metadata("design:paramtypes", [Object, String, String, String, String, Boolean])
|
|
94
93
|
], URI);
|
|
95
|
-
let Disposable =
|
|
94
|
+
let Disposable = class Disposable {
|
|
95
|
+
static { Disposable_1 = this; }
|
|
96
96
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
97
97
|
static from(...disposables) {
|
|
98
98
|
return new Disposable_1(() => {
|
|
@@ -658,15 +658,16 @@ exports.ThemeColor = ThemeColor = tslib_1.__decorate([
|
|
|
658
658
|
types_1.es5ClassCompat,
|
|
659
659
|
tslib_1.__metadata("design:paramtypes", [String])
|
|
660
660
|
], ThemeColor);
|
|
661
|
-
let ThemeIcon =
|
|
661
|
+
let ThemeIcon = class ThemeIcon {
|
|
662
|
+
static { ThemeIcon_1 = this; }
|
|
663
|
+
static { this.File = new ThemeIcon_1('file'); }
|
|
664
|
+
static { this.Folder = new ThemeIcon_1('folder'); }
|
|
662
665
|
constructor(id, color) {
|
|
663
666
|
this.id = id;
|
|
664
667
|
this.color = color;
|
|
665
668
|
}
|
|
666
669
|
};
|
|
667
670
|
exports.ThemeIcon = ThemeIcon;
|
|
668
|
-
ThemeIcon.File = new ThemeIcon_1('file');
|
|
669
|
-
ThemeIcon.Folder = new ThemeIcon_1('folder');
|
|
670
671
|
exports.ThemeIcon = ThemeIcon = ThemeIcon_1 = tslib_1.__decorate([
|
|
671
672
|
types_1.es5ClassCompat,
|
|
672
673
|
tslib_1.__metadata("design:paramtypes", [String, ThemeColor])
|
|
@@ -1088,7 +1089,7 @@ let NotebookCellData = class NotebookCellData {
|
|
|
1088
1089
|
this.kind = kind;
|
|
1089
1090
|
this.value = value;
|
|
1090
1091
|
this.languageId = languageId;
|
|
1091
|
-
this.outputs = outputs
|
|
1092
|
+
this.outputs = outputs ?? [];
|
|
1092
1093
|
this.metadata = metadata;
|
|
1093
1094
|
this.executionSummary = executionSummary;
|
|
1094
1095
|
}
|
|
@@ -1108,7 +1109,7 @@ let NotebookCellOutput = class NotebookCellOutput {
|
|
|
1108
1109
|
}
|
|
1109
1110
|
else {
|
|
1110
1111
|
this.outputId = coreutils_1.UUID.uuid4();
|
|
1111
|
-
this.metadata = idOrMetadata
|
|
1112
|
+
this.metadata = idOrMetadata ?? metadata;
|
|
1112
1113
|
}
|
|
1113
1114
|
}
|
|
1114
1115
|
};
|
|
@@ -1118,23 +1119,24 @@ exports.NotebookCellOutput = NotebookCellOutput = tslib_1.__decorate([
|
|
|
1118
1119
|
tslib_1.__metadata("design:paramtypes", [Array, Object, Object])
|
|
1119
1120
|
], NotebookCellOutput);
|
|
1120
1121
|
class NotebookCellOutputItem {
|
|
1122
|
+
static #encoder = new TextEncoder();
|
|
1121
1123
|
static text(value, mime) {
|
|
1122
|
-
const bytes =
|
|
1123
|
-
return new
|
|
1124
|
+
const bytes = NotebookCellOutputItem.#encoder.encode(String(value));
|
|
1125
|
+
return new NotebookCellOutputItem(bytes, mime || 'text/plain');
|
|
1124
1126
|
}
|
|
1125
1127
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1126
1128
|
static json(value, mime) {
|
|
1127
1129
|
const jsonStr = JSON.stringify(value, undefined, '\t');
|
|
1128
|
-
return
|
|
1130
|
+
return NotebookCellOutputItem.text(jsonStr, mime);
|
|
1129
1131
|
}
|
|
1130
1132
|
static stdout(value) {
|
|
1131
|
-
return
|
|
1133
|
+
return NotebookCellOutputItem.text(value, 'application/vnd.code.notebook.stdout');
|
|
1132
1134
|
}
|
|
1133
1135
|
static stderr(value) {
|
|
1134
|
-
return
|
|
1136
|
+
return NotebookCellOutputItem.text(value, 'application/vnd.code.notebook.stderr');
|
|
1135
1137
|
}
|
|
1136
1138
|
static error(value) {
|
|
1137
|
-
return
|
|
1139
|
+
return NotebookCellOutputItem.json(value, 'application/vnd.code.notebook.error');
|
|
1138
1140
|
}
|
|
1139
1141
|
constructor(data, mime) {
|
|
1140
1142
|
this.data = data;
|
|
@@ -1142,8 +1144,6 @@ class NotebookCellOutputItem {
|
|
|
1142
1144
|
}
|
|
1143
1145
|
}
|
|
1144
1146
|
exports.NotebookCellOutputItem = NotebookCellOutputItem;
|
|
1145
|
-
_a = NotebookCellOutputItem;
|
|
1146
|
-
_NotebookCellOutputItem_encoder = { value: new TextEncoder() };
|
|
1147
1147
|
let NotebookCellStatusBarItem = class NotebookCellStatusBarItem {
|
|
1148
1148
|
/**
|
|
1149
1149
|
* Creates a new NotebookCellStatusBarItem.
|
|
@@ -1326,6 +1326,23 @@ exports.Hover = Hover = tslib_1.__decorate([
|
|
|
1326
1326
|
types_1.es5ClassCompat,
|
|
1327
1327
|
tslib_1.__metadata("design:paramtypes", [Object, Range])
|
|
1328
1328
|
], Hover);
|
|
1329
|
+
let VerboseHover = class VerboseHover extends Hover {
|
|
1330
|
+
constructor(contents, range, canIncreaseVerbosity, canDecreaseVerbosity) {
|
|
1331
|
+
super(contents, range);
|
|
1332
|
+
this.canIncreaseVerbosity = canIncreaseVerbosity;
|
|
1333
|
+
this.canDecreaseVerbosity = canDecreaseVerbosity;
|
|
1334
|
+
}
|
|
1335
|
+
};
|
|
1336
|
+
exports.VerboseHover = VerboseHover;
|
|
1337
|
+
exports.VerboseHover = VerboseHover = tslib_1.__decorate([
|
|
1338
|
+
types_1.es5ClassCompat,
|
|
1339
|
+
tslib_1.__metadata("design:paramtypes", [Object, Range, Boolean, Boolean])
|
|
1340
|
+
], VerboseHover);
|
|
1341
|
+
var HoverVerbosityAction;
|
|
1342
|
+
(function (HoverVerbosityAction) {
|
|
1343
|
+
HoverVerbosityAction[HoverVerbosityAction["Increase"] = 0] = "Increase";
|
|
1344
|
+
HoverVerbosityAction[HoverVerbosityAction["Decrease"] = 1] = "Decrease";
|
|
1345
|
+
})(HoverVerbosityAction || (exports.HoverVerbosityAction = HoverVerbosityAction = {}));
|
|
1329
1346
|
let EvaluatableExpression = class EvaluatableExpression {
|
|
1330
1347
|
constructor(range, expression) {
|
|
1331
1348
|
if (!range) {
|
|
@@ -1456,7 +1473,12 @@ exports.DocumentLink = DocumentLink = tslib_1.__decorate([
|
|
|
1456
1473
|
types_1.es5ClassCompat,
|
|
1457
1474
|
tslib_1.__metadata("design:paramtypes", [Range, Object])
|
|
1458
1475
|
], DocumentLink);
|
|
1459
|
-
let DocumentDropOrPasteEditKind =
|
|
1476
|
+
let DocumentDropOrPasteEditKind = class DocumentDropOrPasteEditKind {
|
|
1477
|
+
static { DocumentDropOrPasteEditKind_1 = this; }
|
|
1478
|
+
static { this.Empty = new DocumentDropOrPasteEditKind_1(''); }
|
|
1479
|
+
static { this.Text = new DocumentDropOrPasteEditKind_1('text'); }
|
|
1480
|
+
static { this.TextUpdateImports = new DocumentDropOrPasteEditKind_1('updateImports'); }
|
|
1481
|
+
static { this.sep = '.'; }
|
|
1460
1482
|
constructor(value) {
|
|
1461
1483
|
this.value = value;
|
|
1462
1484
|
}
|
|
@@ -1471,10 +1493,6 @@ let DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind_1 = class Document
|
|
|
1471
1493
|
}
|
|
1472
1494
|
};
|
|
1473
1495
|
exports.DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind;
|
|
1474
|
-
DocumentDropOrPasteEditKind.Empty = new DocumentDropOrPasteEditKind_1('');
|
|
1475
|
-
DocumentDropOrPasteEditKind.Text = new DocumentDropOrPasteEditKind_1('text');
|
|
1476
|
-
DocumentDropOrPasteEditKind.TextUpdateImports = new DocumentDropOrPasteEditKind_1('updateImports');
|
|
1477
|
-
DocumentDropOrPasteEditKind.sep = '.';
|
|
1478
1496
|
exports.DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind_1 = tslib_1.__decorate([
|
|
1479
1497
|
types_1.es5ClassCompat,
|
|
1480
1498
|
tslib_1.__metadata("design:paramtypes", [String])
|
|
@@ -1525,7 +1543,20 @@ var CodeActionTriggerKind;
|
|
|
1525
1543
|
*/
|
|
1526
1544
|
CodeActionTriggerKind[CodeActionTriggerKind["Automatic"] = 2] = "Automatic";
|
|
1527
1545
|
})(CodeActionTriggerKind || (exports.CodeActionTriggerKind = CodeActionTriggerKind = {}));
|
|
1528
|
-
let CodeActionKind =
|
|
1546
|
+
let CodeActionKind = class CodeActionKind {
|
|
1547
|
+
static { CodeActionKind_1 = this; }
|
|
1548
|
+
static { this.sep = '.'; }
|
|
1549
|
+
static { this.Empty = new CodeActionKind_1(''); }
|
|
1550
|
+
static { this.QuickFix = CodeActionKind_1.Empty.append('quickfix'); }
|
|
1551
|
+
static { this.Refactor = CodeActionKind_1.Empty.append('refactor'); }
|
|
1552
|
+
static { this.RefactorExtract = CodeActionKind_1.Refactor.append('extract'); }
|
|
1553
|
+
static { this.RefactorInline = CodeActionKind_1.Refactor.append('inline'); }
|
|
1554
|
+
static { this.RefactorMove = CodeActionKind_1.Refactor.append('move'); }
|
|
1555
|
+
static { this.RefactorRewrite = CodeActionKind_1.Refactor.append('rewrite'); }
|
|
1556
|
+
static { this.Source = CodeActionKind_1.Empty.append('source'); }
|
|
1557
|
+
static { this.SourceOrganizeImports = CodeActionKind_1.Source.append('organizeImports'); }
|
|
1558
|
+
static { this.SourceFixAll = CodeActionKind_1.Source.append('fixAll'); }
|
|
1559
|
+
static { this.Notebook = CodeActionKind_1.Empty.append('notebook'); }
|
|
1529
1560
|
constructor(value) {
|
|
1530
1561
|
this.value = value;
|
|
1531
1562
|
}
|
|
@@ -1540,18 +1571,6 @@ let CodeActionKind = CodeActionKind_1 = class CodeActionKind {
|
|
|
1540
1571
|
}
|
|
1541
1572
|
};
|
|
1542
1573
|
exports.CodeActionKind = CodeActionKind;
|
|
1543
|
-
CodeActionKind.sep = '.';
|
|
1544
|
-
CodeActionKind.Empty = new CodeActionKind_1('');
|
|
1545
|
-
CodeActionKind.QuickFix = CodeActionKind_1.Empty.append('quickfix');
|
|
1546
|
-
CodeActionKind.Refactor = CodeActionKind_1.Empty.append('refactor');
|
|
1547
|
-
CodeActionKind.RefactorExtract = CodeActionKind_1.Refactor.append('extract');
|
|
1548
|
-
CodeActionKind.RefactorInline = CodeActionKind_1.Refactor.append('inline');
|
|
1549
|
-
CodeActionKind.RefactorMove = CodeActionKind_1.Refactor.append('move');
|
|
1550
|
-
CodeActionKind.RefactorRewrite = CodeActionKind_1.Refactor.append('rewrite');
|
|
1551
|
-
CodeActionKind.Source = CodeActionKind_1.Empty.append('source');
|
|
1552
|
-
CodeActionKind.SourceOrganizeImports = CodeActionKind_1.Source.append('organizeImports');
|
|
1553
|
-
CodeActionKind.SourceFixAll = CodeActionKind_1.Source.append('fixAll');
|
|
1554
|
-
CodeActionKind.Notebook = CodeActionKind_1.Empty.append('notebook');
|
|
1555
1574
|
exports.CodeActionKind = CodeActionKind = CodeActionKind_1 = tslib_1.__decorate([
|
|
1556
1575
|
types_1.es5ClassCompat,
|
|
1557
1576
|
tslib_1.__metadata("design:paramtypes", [String])
|
|
@@ -1873,14 +1892,14 @@ var CommentThreadCollapsibleState;
|
|
|
1873
1892
|
CommentThreadCollapsibleState[CommentThreadCollapsibleState["Expanded"] = 1] = "Expanded";
|
|
1874
1893
|
})(CommentThreadCollapsibleState || (exports.CommentThreadCollapsibleState = CommentThreadCollapsibleState = {}));
|
|
1875
1894
|
let QuickInputButtons = class QuickInputButtons {
|
|
1895
|
+
static { this.Back = {
|
|
1896
|
+
iconPath: {
|
|
1897
|
+
id: 'Back',
|
|
1898
|
+
},
|
|
1899
|
+
tooltip: 'Back'
|
|
1900
|
+
}; }
|
|
1876
1901
|
};
|
|
1877
1902
|
exports.QuickInputButtons = QuickInputButtons;
|
|
1878
|
-
QuickInputButtons.Back = {
|
|
1879
|
-
iconPath: {
|
|
1880
|
-
id: 'Back',
|
|
1881
|
-
},
|
|
1882
|
-
tooltip: 'Back'
|
|
1883
|
-
};
|
|
1884
1903
|
exports.QuickInputButtons = QuickInputButtons = tslib_1.__decorate([
|
|
1885
1904
|
types_1.es5ClassCompat
|
|
1886
1905
|
], QuickInputButtons);
|
|
@@ -1984,9 +2003,8 @@ let FileSystemError = FileSystemError_1 = class FileSystemError extends Error {
|
|
|
1984
2003
|
return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.Unavailable, FileSystemError_1.Unavailable);
|
|
1985
2004
|
}
|
|
1986
2005
|
constructor(uriOrMessage, code = files_1.FileSystemProviderErrorCode.Unknown, terminator) {
|
|
1987
|
-
var _b;
|
|
1988
2006
|
super(URI.isUri(uriOrMessage) ? uriOrMessage.toString(true) : uriOrMessage);
|
|
1989
|
-
this.code =
|
|
2007
|
+
this.code = terminator?.name ?? 'Unknown';
|
|
1990
2008
|
// mark the error as file system provider error so that
|
|
1991
2009
|
// we can extract the error code on the receiving side
|
|
1992
2010
|
(0, files_1.markAsFileSystemProviderError)(this, code);
|
|
@@ -2210,7 +2228,12 @@ exports.CustomExecution = CustomExecution = tslib_1.__decorate([
|
|
|
2210
2228
|
types_1.es5ClassCompat,
|
|
2211
2229
|
tslib_1.__metadata("design:paramtypes", [Function])
|
|
2212
2230
|
], CustomExecution);
|
|
2213
|
-
let TaskGroup =
|
|
2231
|
+
let TaskGroup = class TaskGroup {
|
|
2232
|
+
static { TaskGroup_1 = this; }
|
|
2233
|
+
static { this.Clean = new TaskGroup_1('clean', 'Clean'); }
|
|
2234
|
+
static { this.Build = new TaskGroup_1('build', 'Build'); }
|
|
2235
|
+
static { this.Rebuild = new TaskGroup_1('rebuild', 'Rebuild'); }
|
|
2236
|
+
static { this.Test = new TaskGroup_1('test', 'Test'); }
|
|
2214
2237
|
static from(value) {
|
|
2215
2238
|
switch (value) {
|
|
2216
2239
|
case 'clean':
|
|
@@ -2231,10 +2254,6 @@ let TaskGroup = TaskGroup_1 = class TaskGroup {
|
|
|
2231
2254
|
}
|
|
2232
2255
|
};
|
|
2233
2256
|
exports.TaskGroup = TaskGroup;
|
|
2234
|
-
TaskGroup.Clean = new TaskGroup_1('clean', 'Clean');
|
|
2235
|
-
TaskGroup.Build = new TaskGroup_1('build', 'Build');
|
|
2236
|
-
TaskGroup.Rebuild = new TaskGroup_1('rebuild', 'Rebuild');
|
|
2237
|
-
TaskGroup.Test = new TaskGroup_1('test', 'Test');
|
|
2238
2257
|
exports.TaskGroup = TaskGroup = TaskGroup_1 = tslib_1.__decorate([
|
|
2239
2258
|
types_1.es5ClassCompat,
|
|
2240
2259
|
tslib_1.__metadata("design:paramtypes", [String, String, Object])
|
|
@@ -3485,7 +3504,7 @@ class LanguageModelError extends Error {
|
|
|
3485
3504
|
constructor(message, code) {
|
|
3486
3505
|
super(message);
|
|
3487
3506
|
this.name = 'LanguageModelError';
|
|
3488
|
-
this.code = code
|
|
3507
|
+
this.code = code ?? '';
|
|
3489
3508
|
}
|
|
3490
3509
|
}
|
|
3491
3510
|
exports.LanguageModelError = LanguageModelError;
|