@theia/plugin-ext 1.49.0 → 1.50.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.map +1 -1
- package/lib/common/assert.js.map +1 -1
- package/lib/common/cache.js.map +1 -1
- package/lib/common/character-classifier.js.map +1 -1
- package/lib/common/collections.js.map +1 -1
- package/lib/common/connection.js.map +1 -1
- package/lib/common/disposable-util.js.map +1 -1
- package/lib/common/editor-options.js +1 -1
- package/lib/common/editor-options.js.map +1 -1
- package/lib/common/errors.d.ts +1 -1
- package/lib/common/errors.d.ts.map +1 -1
- package/lib/common/errors.js.map +1 -1
- package/lib/common/index.js +3 -3
- package/lib/common/index.js.map +1 -1
- package/lib/common/link-computer.d.ts +1 -1
- package/lib/common/link-computer.d.ts.map +1 -1
- package/lib/common/link-computer.js +67 -67
- package/lib/common/link-computer.js.map +1 -1
- package/lib/common/object-identifier.js +1 -1
- package/lib/common/object-identifier.js.map +1 -1
- package/lib/common/objects.js.map +1 -1
- package/lib/common/paths-util.js.map +1 -1
- package/lib/common/plugin-api-rpc-model.d.ts +29 -7
- package/lib/common/plugin-api-rpc-model.d.ts.map +1 -1
- package/lib/common/plugin-api-rpc-model.js +14 -14
- package/lib/common/plugin-api-rpc-model.js.map +1 -1
- package/lib/common/plugin-api-rpc.d.ts +44 -19
- package/lib/common/plugin-api-rpc.d.ts.map +1 -1
- package/lib/common/plugin-api-rpc.js +16 -16
- package/lib/common/plugin-api-rpc.js.map +1 -1
- package/lib/common/plugin-identifiers.js +1 -1
- package/lib/common/plugin-identifiers.js.map +1 -1
- package/lib/common/plugin-protocol.d.ts +8 -7
- package/lib/common/plugin-protocol.d.ts.map +1 -1
- package/lib/common/plugin-protocol.js +6 -6
- package/lib/common/plugin-protocol.js.map +1 -1
- package/lib/common/proxy-handler.js.map +1 -1
- package/lib/common/rpc-protocol.js +1 -1
- package/lib/common/rpc-protocol.js.map +1 -1
- package/lib/common/semantic-tokens-dto.d.ts +1 -1
- package/lib/common/semantic-tokens-dto.d.ts.map +1 -1
- package/lib/common/semantic-tokens-dto.js +3 -3
- package/lib/common/semantic-tokens-dto.js.map +1 -1
- package/lib/common/test-types.js +4 -4
- package/lib/common/test-types.js.map +1 -1
- package/lib/common/types.js +1 -1
- package/lib/common/types.js.map +1 -1
- package/lib/common/uint.js +2 -2
- package/lib/common/uint.js.map +1 -1
- package/lib/common/uri-components.js +1 -1
- package/lib/common/uri-components.js.map +1 -1
- package/lib/hosted/browser/hosted-plugin-watcher.js +2 -2
- package/lib/hosted/browser/hosted-plugin-watcher.js.map +1 -1
- package/lib/hosted/browser/hosted-plugin.d.ts +1 -1
- package/lib/hosted/browser/hosted-plugin.d.ts.map +1 -1
- package/lib/hosted/browser/hosted-plugin.js +58 -58
- package/lib/hosted/browser/hosted-plugin.js.map +1 -1
- package/lib/hosted/browser/plugin-worker.js +3 -3
- package/lib/hosted/browser/plugin-worker.js.map +1 -1
- package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +1 -1
- package/lib/hosted/browser/worker/worker-env-ext.js +3 -3
- package/lib/hosted/browser/worker/worker-env-ext.js.map +1 -1
- package/lib/hosted/browser/worker/worker-main.js.map +1 -1
- package/lib/hosted/common/hosted-plugin.d.ts +1 -1
- package/lib/hosted/common/hosted-plugin.d.ts.map +1 -1
- package/lib/hosted/common/hosted-plugin.js +34 -34
- package/lib/hosted/common/hosted-plugin.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-cli-contribution.js +2 -2
- package/lib/hosted/node/hosted-plugin-cli-contribution.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-deployer-handler.d.ts +1 -0
- package/lib/hosted/node/hosted-plugin-deployer-handler.d.ts.map +1 -1
- package/lib/hosted/node/hosted-plugin-deployer-handler.js +17 -12
- package/lib/hosted/node/hosted-plugin-deployer-handler.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-localization-service.js +8 -8
- package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-process.js +14 -14
- package/lib/hosted/node/hosted-plugin-process.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-protocol.js +2 -2
- package/lib/hosted/node/hosted-plugin-protocol.js.map +1 -1
- package/lib/hosted/node/hosted-plugin.js +12 -12
- package/lib/hosted/node/hosted-plugin.js.map +1 -1
- package/lib/hosted/node/metadata-scanner.js +6 -6
- package/lib/hosted/node/metadata-scanner.js.map +1 -1
- package/lib/hosted/node/plugin-activation-events.js.map +1 -1
- package/lib/hosted/node/plugin-host-module.js.map +1 -1
- package/lib/hosted/node/plugin-host-proxy.js.map +1 -1
- package/lib/hosted/node/plugin-host-rpc.d.ts +2 -2
- package/lib/hosted/node/plugin-host-rpc.d.ts.map +1 -1
- package/lib/hosted/node/plugin-host-rpc.js +43 -43
- package/lib/hosted/node/plugin-host-rpc.js.map +1 -1
- package/lib/hosted/node/plugin-host.js.map +1 -1
- package/lib/hosted/node/plugin-language-pack-service.js +2 -2
- package/lib/hosted/node/plugin-language-pack-service.js.map +1 -1
- package/lib/hosted/node/plugin-manifest-loader.js.map +1 -1
- package/lib/hosted/node/plugin-reader.js +8 -8
- package/lib/hosted/node/plugin-reader.js.map +1 -1
- package/lib/hosted/node/plugin-service.d.ts +1 -1
- package/lib/hosted/node/plugin-service.d.ts.map +1 -1
- package/lib/hosted/node/plugin-service.js +27 -27
- package/lib/hosted/node/plugin-service.js.map +1 -1
- package/lib/hosted/node/scanners/backend-init-theia.js.map +1 -1
- package/lib/hosted/node/scanners/file-plugin-uri-factory.js +2 -2
- package/lib/hosted/node/scanners/file-plugin-uri-factory.js.map +1 -1
- package/lib/hosted/node/scanners/grammars-reader.js +2 -2
- package/lib/hosted/node/scanners/grammars-reader.js.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.d.ts +1 -1
- package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.js +10 -10
- package/lib/hosted/node/scanners/scanner-theia.js.map +1 -1
- package/lib/hosted/node-electron/scanner-theia-electron.js +2 -2
- package/lib/hosted/node-electron/scanner-theia-electron.js.map +1 -1
- package/lib/main/browser/authentication-main.d.ts +22 -0
- package/lib/main/browser/authentication-main.d.ts.map +1 -1
- package/lib/main/browser/authentication-main.js.map +1 -1
- package/lib/main/browser/command-registry-main.d.ts +23 -0
- package/lib/main/browser/command-registry-main.d.ts.map +1 -1
- package/lib/main/browser/command-registry-main.js.map +1 -1
- package/lib/main/browser/commands.js +5 -5
- package/lib/main/browser/commands.js.map +1 -1
- package/lib/main/browser/comments/comment-glyph-widget.js.map +1 -1
- package/lib/main/browser/comments/comment-thread-widget.js +12 -12
- package/lib/main/browser/comments/comment-thread-widget.js.map +1 -1
- package/lib/main/browser/comments/comments-context-key-service.js +8 -8
- package/lib/main/browser/comments/comments-context-key-service.js.map +1 -1
- package/lib/main/browser/comments/comments-contribution.js +14 -14
- package/lib/main/browser/comments/comments-contribution.js.map +1 -1
- package/lib/main/browser/comments/comments-decorator.js +6 -6
- package/lib/main/browser/comments/comments-decorator.js.map +1 -1
- package/lib/main/browser/comments/comments-main.js +32 -32
- package/lib/main/browser/comments/comments-main.js.map +1 -1
- package/lib/main/browser/comments/comments-service.js +2 -2
- package/lib/main/browser/comments/comments-service.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-contribution.js +4 -4
- package/lib/main/browser/custom-editors/custom-editor-contribution.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-opener.js +8 -7
- package/lib/main/browser/custom-editors/custom-editor-opener.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-service.js +2 -2
- package/lib/main/browser/custom-editors/custom-editor-service.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-widget.d.ts +2 -2
- package/lib/main/browser/custom-editors/custom-editor-widget.d.ts.map +1 -1
- package/lib/main/browser/custom-editors/custom-editor-widget.js +15 -18
- package/lib/main/browser/custom-editors/custom-editor-widget.js.map +1 -1
- package/lib/main/browser/custom-editors/custom-editors-main.d.ts +28 -7
- package/lib/main/browser/custom-editors/custom-editors-main.d.ts.map +1 -1
- package/lib/main/browser/custom-editors/custom-editors-main.js +29 -43
- package/lib/main/browser/custom-editors/custom-editors-main.js.map +1 -1
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts +1 -1
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts.map +1 -1
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js +14 -14
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js.map +1 -1
- package/lib/main/browser/data-transfer/data-transfer-type-converters.js +2 -2
- package/lib/main/browser/data-transfer/data-transfer-type-converters.js.map +1 -1
- package/lib/main/browser/debug/debug-main.js.map +1 -1
- package/lib/main/browser/debug/plugin-debug-configuration-provider.js.map +1 -1
- package/lib/main/browser/debug/plugin-debug-service.d.ts +22 -0
- package/lib/main/browser/debug/plugin-debug-service.d.ts.map +1 -1
- package/lib/main/browser/debug/plugin-debug-service.js +10 -10
- package/lib/main/browser/debug/plugin-debug-service.js.map +1 -1
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js +8 -8
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js.map +1 -1
- package/lib/main/browser/decorations/decorations-main.js.map +1 -1
- package/lib/main/browser/dialogs/modal-notification.js +4 -4
- package/lib/main/browser/dialogs/modal-notification.js.map +1 -1
- package/lib/main/browser/dialogs-main.js.map +1 -1
- package/lib/main/browser/documents-main.js.map +1 -1
- package/lib/main/browser/editors-and-documents-main.d.ts.map +1 -1
- package/lib/main/browser/editors-and-documents-main.js +2 -2
- package/lib/main/browser/editors-and-documents-main.js.map +1 -1
- package/lib/main/browser/env-main.js.map +1 -1
- package/lib/main/browser/file-system-main-impl.js +4 -4
- package/lib/main/browser/file-system-main-impl.js.map +1 -1
- package/lib/main/browser/hierarchy/hierarchy-types-converters.js +1 -1
- package/lib/main/browser/hierarchy/hierarchy-types-converters.js.map +1 -1
- package/lib/main/browser/keybindings/keybindings-contribution-handler.js +4 -4
- package/lib/main/browser/keybindings/keybindings-contribution-handler.js.map +1 -1
- package/lib/main/browser/label-service-main.js.map +1 -1
- package/lib/main/browser/languages-main.d.ts +22 -0
- package/lib/main/browser/languages-main.d.ts.map +1 -1
- package/lib/main/browser/languages-main.js +16 -16
- package/lib/main/browser/languages-main.js.map +1 -1
- package/lib/main/browser/main-file-system-event-service.js +3 -3
- package/lib/main/browser/main-file-system-event-service.js.map +1 -1
- package/lib/main/browser/menus/menus-contribution-handler.js +20 -20
- package/lib/main/browser/menus/menus-contribution-handler.js.map +1 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts +1 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts.map +1 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.js +16 -16
- package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +1 -1
- package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts +2 -2
- package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts.map +1 -1
- package/lib/main/browser/menus/vscode-theia-menu-mappings.js +2 -2
- package/lib/main/browser/menus/vscode-theia-menu-mappings.js.map +1 -1
- package/lib/main/browser/message-registry-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js +8 -8
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-documents-main.d.ts +3 -1
- package/lib/main/browser/notebooks/notebook-documents-main.d.ts.map +1 -1
- package/lib/main/browser/notebooks/notebook-documents-main.js +8 -6
- package/lib/main/browser/notebooks/notebook-documents-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-dto.js +1 -1
- package/lib/main/browser/notebooks/notebook-dto.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-editors-main.d.ts +4 -3
- package/lib/main/browser/notebooks/notebook-editors-main.d.ts.map +1 -1
- package/lib/main/browser/notebooks/notebook-editors-main.js +8 -3
- package/lib/main/browser/notebooks/notebook-editors-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebook-kernels-main.js +6 -6
- package/lib/main/browser/notebooks/notebook-kernels-main.js.map +1 -1
- package/lib/main/browser/notebooks/notebooks-main.d.ts +22 -0
- package/lib/main/browser/notebooks/notebooks-main.d.ts.map +1 -1
- package/lib/main/browser/notebooks/notebooks-main.js +2 -2
- package/lib/main/browser/notebooks/notebooks-main.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +3 -0
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +1 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js +102 -26
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts.map +1 -1
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js +7 -0
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +6 -2
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts.map +1 -1
- package/lib/main/browser/output-channel-registry-main.js +4 -4
- package/lib/main/browser/output-channel-registry-main.js.map +1 -1
- package/lib/main/browser/plugin-authentication-service.js +3 -3
- package/lib/main/browser/plugin-authentication-service.js.map +1 -1
- package/lib/main/browser/plugin-contribution-handler.js +61 -61
- package/lib/main/browser/plugin-contribution-handler.js.map +1 -1
- package/lib/main/browser/plugin-ext-frontend-module.d.ts.map +1 -1
- package/lib/main/browser/plugin-ext-frontend-module.js +0 -2
- package/lib/main/browser/plugin-ext-frontend-module.js.map +1 -1
- package/lib/main/browser/plugin-ext-widget.js +11 -11
- package/lib/main/browser/plugin-ext-widget.js.map +1 -1
- package/lib/main/browser/plugin-frontend-contribution.js +4 -4
- package/lib/main/browser/plugin-frontend-contribution.js.map +1 -1
- package/lib/main/browser/plugin-frontend-view-contribution.js +3 -3
- package/lib/main/browser/plugin-frontend-view-contribution.js.map +1 -1
- package/lib/main/browser/plugin-icon-service.js +4 -4
- package/lib/main/browser/plugin-icon-service.js.map +1 -1
- package/lib/main/browser/plugin-icon-theme-service.d.ts +1 -1
- package/lib/main/browser/plugin-icon-theme-service.d.ts.map +1 -1
- package/lib/main/browser/plugin-icon-theme-service.js +25 -25
- package/lib/main/browser/plugin-icon-theme-service.js.map +1 -1
- package/lib/main/browser/plugin-shared-style.js +8 -8
- package/lib/main/browser/plugin-shared-style.js.map +1 -1
- package/lib/main/browser/plugin-storage.js.map +1 -1
- package/lib/main/browser/plugin-terminal-registry.js +2 -2
- package/lib/main/browser/plugin-terminal-registry.js.map +1 -1
- package/lib/main/browser/preference-registry-main.js.map +1 -1
- package/lib/main/browser/quick-open-main.d.ts +25 -2
- package/lib/main/browser/quick-open-main.d.ts.map +1 -1
- package/lib/main/browser/quick-open-main.js +10 -1
- package/lib/main/browser/quick-open-main.js.map +1 -1
- package/lib/main/browser/scm-main.js +22 -22
- package/lib/main/browser/scm-main.js.map +1 -1
- package/lib/main/browser/secrets-main.js.map +1 -1
- package/lib/main/browser/selection-provider-command.js +5 -5
- package/lib/main/browser/selection-provider-command.js.map +1 -1
- package/lib/main/browser/status-bar-message-registry-main.js.map +1 -1
- package/lib/main/browser/tabs/tabs-main.d.ts +3 -1
- package/lib/main/browser/tabs/tabs-main.d.ts.map +1 -1
- package/lib/main/browser/tabs/tabs-main.js +41 -15
- package/lib/main/browser/tabs/tabs-main.js.map +1 -1
- package/lib/main/browser/tasks-main.js.map +1 -1
- package/lib/main/browser/terminal-main.d.ts +22 -0
- package/lib/main/browser/terminal-main.d.ts.map +1 -1
- package/lib/main/browser/terminal-main.js.map +1 -1
- package/lib/main/browser/test-main.js +39 -39
- package/lib/main/browser/test-main.js.map +1 -1
- package/lib/main/browser/text-editor-main.js.map +1 -1
- package/lib/main/browser/text-editor-model-service.js +5 -5
- package/lib/main/browser/text-editor-model-service.js.map +1 -1
- package/lib/main/browser/text-editors-main.js.map +1 -1
- package/lib/main/browser/theme-icon-override.js.map +1 -1
- package/lib/main/browser/timeline-main.js.map +1 -1
- package/lib/main/browser/view/dnd-file-content-store.js +2 -2
- package/lib/main/browser/view/dnd-file-content-store.js.map +1 -1
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.js +6 -6
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.js.map +1 -1
- package/lib/main/browser/view/plugin-view-registry.d.ts +1 -1
- package/lib/main/browser/view/plugin-view-registry.d.ts.map +1 -1
- package/lib/main/browser/view/plugin-view-registry.js +29 -29
- package/lib/main/browser/view/plugin-view-registry.js.map +1 -1
- package/lib/main/browser/view/plugin-view-widget.js +20 -20
- package/lib/main/browser/view/plugin-view-widget.js.map +1 -1
- package/lib/main/browser/view/tree-view-decorator-service.d.ts +22 -0
- package/lib/main/browser/view/tree-view-decorator-service.d.ts.map +1 -1
- package/lib/main/browser/view/tree-view-decorator-service.js +7 -7
- package/lib/main/browser/view/tree-view-decorator-service.js.map +1 -1
- package/lib/main/browser/view/tree-view-widget.d.ts +22 -0
- package/lib/main/browser/view/tree-view-widget.d.ts.map +1 -1
- package/lib/main/browser/view/tree-view-widget.js +44 -44
- package/lib/main/browser/view/tree-view-widget.js.map +1 -1
- package/lib/main/browser/view/tree-views-main.d.ts +22 -0
- package/lib/main/browser/view/tree-views-main.d.ts.map +1 -1
- package/lib/main/browser/view/tree-views-main.js.map +1 -1
- package/lib/main/browser/view/view-context-key-service.js +8 -8
- package/lib/main/browser/view/view-context-key-service.js.map +1 -1
- package/lib/main/browser/webview/webview-context-keys.js +10 -10
- package/lib/main/browser/webview/webview-context-keys.js.map +1 -1
- package/lib/main/browser/webview/webview-environment.js +8 -8
- package/lib/main/browser/webview/webview-environment.js.map +1 -1
- package/lib/main/browser/webview/webview-frontend-security-warnings.js +8 -8
- package/lib/main/browser/webview/webview-frontend-security-warnings.js.map +1 -1
- package/lib/main/browser/webview/webview-preferences.d.ts +1 -1
- package/lib/main/browser/webview/webview-preferences.d.ts.map +1 -1
- package/lib/main/browser/webview/webview-preferences.js.map +1 -1
- package/lib/main/browser/webview/webview-resource-cache.js +3 -3
- package/lib/main/browser/webview/webview-resource-cache.js.map +1 -1
- package/lib/main/browser/webview/webview-secondary-window-support.js +4 -4
- package/lib/main/browser/webview/webview-secondary-window-support.js.map +1 -1
- package/lib/main/browser/webview/webview-theme-data-provider.d.ts +1 -1
- package/lib/main/browser/webview/webview-theme-data-provider.d.ts.map +1 -1
- package/lib/main/browser/webview/webview-theme-data-provider.js +14 -14
- package/lib/main/browser/webview/webview-theme-data-provider.js.map +1 -1
- package/lib/main/browser/webview/webview-widget-factory.js.map +1 -1
- package/lib/main/browser/webview/webview.d.ts +22 -0
- package/lib/main/browser/webview/webview.d.ts.map +1 -1
- package/lib/main/browser/webview/webview.js +54 -55
- package/lib/main/browser/webview/webview.js.map +1 -1
- package/lib/main/browser/webview-views/webview-views-main.d.ts +22 -0
- package/lib/main/browser/webview-views/webview-views-main.d.ts.map +1 -1
- package/lib/main/browser/webview-views/webview-views-main.js +3 -3
- package/lib/main/browser/webview-views/webview-views-main.js.map +1 -1
- package/lib/main/browser/webviews-main.d.ts +23 -1
- package/lib/main/browser/webviews-main.d.ts.map +1 -1
- package/lib/main/browser/webviews-main.js +1 -1
- package/lib/main/browser/webviews-main.js.map +1 -1
- package/lib/main/browser/window-activity-tracker.d.ts +20 -0
- package/lib/main/browser/window-activity-tracker.d.ts.map +1 -0
- package/lib/main/browser/window-activity-tracker.js +86 -0
- package/lib/main/browser/window-activity-tracker.js.map +1 -0
- package/lib/main/browser/window-state-main.d.ts +1 -0
- package/lib/main/browser/window-state-main.d.ts.map +1 -1
- package/lib/main/browser/window-state-main.js +8 -1
- package/lib/main/browser/window-state-main.js.map +1 -1
- package/lib/main/browser/workspace-main.d.ts +22 -0
- package/lib/main/browser/workspace-main.d.ts.map +1 -1
- package/lib/main/browser/workspace-main.js +2 -2
- package/lib/main/browser/workspace-main.js.map +1 -1
- package/lib/main/common/basic-message-registry-main.js.map +1 -1
- package/lib/main/common/basic-notification-main.js.map +1 -1
- package/lib/main/common/env-main.js.map +1 -1
- package/lib/main/common/plugin-theia-environment.js +4 -4
- package/lib/main/common/plugin-theia-environment.js.map +1 -1
- package/lib/main/common/webview-protocol.js +1 -1
- package/lib/main/common/webview-protocol.js.map +1 -1
- package/lib/main/node/handlers/plugin-theia-directory-handler.js +7 -7
- package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +1 -1
- package/lib/main/node/handlers/plugin-theia-file-handler.js +5 -5
- package/lib/main/node/handlers/plugin-theia-file-handler.js.map +1 -1
- package/lib/main/node/paths/const.js +1 -1
- package/lib/main/node/paths/const.js.map +1 -1
- package/lib/main/node/paths/plugin-paths-service.js +10 -10
- package/lib/main/node/paths/plugin-paths-service.js.map +1 -1
- package/lib/main/node/plugin-cli-contribution.js +2 -2
- package/lib/main/node/plugin-cli-contribution.js.map +1 -1
- package/lib/main/node/plugin-deployer-contribution.js +6 -6
- package/lib/main/node/plugin-deployer-contribution.js.map +1 -1
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.js.map +1 -1
- package/lib/main/node/plugin-deployer-entry-impl.js.map +1 -1
- package/lib/main/node/plugin-deployer-impl.js +18 -18
- package/lib/main/node/plugin-deployer-impl.js.map +1 -1
- package/lib/main/node/plugin-deployer-proxy-entry-impl.js +3 -3
- package/lib/main/node/plugin-deployer-proxy-entry-impl.js.map +1 -1
- package/lib/main/node/plugin-ext-backend-module.d.ts.map +1 -1
- package/lib/main/node/plugin-ext-backend-module.js +8 -0
- package/lib/main/node/plugin-ext-backend-module.js.map +1 -1
- package/lib/main/node/plugin-github-resolver.js +5 -5
- package/lib/main/node/plugin-github-resolver.js.map +1 -1
- package/lib/main/node/plugin-http-resolver.js +5 -5
- package/lib/main/node/plugin-http-resolver.js.map +1 -1
- package/lib/main/node/plugin-localization-server.js +4 -4
- package/lib/main/node/plugin-localization-server.js.map +1 -1
- package/lib/main/node/plugin-mgmt-cli-contribution.js +4 -4
- package/lib/main/node/plugin-mgmt-cli-contribution.js.map +1 -1
- package/lib/main/node/plugin-remote-cli-contribution.d.ts +8 -0
- package/lib/main/node/plugin-remote-cli-contribution.d.ts.map +1 -0
- package/lib/main/node/plugin-remote-cli-contribution.js +41 -0
- package/lib/main/node/plugin-remote-cli-contribution.js.map +1 -0
- package/lib/main/node/plugin-remote-copy-contribution.d.ts +7 -0
- package/lib/main/node/plugin-remote-copy-contribution.d.ts.map +1 -0
- package/lib/main/node/plugin-remote-copy-contribution.js +40 -0
- package/lib/main/node/plugin-remote-copy-contribution.js.map +1 -0
- package/lib/main/node/plugin-server-handler.js +6 -6
- package/lib/main/node/plugin-server-handler.js.map +1 -1
- package/lib/main/node/plugin-service.d.ts +1 -1
- package/lib/main/node/plugin-service.d.ts.map +1 -1
- package/lib/main/node/plugin-service.js +11 -11
- package/lib/main/node/plugin-service.js.map +1 -1
- package/lib/main/node/plugin-theia-deployer-participant.js +4 -4
- package/lib/main/node/plugin-theia-deployer-participant.js.map +1 -1
- package/lib/main/node/plugin-uninstallation-manager.js +2 -2
- package/lib/main/node/plugin-uninstallation-manager.js.map +1 -1
- package/lib/main/node/plugins-key-value-storage.js +12 -12
- package/lib/main/node/plugins-key-value-storage.js.map +1 -1
- package/lib/main/node/plugins-key-value-storage.spec.js.map +1 -1
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js +2 -2
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js.map +1 -1
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.js +2 -2
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.js.map +1 -1
- package/lib/main/node/temp-dir-util.js.map +1 -1
- package/lib/main/node/webview-backend-security-warnings.js +2 -2
- package/lib/main/node/webview-backend-security-warnings.js.map +1 -1
- package/lib/plugin/authentication-ext.d.ts +22 -0
- package/lib/plugin/authentication-ext.d.ts.map +1 -1
- package/lib/plugin/authentication-ext.js +9 -0
- package/lib/plugin/authentication-ext.js.map +1 -1
- package/lib/plugin/clipboard-ext.d.ts +22 -0
- package/lib/plugin/clipboard-ext.d.ts.map +1 -1
- package/lib/plugin/clipboard-ext.js +8 -8
- package/lib/plugin/clipboard-ext.js.map +1 -1
- package/lib/plugin/command-registry.d.ts +24 -1
- package/lib/plugin/command-registry.d.ts.map +1 -1
- package/lib/plugin/command-registry.js.map +1 -1
- package/lib/plugin/comments.d.ts +22 -0
- package/lib/plugin/comments.d.ts.map +1 -1
- package/lib/plugin/comments.js +27 -27
- package/lib/plugin/comments.js.map +1 -1
- package/lib/plugin/custom-editors.d.ts +23 -1
- package/lib/plugin/custom-editors.d.ts.map +1 -1
- package/lib/plugin/custom-editors.js +6 -6
- package/lib/plugin/custom-editors.js.map +1 -1
- package/lib/plugin/debug/debug-ext.d.ts +23 -0
- package/lib/plugin/debug/debug-ext.d.ts.map +1 -1
- package/lib/plugin/debug/debug-ext.js +12 -12
- package/lib/plugin/debug/debug-ext.js.map +1 -1
- package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts +22 -0
- package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts.map +1 -1
- package/lib/plugin/debug/plugin-debug-adapter-creator.js.map +1 -1
- package/lib/plugin/debug/plugin-debug-adapter-session.d.ts +22 -0
- package/lib/plugin/debug/plugin-debug-adapter-session.d.ts.map +1 -1
- package/lib/plugin/debug/plugin-debug-adapter-session.js.map +1 -1
- package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts +22 -0
- package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts.map +1 -1
- package/lib/plugin/debug/plugin-debug-adapter-tracker.js.map +1 -1
- package/lib/plugin/decorations.d.ts +22 -0
- package/lib/plugin/decorations.d.ts.map +1 -1
- package/lib/plugin/decorations.js.map +1 -1
- package/lib/plugin/dialogs.d.ts +22 -0
- package/lib/plugin/dialogs.d.ts.map +1 -1
- package/lib/plugin/dialogs.js.map +1 -1
- package/lib/plugin/document-data.d.ts +22 -0
- package/lib/plugin/document-data.d.ts.map +1 -1
- package/lib/plugin/document-data.js.map +1 -1
- package/lib/plugin/documents.d.ts +22 -0
- package/lib/plugin/documents.d.ts.map +1 -1
- package/lib/plugin/documents.js.map +1 -1
- package/lib/plugin/editors-and-documents.d.ts +1 -0
- package/lib/plugin/editors-and-documents.d.ts.map +1 -1
- package/lib/plugin/editors-and-documents.js +7 -4
- package/lib/plugin/editors-and-documents.js.map +1 -1
- package/lib/plugin/env.d.ts +23 -0
- package/lib/plugin/env.d.ts.map +1 -1
- package/lib/plugin/env.js +9 -9
- package/lib/plugin/env.js.map +1 -1
- package/lib/plugin/file-system-event-service-ext-impl.d.ts +24 -2
- package/lib/plugin/file-system-event-service-ext-impl.d.ts.map +1 -1
- package/lib/plugin/file-system-event-service-ext-impl.js +15 -15
- package/lib/plugin/file-system-event-service-ext-impl.js.map +1 -1
- package/lib/plugin/file-system-ext-impl.d.ts +22 -0
- package/lib/plugin/file-system-ext-impl.d.ts.map +1 -1
- package/lib/plugin/file-system-ext-impl.js +15 -15
- package/lib/plugin/file-system-ext-impl.js.map +1 -1
- package/lib/plugin/known-commands.js +1 -1
- package/lib/plugin/known-commands.js.map +1 -1
- package/lib/plugin/label-service.d.ts +23 -0
- package/lib/plugin/label-service.d.ts.map +1 -1
- package/lib/plugin/languages/call-hierarchy.d.ts +22 -0
- package/lib/plugin/languages/call-hierarchy.d.ts.map +1 -1
- package/lib/plugin/languages/call-hierarchy.js.map +1 -1
- package/lib/plugin/languages/code-action.d.ts +22 -0
- package/lib/plugin/languages/code-action.d.ts.map +1 -1
- package/lib/plugin/languages/code-action.js.map +1 -1
- package/lib/plugin/languages/color.d.ts +22 -0
- package/lib/plugin/languages/color.d.ts.map +1 -1
- package/lib/plugin/languages/color.js.map +1 -1
- package/lib/plugin/languages/completion.d.ts +22 -0
- package/lib/plugin/languages/completion.d.ts.map +1 -1
- package/lib/plugin/languages/completion.js.map +1 -1
- package/lib/plugin/languages/declaration.d.ts +22 -0
- package/lib/plugin/languages/declaration.d.ts.map +1 -1
- package/lib/plugin/languages/declaration.js.map +1 -1
- package/lib/plugin/languages/definition.d.ts +22 -0
- package/lib/plugin/languages/definition.d.ts.map +1 -1
- package/lib/plugin/languages/definition.js.map +1 -1
- package/lib/plugin/languages/diagnostics.d.ts +22 -0
- package/lib/plugin/languages/diagnostics.d.ts.map +1 -1
- package/lib/plugin/languages/diagnostics.js.map +1 -1
- package/lib/plugin/languages/document-drop-edit.d.ts +22 -0
- package/lib/plugin/languages/document-drop-edit.d.ts.map +1 -1
- package/lib/plugin/languages/document-formatting.d.ts +22 -0
- package/lib/plugin/languages/document-formatting.d.ts.map +1 -1
- package/lib/plugin/languages/document-formatting.js.map +1 -1
- package/lib/plugin/languages/document-highlight.d.ts +22 -0
- package/lib/plugin/languages/document-highlight.d.ts.map +1 -1
- package/lib/plugin/languages/document-highlight.js.map +1 -1
- package/lib/plugin/languages/evaluatable-expression.d.ts +22 -0
- package/lib/plugin/languages/evaluatable-expression.d.ts.map +1 -1
- package/lib/plugin/languages/evaluatable-expression.js.map +1 -1
- package/lib/plugin/languages/folding.d.ts +22 -0
- package/lib/plugin/languages/folding.d.ts.map +1 -1
- package/lib/plugin/languages/folding.js.map +1 -1
- package/lib/plugin/languages/hover.d.ts +22 -0
- package/lib/plugin/languages/hover.d.ts.map +1 -1
- package/lib/plugin/languages/hover.js.map +1 -1
- package/lib/plugin/languages/implementation.d.ts +22 -0
- package/lib/plugin/languages/implementation.d.ts.map +1 -1
- package/lib/plugin/languages/implementation.js.map +1 -1
- package/lib/plugin/languages/inlay-hints.d.ts +22 -0
- package/lib/plugin/languages/inlay-hints.d.ts.map +1 -1
- package/lib/plugin/languages/inlay-hints.js +1 -1
- package/lib/plugin/languages/inlay-hints.js.map +1 -1
- package/lib/plugin/languages/inline-completion.d.ts +22 -0
- package/lib/plugin/languages/inline-completion.d.ts.map +1 -1
- package/lib/plugin/languages/inline-completion.js.map +1 -1
- package/lib/plugin/languages/inline-values.d.ts +22 -0
- package/lib/plugin/languages/inline-values.d.ts.map +1 -1
- package/lib/plugin/languages/inline-values.js.map +1 -1
- package/lib/plugin/languages/lens.d.ts +22 -0
- package/lib/plugin/languages/lens.d.ts.map +1 -1
- package/lib/plugin/languages/lens.js.map +1 -1
- package/lib/plugin/languages/link-provider.d.ts +22 -0
- package/lib/plugin/languages/link-provider.d.ts.map +1 -1
- package/lib/plugin/languages/link-provider.js.map +1 -1
- package/lib/plugin/languages/linked-editing-range.d.ts +22 -0
- package/lib/plugin/languages/linked-editing-range.d.ts.map +1 -1
- package/lib/plugin/languages/linked-editing-range.js.map +1 -1
- package/lib/plugin/languages/on-type-formatting.d.ts +22 -0
- package/lib/plugin/languages/on-type-formatting.d.ts.map +1 -1
- package/lib/plugin/languages/on-type-formatting.js.map +1 -1
- package/lib/plugin/languages/outline.d.ts +22 -0
- package/lib/plugin/languages/outline.d.ts.map +1 -1
- package/lib/plugin/languages/outline.js.map +1 -1
- package/lib/plugin/languages/range-formatting.d.ts +22 -0
- package/lib/plugin/languages/range-formatting.d.ts.map +1 -1
- package/lib/plugin/languages/range-formatting.js.map +1 -1
- package/lib/plugin/languages/reference.d.ts +22 -0
- package/lib/plugin/languages/reference.d.ts.map +1 -1
- package/lib/plugin/languages/reference.js.map +1 -1
- package/lib/plugin/languages/rename.d.ts +22 -0
- package/lib/plugin/languages/rename.d.ts.map +1 -1
- package/lib/plugin/languages/rename.js +3 -3
- package/lib/plugin/languages/rename.js.map +1 -1
- package/lib/plugin/languages/selection-range.d.ts +22 -0
- package/lib/plugin/languages/selection-range.d.ts.map +1 -1
- package/lib/plugin/languages/selection-range.js.map +1 -1
- package/lib/plugin/languages/semantic-highlighting.d.ts +22 -0
- package/lib/plugin/languages/semantic-highlighting.d.ts.map +1 -1
- package/lib/plugin/languages/semantic-highlighting.js.map +1 -1
- package/lib/plugin/languages/signature.d.ts +22 -0
- package/lib/plugin/languages/signature.d.ts.map +1 -1
- package/lib/plugin/languages/signature.js.map +1 -1
- package/lib/plugin/languages/type-definition.d.ts +22 -0
- package/lib/plugin/languages/type-definition.d.ts.map +1 -1
- package/lib/plugin/languages/type-definition.js.map +1 -1
- package/lib/plugin/languages/type-hierarchy.d.ts +22 -0
- package/lib/plugin/languages/type-hierarchy.d.ts.map +1 -1
- package/lib/plugin/languages/type-hierarchy.js.map +1 -1
- package/lib/plugin/languages/util.d.ts +22 -0
- package/lib/plugin/languages/util.d.ts.map +1 -1
- package/lib/plugin/languages/workspace-symbol.d.ts +22 -0
- package/lib/plugin/languages/workspace-symbol.d.ts.map +1 -1
- package/lib/plugin/languages/workspace-symbol.js.map +1 -1
- package/lib/plugin/languages-utils.d.ts +22 -0
- package/lib/plugin/languages-utils.d.ts.map +1 -1
- package/lib/plugin/languages-utils.js.map +1 -1
- package/lib/plugin/languages.d.ts +22 -0
- package/lib/plugin/languages.d.ts.map +1 -1
- package/lib/plugin/languages.js.map +1 -1
- package/lib/plugin/localization-ext.js +8 -8
- package/lib/plugin/localization-ext.js.map +1 -1
- package/lib/plugin/markdown-string.d.ts +22 -0
- package/lib/plugin/markdown-string.d.ts.map +1 -1
- package/lib/plugin/markdown-string.js +20 -20
- package/lib/plugin/markdown-string.js.map +1 -1
- package/lib/plugin/message-registry.d.ts +22 -0
- package/lib/plugin/message-registry.d.ts.map +1 -1
- package/lib/plugin/message-registry.js +8 -8
- package/lib/plugin/message-registry.js.map +1 -1
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts +22 -0
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts.map +1 -1
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js.map +1 -1
- package/lib/plugin/node/env-node-ext.js +3 -3
- package/lib/plugin/node/env-node-ext.js.map +1 -1
- package/lib/plugin/node/plugin-container-module.d.ts +4 -4
- package/lib/plugin/node/plugin-container-module.d.ts.map +1 -1
- package/lib/plugin/node/plugin-container-module.js.map +1 -1
- package/lib/plugin/notebook/notebook-document.d.ts +22 -0
- package/lib/plugin/notebook/notebook-document.d.ts.map +1 -1
- package/lib/plugin/notebook/notebook-document.js +23 -16
- package/lib/plugin/notebook/notebook-document.js.map +1 -1
- package/lib/plugin/notebook/notebook-documents.d.ts +23 -1
- package/lib/plugin/notebook/notebook-documents.d.ts.map +1 -1
- package/lib/plugin/notebook/notebook-editor.d.ts +22 -0
- package/lib/plugin/notebook/notebook-editor.d.ts.map +1 -1
- package/lib/plugin/notebook/notebook-editor.js.map +1 -1
- package/lib/plugin/notebook/notebook-editors.d.ts +22 -0
- package/lib/plugin/notebook/notebook-editors.d.ts.map +1 -1
- package/lib/plugin/notebook/notebook-editors.js.map +1 -1
- package/lib/plugin/notebook/notebook-kernels.d.ts +22 -0
- package/lib/plugin/notebook/notebook-kernels.d.ts.map +1 -1
- package/lib/plugin/notebook/notebook-kernels.js +1 -1
- package/lib/plugin/notebook/notebook-kernels.js.map +1 -1
- package/lib/plugin/notebook/notebook-renderers.d.ts +22 -0
- package/lib/plugin/notebook/notebook-renderers.d.ts.map +1 -1
- package/lib/plugin/notebook/notebook-renderers.js.map +1 -1
- package/lib/plugin/notebook/notebooks.d.ts +23 -0
- package/lib/plugin/notebook/notebooks.d.ts.map +1 -1
- package/lib/plugin/notebook/notebooks.js +41 -19
- package/lib/plugin/notebook/notebooks.js.map +1 -1
- package/lib/plugin/notification.d.ts +22 -0
- package/lib/plugin/notification.d.ts.map +1 -1
- package/lib/plugin/notification.js.map +1 -1
- package/lib/plugin/output-channel/log-output-channel.d.ts +22 -0
- package/lib/plugin/output-channel/log-output-channel.d.ts.map +1 -1
- package/lib/plugin/output-channel/log-output-channel.js.map +1 -1
- package/lib/plugin/output-channel/output-channel-item.d.ts +22 -0
- package/lib/plugin/output-channel/output-channel-item.d.ts.map +1 -1
- package/lib/plugin/output-channel/output-channel-item.js.map +1 -1
- package/lib/plugin/output-channel-registry.d.ts +22 -0
- package/lib/plugin/output-channel-registry.d.ts.map +1 -1
- package/lib/plugin/output-channel-registry.js.map +1 -1
- package/lib/plugin/path.js.map +1 -1
- package/lib/plugin/plugin-context.d.ts +23 -0
- package/lib/plugin/plugin-context.d.ts.map +1 -1
- package/lib/plugin/plugin-context.js +16 -8
- package/lib/plugin/plugin-context.js.map +1 -1
- package/lib/plugin/plugin-icon-path.d.ts +1 -1
- package/lib/plugin/plugin-icon-path.d.ts.map +1 -1
- package/lib/plugin/plugin-icon-path.js +1 -1
- package/lib/plugin/plugin-icon-path.js.map +1 -1
- package/lib/plugin/plugin-manager.d.ts +24 -1
- package/lib/plugin/plugin-manager.d.ts.map +1 -1
- package/lib/plugin/plugin-manager.js +25 -27
- package/lib/plugin/plugin-manager.js.map +1 -1
- package/lib/plugin/plugin-storage.d.ts +22 -0
- package/lib/plugin/plugin-storage.d.ts.map +1 -1
- package/lib/plugin/plugin-storage.js +4 -4
- package/lib/plugin/plugin-storage.js.map +1 -1
- package/lib/plugin/preference-registry.d.ts +23 -1
- package/lib/plugin/preference-registry.d.ts.map +1 -1
- package/lib/plugin/preference-registry.js +11 -11
- package/lib/plugin/preference-registry.js.map +1 -1
- package/lib/plugin/prefix-sum-computer.js.map +1 -1
- package/lib/plugin/quick-open.d.ts +23 -1
- package/lib/plugin/quick-open.d.ts.map +1 -1
- package/lib/plugin/quick-open.js +5 -5
- package/lib/plugin/quick-open.js.map +1 -1
- package/lib/plugin/scm.d.ts +22 -0
- package/lib/plugin/scm.d.ts.map +1 -1
- package/lib/plugin/scm.js +57 -57
- package/lib/plugin/scm.js.map +1 -1
- package/lib/plugin/secrets-ext.d.ts +22 -0
- package/lib/plugin/secrets-ext.d.ts.map +1 -1
- package/lib/plugin/secrets-ext.js +4 -4
- package/lib/plugin/secrets-ext.js.map +1 -1
- package/lib/plugin/status-bar/status-bar-item.d.ts +22 -0
- package/lib/plugin/status-bar/status-bar-item.d.ts.map +1 -1
- package/lib/plugin/status-bar/status-bar-item.js.map +1 -1
- package/lib/plugin/status-bar-message-registry.d.ts +22 -0
- package/lib/plugin/status-bar-message-registry.d.ts.map +1 -1
- package/lib/plugin/status-bar-message-registry.js.map +1 -1
- package/lib/plugin/tabs.d.ts +22 -0
- package/lib/plugin/tabs.d.ts.map +1 -1
- package/lib/plugin/tabs.js +22 -18
- package/lib/plugin/tabs.js.map +1 -1
- package/lib/plugin/tasks/task-provider.d.ts +22 -0
- package/lib/plugin/tasks/task-provider.d.ts.map +1 -1
- package/lib/plugin/tasks/task-provider.js.map +1 -1
- package/lib/plugin/tasks/tasks.d.ts +23 -1
- package/lib/plugin/tasks/tasks.d.ts.map +1 -1
- package/lib/plugin/tasks/tasks.js.map +1 -1
- package/lib/plugin/telemetry-ext.js.map +1 -1
- package/lib/plugin/terminal-ext.d.ts +23 -0
- package/lib/plugin/terminal-ext.d.ts.map +1 -1
- package/lib/plugin/terminal-ext.js +15 -15
- package/lib/plugin/terminal-ext.js.map +1 -1
- package/lib/plugin/test-item.d.ts +22 -0
- package/lib/plugin/test-item.d.ts.map +1 -1
- package/lib/plugin/test-item.js +17 -17
- package/lib/plugin/test-item.js.map +1 -1
- package/lib/plugin/tests.d.ts +24 -2
- package/lib/plugin/tests.d.ts.map +1 -1
- package/lib/plugin/tests.js +8 -9
- package/lib/plugin/tests.js.map +1 -1
- package/lib/plugin/text-editor.d.ts +23 -1
- package/lib/plugin/text-editor.d.ts.map +1 -1
- package/lib/plugin/text-editor.js +0 -1
- package/lib/plugin/text-editor.js.map +1 -1
- package/lib/plugin/text-editors.d.ts +22 -0
- package/lib/plugin/text-editors.d.ts.map +1 -1
- package/lib/plugin/text-editors.js.map +1 -1
- package/lib/plugin/theming.js.map +1 -1
- package/lib/plugin/timeline.d.ts +23 -0
- package/lib/plugin/timeline.d.ts.map +1 -1
- package/lib/plugin/timeline.js.map +1 -1
- package/lib/plugin/tree/tree-views.d.ts +22 -0
- package/lib/plugin/tree/tree-views.d.ts.map +1 -1
- package/lib/plugin/tree/tree-views.js.map +1 -1
- package/lib/plugin/type-converters.d.ts +22 -0
- package/lib/plugin/type-converters.d.ts.map +1 -1
- package/lib/plugin/type-converters.js +33 -33
- package/lib/plugin/type-converters.js.map +1 -1
- package/lib/plugin/type-converters.spec.js.map +1 -1
- package/lib/plugin/types-impl.d.ts +44 -13
- package/lib/plugin/types-impl.d.ts.map +1 -1
- package/lib/plugin/types-impl.js +485 -469
- package/lib/plugin/types-impl.js.map +1 -1
- package/lib/plugin/types-impl.spec.js.map +1 -1
- package/lib/plugin/webview-views.d.ts +22 -0
- package/lib/plugin/webview-views.d.ts.map +1 -1
- package/lib/plugin/webview-views.js.map +1 -1
- package/lib/plugin/webviews.d.ts +22 -0
- package/lib/plugin/webviews.d.ts.map +1 -1
- package/lib/plugin/webviews.js +10 -10
- package/lib/plugin/webviews.js.map +1 -1
- package/lib/plugin/window-state.d.ts +25 -1
- package/lib/plugin/window-state.d.ts.map +1 -1
- package/lib/plugin/window-state.js +11 -6
- package/lib/plugin/window-state.js.map +1 -1
- package/lib/plugin/word-helper.js.map +1 -1
- package/lib/plugin/workspace.d.ts +22 -0
- package/lib/plugin/workspace.d.ts.map +1 -1
- package/lib/plugin/workspace.js +12 -12
- package/lib/plugin/workspace.js.map +1 -1
- package/package.json +29 -29
- package/src/common/plugin-api-rpc.ts +7 -6
- package/src/common/plugin-protocol.ts +1 -0
- package/src/hosted/node/hosted-plugin-deployer-handler.ts +6 -0
- package/src/main/browser/custom-editors/custom-editor-widget.ts +3 -10
- package/src/main/browser/custom-editors/custom-editors-main.ts +21 -42
- package/src/main/browser/editors-and-documents-main.ts +3 -3
- package/src/main/browser/notebooks/notebook-documents-main.ts +9 -7
- package/src/main/browser/notebooks/notebook-editors-main.ts +11 -6
- package/src/main/browser/notebooks/notebooks-main.ts +1 -1
- package/src/main/browser/notebooks/renderers/cell-output-webview.tsx +76 -1
- package/src/main/browser/notebooks/renderers/output-webview-internal.ts +10 -0
- package/src/main/browser/notebooks/renderers/webview-communication.ts +7 -1
- package/src/main/browser/plugin-ext-frontend-module.ts +0 -3
- package/src/main/browser/quick-open-main.ts +20 -7
- package/src/main/browser/tabs/tabs-main.ts +36 -9
- package/src/main/browser/webviews-main.ts +1 -1
- package/src/main/browser/window-activity-tracker.ts +96 -0
- package/src/main/browser/window-state-main.ts +10 -1
- package/src/main/node/plugin-ext-backend-module.ts +9 -0
- package/src/main/node/plugin-remote-cli-contribution.ts +36 -0
- package/src/main/node/plugin-remote-copy-contribution.ts +36 -0
- package/src/main/node/plugin-service.ts +1 -1
- package/src/plugin/authentication-ext.ts +11 -0
- package/src/plugin/custom-editors.ts +1 -1
- package/src/plugin/editors-and-documents.ts +4 -0
- package/src/plugin/notebook/notebook-document.ts +13 -3
- package/src/plugin/notebook/notebooks.ts +37 -14
- package/src/plugin/plugin-context.ts +10 -0
- package/src/plugin/quick-open.ts +1 -1
- package/src/plugin/tabs.ts +7 -2
- package/src/plugin/text-editor.ts +2 -3
- package/src/plugin/types-impl.ts +33 -10
- package/src/plugin/window-state.ts +13 -6
- package/lib/main/browser/view-column-service.d.ts +0 -24
- package/lib/main/browser/view-column-service.d.ts.map +0 -1
- package/lib/main/browser/view-column-service.js +0 -119
- package/lib/main/browser/view-column-service.js.map +0 -1
- package/src/main/browser/view-column-service.ts +0 -125
|
@@ -25,7 +25,7 @@ import { RPCProtocol } from '../../../common/rpc-protocol';
|
|
|
25
25
|
import { HostedPluginSupport } from '../../../hosted/browser/hosted-plugin';
|
|
26
26
|
import { PluginCustomEditorRegistry } from './plugin-custom-editor-registry';
|
|
27
27
|
import { CustomEditorWidget } from './custom-editor-widget';
|
|
28
|
-
import { Emitter
|
|
28
|
+
import { Emitter } from '@theia/core';
|
|
29
29
|
import { UriComponents } from '../../../common/uri-components';
|
|
30
30
|
import { URI } from '@theia/core/shared/vscode-uri';
|
|
31
31
|
import TheiaURI from '@theia/core/lib/common/uri';
|
|
@@ -139,14 +139,14 @@ export class CustomEditorsMainImpl implements CustomEditorsMain, Disposable {
|
|
|
139
139
|
widget.onMove(async (newResource: TheiaURI) => {
|
|
140
140
|
const oldModel = modelRef;
|
|
141
141
|
modelRef = await this.getOrCreateCustomEditorModel(modelType, newResource, viewType, onMoveCancelTokenSource.token);
|
|
142
|
-
this.proxy.$onMoveCustomEditor(identifier.id,
|
|
142
|
+
this.proxy.$onMoveCustomEditor(identifier.id, newResource.toComponents(), viewType);
|
|
143
143
|
oldModel.dispose();
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
const _cancellationSource = new CancellationTokenSource();
|
|
148
148
|
await this.proxy.$resolveWebviewEditor(
|
|
149
|
-
|
|
149
|
+
resource.toComponents(),
|
|
150
150
|
identifier.id,
|
|
151
151
|
viewType,
|
|
152
152
|
this.labelProvider.getName(resource)!,
|
|
@@ -189,7 +189,7 @@ export class CustomEditorsMainImpl implements CustomEditorsMain, Disposable {
|
|
|
189
189
|
return this.customEditorService.models.add(resource, viewType, model);
|
|
190
190
|
}
|
|
191
191
|
case CustomEditorModelType.Custom: {
|
|
192
|
-
const model = MainCustomEditorModel.create(this.proxy, viewType, resource, this.undoRedoService, this.fileService,
|
|
192
|
+
const model = MainCustomEditorModel.create(this.proxy, viewType, resource, this.undoRedoService, this.fileService, cancellationToken);
|
|
193
193
|
return this.customEditorService.models.add(resource, viewType, model);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -297,8 +297,8 @@ export class MainCustomEditorModel implements CustomEditorModel {
|
|
|
297
297
|
private readonly onDirtyChangedEmitter = new Emitter<void>();
|
|
298
298
|
readonly onDirtyChanged = this.onDirtyChangedEmitter.event;
|
|
299
299
|
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
private readonly onContentChangedEmitter = new Emitter<void>();
|
|
301
|
+
readonly onContentChanged = this.onContentChangedEmitter.event;
|
|
302
302
|
|
|
303
303
|
static async create(
|
|
304
304
|
proxy: CustomEditorsExt,
|
|
@@ -306,11 +306,10 @@ export class MainCustomEditorModel implements CustomEditorModel {
|
|
|
306
306
|
resource: TheiaURI,
|
|
307
307
|
undoRedoService: UndoRedoService,
|
|
308
308
|
fileService: FileService,
|
|
309
|
-
editorPreferences: EditorPreferences,
|
|
310
309
|
cancellation: CancellationToken,
|
|
311
310
|
): Promise<MainCustomEditorModel> {
|
|
312
|
-
const { editable } = await proxy.$createCustomDocument(
|
|
313
|
-
return new MainCustomEditorModel(proxy, viewType, resource, editable, undoRedoService, fileService
|
|
311
|
+
const { editable } = await proxy.$createCustomDocument(resource.toComponents(), viewType, {}, cancellation);
|
|
312
|
+
return new MainCustomEditorModel(proxy, viewType, resource, editable, undoRedoService, fileService);
|
|
314
313
|
}
|
|
315
314
|
|
|
316
315
|
constructor(
|
|
@@ -319,27 +318,13 @@ export class MainCustomEditorModel implements CustomEditorModel {
|
|
|
319
318
|
private readonly editorResource: TheiaURI,
|
|
320
319
|
private readonly editable: boolean,
|
|
321
320
|
private readonly undoRedoService: UndoRedoService,
|
|
322
|
-
private readonly fileService: FileService
|
|
323
|
-
private readonly editorPreferences: EditorPreferences
|
|
321
|
+
private readonly fileService: FileService
|
|
324
322
|
) {
|
|
325
|
-
this.autoSave = this.editorPreferences.get('files.autoSave', undefined, editorResource.toString());
|
|
326
|
-
this.autoSaveDelay = this.editorPreferences.get('files.autoSaveDelay', undefined, editorResource.toString());
|
|
327
|
-
|
|
328
|
-
this.toDispose.push(
|
|
329
|
-
this.editorPreferences.onPreferenceChanged(event => {
|
|
330
|
-
if (event.preferenceName === 'files.autoSave') {
|
|
331
|
-
this.autoSave = this.editorPreferences.get('files.autoSave', undefined, editorResource.toString());
|
|
332
|
-
}
|
|
333
|
-
if (event.preferenceName === 'files.autoSaveDelay') {
|
|
334
|
-
this.autoSaveDelay = this.editorPreferences.get('files.autoSaveDelay', undefined, editorResource.toString());
|
|
335
|
-
}
|
|
336
|
-
})
|
|
337
|
-
);
|
|
338
323
|
this.toDispose.push(this.onDirtyChangedEmitter);
|
|
339
324
|
}
|
|
340
325
|
|
|
341
326
|
get resource(): URI {
|
|
342
|
-
return URI.
|
|
327
|
+
return URI.from(this.editorResource.toComponents());
|
|
343
328
|
}
|
|
344
329
|
|
|
345
330
|
get dirty(): boolean {
|
|
@@ -441,7 +426,7 @@ export class MainCustomEditorModel implements CustomEditorModel {
|
|
|
441
426
|
async saveCustomEditorAs(resource: TheiaURI, targetResource: TheiaURI, options?: SaveOptions): Promise<void> {
|
|
442
427
|
if (this.editable) {
|
|
443
428
|
const source = new CancellationTokenSource();
|
|
444
|
-
await this.proxy.$onSaveAs(this.resource, this.viewType,
|
|
429
|
+
await this.proxy.$onSaveAs(this.resource, this.viewType, targetResource.toComponents(), source.token);
|
|
445
430
|
this.change(() => {
|
|
446
431
|
this.savePoint = this.currentEditIndex;
|
|
447
432
|
});
|
|
@@ -505,13 +490,7 @@ export class MainCustomEditorModel implements CustomEditorModel {
|
|
|
505
490
|
if (this.dirty !== wasDirty) {
|
|
506
491
|
this.onDirtyChangedEmitter.fire();
|
|
507
492
|
}
|
|
508
|
-
|
|
509
|
-
if (this.autoSave !== 'off' && this.dirty && this.resource.scheme !== UNTITLED_SCHEME) {
|
|
510
|
-
const handle = window.setTimeout(() => {
|
|
511
|
-
this.save();
|
|
512
|
-
window.clearTimeout(handle);
|
|
513
|
-
}, this.autoSaveDelay);
|
|
514
|
-
}
|
|
493
|
+
this.onContentChangedEmitter.fire();
|
|
515
494
|
}
|
|
516
495
|
|
|
517
496
|
}
|
|
@@ -521,6 +500,8 @@ export class CustomTextEditorModel implements CustomEditorModel {
|
|
|
521
500
|
private readonly toDispose = new DisposableCollection();
|
|
522
501
|
private readonly onDirtyChangedEmitter = new Emitter<void>();
|
|
523
502
|
readonly onDirtyChanged = this.onDirtyChangedEmitter.event;
|
|
503
|
+
private readonly onContentChangedEmitter = new Emitter<void>();
|
|
504
|
+
readonly onContentChanged = this.onContentChangedEmitter.event;
|
|
524
505
|
|
|
525
506
|
static async create(
|
|
526
507
|
viewType: string,
|
|
@@ -544,15 +525,13 @@ export class CustomTextEditorModel implements CustomEditorModel {
|
|
|
544
525
|
this.onDirtyChangedEmitter.fire();
|
|
545
526
|
})
|
|
546
527
|
);
|
|
528
|
+
this.toDispose.push(
|
|
529
|
+
this.editorTextModel.onContentChanged(e => {
|
|
530
|
+
this.onContentChangedEmitter.fire();
|
|
531
|
+
})
|
|
532
|
+
);
|
|
547
533
|
this.toDispose.push(this.onDirtyChangedEmitter);
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
get autoSave(): 'off' | 'afterDelay' | 'onFocusChange' | 'onWindowChange' {
|
|
551
|
-
return this.editorTextModel.autoSave;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
get autoSaveDelay(): number {
|
|
555
|
-
return this.editorTextModel.autoSaveDelay;
|
|
534
|
+
this.toDispose.push(this.onContentChangedEmitter);
|
|
556
535
|
}
|
|
557
536
|
|
|
558
537
|
dispose(): void {
|
|
@@ -561,7 +540,7 @@ export class CustomTextEditorModel implements CustomEditorModel {
|
|
|
561
540
|
}
|
|
562
541
|
|
|
563
542
|
get resource(): URI {
|
|
564
|
-
return URI.
|
|
543
|
+
return URI.from(this.editorResource.toComponents());
|
|
565
544
|
}
|
|
566
545
|
|
|
567
546
|
get dirty(): boolean {
|
|
@@ -32,7 +32,7 @@ import { MonacoEditor } from '@theia/monaco/lib/browser/monaco-editor';
|
|
|
32
32
|
import { TextEditorMain } from './text-editor-main';
|
|
33
33
|
import { DisposableCollection, Emitter, URI } from '@theia/core';
|
|
34
34
|
import { EditorManager, EditorWidget } from '@theia/editor/lib/browser';
|
|
35
|
-
import {
|
|
35
|
+
import { SaveableService } from '@theia/core/lib/browser/saveable-service';
|
|
36
36
|
|
|
37
37
|
export class EditorsAndDocumentsMain implements Disposable {
|
|
38
38
|
|
|
@@ -43,7 +43,7 @@ export class EditorsAndDocumentsMain implements Disposable {
|
|
|
43
43
|
|
|
44
44
|
private readonly modelService: EditorModelService;
|
|
45
45
|
private readonly editorManager: EditorManager;
|
|
46
|
-
private readonly saveResourceService:
|
|
46
|
+
private readonly saveResourceService: SaveableService;
|
|
47
47
|
|
|
48
48
|
private readonly onTextEditorAddEmitter = new Emitter<TextEditorMain[]>();
|
|
49
49
|
private readonly onTextEditorRemoveEmitter = new Emitter<string[]>();
|
|
@@ -64,7 +64,7 @@ export class EditorsAndDocumentsMain implements Disposable {
|
|
|
64
64
|
|
|
65
65
|
this.editorManager = container.get(EditorManager);
|
|
66
66
|
this.modelService = container.get(EditorModelService);
|
|
67
|
-
this.saveResourceService = container.get(
|
|
67
|
+
this.saveResourceService = container.get(SaveableService);
|
|
68
68
|
|
|
69
69
|
this.stateComputer = new EditorAndDocumentStateComputer(d => this.onDelta(d), this.editorManager, this.modelService);
|
|
70
70
|
this.toDispose.push(this.stateComputer);
|
|
@@ -25,6 +25,7 @@ import { MAIN_RPC_CONTEXT, NotebookCellsChangedEventDto, NotebookDataDto, Notebo
|
|
|
25
25
|
import { RPCProtocol } from '../../../common/rpc-protocol';
|
|
26
26
|
import { NotebookDto } from './notebook-dto';
|
|
27
27
|
import { MonacoEditorModel } from '@theia/monaco/lib/browser/monaco-editor-model';
|
|
28
|
+
import { NotebookOpenHandler } from '@theia/notebook/lib/browser/notebook-open-handler';
|
|
28
29
|
|
|
29
30
|
export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
|
|
30
31
|
|
|
@@ -35,7 +36,8 @@ export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
|
|
|
35
36
|
|
|
36
37
|
protected readonly notebookModelResolverService: NotebookModelResolverService;
|
|
37
38
|
|
|
38
|
-
protected notebookMonacoTextModelService: NotebookMonacoTextModelService;
|
|
39
|
+
protected readonly notebookMonacoTextModelService: NotebookMonacoTextModelService;
|
|
40
|
+
protected readonly notebookOpenHandler: NotebookOpenHandler;
|
|
39
41
|
|
|
40
42
|
constructor(
|
|
41
43
|
rpc: RPCProtocol,
|
|
@@ -43,6 +45,7 @@ export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
|
|
|
43
45
|
) {
|
|
44
46
|
this.proxy = rpc.getProxy(MAIN_RPC_CONTEXT.NOTEBOOK_DOCUMENTS_EXT);
|
|
45
47
|
this.notebookModelResolverService = container.get(NotebookModelResolverService);
|
|
48
|
+
this.notebookOpenHandler = container.get(NotebookOpenHandler);
|
|
46
49
|
|
|
47
50
|
// forward dirty and save events
|
|
48
51
|
this.disposables.push(this.notebookModelResolverService.onDidChangeDirty(model => this.proxy.$acceptDirtyStateChanged(model.uri.toComponents(), model.isDirty())));
|
|
@@ -157,10 +160,10 @@ export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
|
|
|
157
160
|
this.proxy.$acceptDirtyStateChanged(ref.uri.toComponents(), true);
|
|
158
161
|
|
|
159
162
|
// apply content changes... slightly HACKY -> this triggers a change event
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
if (options.content) {
|
|
164
|
+
const data = NotebookDto.fromNotebookDataDto(options.content);
|
|
165
|
+
ref.setData(data);
|
|
166
|
+
}
|
|
164
167
|
return ref.uri.toComponents();
|
|
165
168
|
}
|
|
166
169
|
|
|
@@ -171,9 +174,8 @@ export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
|
|
|
171
174
|
|
|
172
175
|
async $trySaveNotebook(uriComponents: UriComponents): Promise<boolean> {
|
|
173
176
|
const uri = URI.fromComponents(uriComponents);
|
|
174
|
-
|
|
175
177
|
const ref = await this.notebookModelResolverService.resolve(uri);
|
|
176
|
-
await ref.save(
|
|
178
|
+
await ref.save();
|
|
177
179
|
ref.dispose();
|
|
178
180
|
return true;
|
|
179
181
|
}
|
|
@@ -20,16 +20,17 @@
|
|
|
20
20
|
|
|
21
21
|
import { UriComponents, URI } from '@theia/core/lib/common/uri';
|
|
22
22
|
import { CellRange } from '@theia/notebook/lib/common';
|
|
23
|
-
import { NotebookEditorWidget } from '@theia/notebook/lib/browser';
|
|
23
|
+
import { NotebookEditorWidget, NotebookService } from '@theia/notebook/lib/browser';
|
|
24
24
|
import { MAIN_RPC_CONTEXT, NotebookDocumentShowOptions, NotebookEditorRevealType, NotebookEditorsExt, NotebookEditorsMain } from '../../../common';
|
|
25
25
|
import { RPCProtocol } from '../../../common/rpc-protocol';
|
|
26
26
|
import { interfaces } from '@theia/core/shared/inversify';
|
|
27
|
-
import {
|
|
27
|
+
import { NotebookOpenHandler } from '@theia/notebook/lib/browser/notebook-open-handler';
|
|
28
28
|
|
|
29
29
|
export class NotebookEditorsMainImpl implements NotebookEditorsMain {
|
|
30
30
|
|
|
31
31
|
protected readonly proxy: NotebookEditorsExt;
|
|
32
|
-
protected readonly
|
|
32
|
+
protected readonly notebookService: NotebookService;
|
|
33
|
+
protected readonly notebookOpenHandler: NotebookOpenHandler;
|
|
33
34
|
|
|
34
35
|
protected readonly mainThreadEditors = new Map<string, NotebookEditorWidget>();
|
|
35
36
|
|
|
@@ -38,12 +39,16 @@ export class NotebookEditorsMainImpl implements NotebookEditorsMain {
|
|
|
38
39
|
container: interfaces.Container
|
|
39
40
|
) {
|
|
40
41
|
this.proxy = rpc.getProxy(MAIN_RPC_CONTEXT.NOTEBOOK_EDITORS_EXT);
|
|
41
|
-
this.
|
|
42
|
+
this.notebookService = container.get(NotebookService);
|
|
43
|
+
this.notebookOpenHandler = container.get(NotebookOpenHandler);
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
async $tryShowNotebookDocument(uriComponents: UriComponents, viewType: string, options: NotebookDocumentShowOptions): Promise<string> {
|
|
45
|
-
const editor = await open(
|
|
46
|
-
|
|
47
|
+
const editor = await this.notebookOpenHandler.open(URI.fromComponents(uriComponents), {
|
|
48
|
+
notebookType: viewType
|
|
49
|
+
});
|
|
50
|
+
await editor.ready;
|
|
51
|
+
return editor.id;
|
|
47
52
|
}
|
|
48
53
|
$tryRevealRange(id: string, range: CellRange, revealType: NotebookEditorRevealType): Promise<void> {
|
|
49
54
|
throw new Error('Method not implemented.');
|
|
@@ -58,7 +58,7 @@ export class NotebooksMainImpl implements NotebooksMain {
|
|
|
58
58
|
const plugins = container.get(HostedPluginSupport);
|
|
59
59
|
|
|
60
60
|
this.proxy = rpc.getProxy(MAIN_RPC_CONTEXT.NOTEBOOKS_EXT);
|
|
61
|
-
this.notebookService.onWillUseNotebookSerializer(
|
|
61
|
+
this.notebookService.onWillUseNotebookSerializer(event => plugins.activateByNotebookSerializer(event));
|
|
62
62
|
this.notebookService.markReady();
|
|
63
63
|
commands.registerArgumentProcessor({
|
|
64
64
|
processArgument: arg => {
|
|
@@ -38,15 +38,82 @@ import { NotebookModel } from '@theia/notebook/lib/browser/view-model/notebook-m
|
|
|
38
38
|
|
|
39
39
|
const CellModel = Symbol('CellModel');
|
|
40
40
|
const Notebook = Symbol('NotebookModel');
|
|
41
|
+
export const AdditionalNotebookCellOutputCss = Symbol('AdditionalNotebookCellOutputCss');
|
|
41
42
|
|
|
42
43
|
export function createCellOutputWebviewContainer(ctx: interfaces.Container, cell: NotebookCellModel, notebook: NotebookModel): interfaces.Container {
|
|
43
44
|
const child = ctx.createChild();
|
|
44
45
|
child.bind(CellModel).toConstantValue(cell);
|
|
45
46
|
child.bind(Notebook).toConstantValue(notebook);
|
|
47
|
+
child.bind(AdditionalNotebookCellOutputCss).toConstantValue(DEFAULT_NOTEBOOK_OUTPUT_CSS);
|
|
46
48
|
child.bind(CellOutputWebviewImpl).toSelf().inSingletonScope();
|
|
47
49
|
return child;
|
|
48
50
|
}
|
|
49
51
|
|
|
52
|
+
export const DEFAULT_NOTEBOOK_OUTPUT_CSS = `
|
|
53
|
+
table {
|
|
54
|
+
border-collapse: collapse;
|
|
55
|
+
border-spacing: 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
table th,
|
|
59
|
+
table td {
|
|
60
|
+
border: 1px solid;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
table > thead > tr > th {
|
|
64
|
+
text-align: left;
|
|
65
|
+
border-bottom: 1px solid;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
table > thead > tr > th,
|
|
69
|
+
table > thead > tr > td,
|
|
70
|
+
table > tbody > tr > th,
|
|
71
|
+
table > tbody > tr > td {
|
|
72
|
+
padding: 5px 10px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
table > tbody > tr + tr > td {
|
|
76
|
+
border-top: 1px solid;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
table,
|
|
80
|
+
thead,
|
|
81
|
+
tr,
|
|
82
|
+
th,
|
|
83
|
+
td,
|
|
84
|
+
tbody {
|
|
85
|
+
border: none !important;
|
|
86
|
+
border-color: transparent;
|
|
87
|
+
border-spacing: 0;
|
|
88
|
+
border-collapse: collapse;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
table,
|
|
92
|
+
th,
|
|
93
|
+
tr {
|
|
94
|
+
vertical-align: middle;
|
|
95
|
+
text-align: right;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
thead {
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
background-color: rgba(130, 130, 130, 0.16);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
th,
|
|
104
|
+
td {
|
|
105
|
+
padding: 4px 8px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
tr:nth-child(even) {
|
|
109
|
+
background-color: rgba(130, 130, 130, 0.08);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
tbody th {
|
|
113
|
+
font-weight: normal;
|
|
114
|
+
}
|
|
115
|
+
`;
|
|
116
|
+
|
|
50
117
|
@injectable()
|
|
51
118
|
export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
|
|
52
119
|
|
|
@@ -77,6 +144,9 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
|
|
|
77
144
|
@inject(QuickPickService)
|
|
78
145
|
protected readonly quickPickService: QuickPickService;
|
|
79
146
|
|
|
147
|
+
@inject(AdditionalNotebookCellOutputCss)
|
|
148
|
+
protected readonly additionalOutputCss: string;
|
|
149
|
+
|
|
80
150
|
readonly id = generateUuid();
|
|
81
151
|
|
|
82
152
|
protected editor: NotebookEditorWidget | undefined;
|
|
@@ -129,7 +199,7 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
|
|
|
129
199
|
'jupyter.viewOutput',
|
|
130
200
|
'workbench.action.openLargeOutput',
|
|
131
201
|
'cellOutput.enableScrolling',
|
|
132
|
-
]
|
|
202
|
+
],
|
|
133
203
|
});
|
|
134
204
|
this.webviewWidget.setHTML(await this.createWebviewContent());
|
|
135
205
|
|
|
@@ -216,6 +286,8 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
|
|
|
216
286
|
// console.log('from webview customKernelMessage ', JSON.stringify(message.message));
|
|
217
287
|
this.editor.recieveKernelMessage(message.message);
|
|
218
288
|
break;
|
|
289
|
+
case 'inputFocusChanged':
|
|
290
|
+
this.editor?.outputInputFocusChanged(message.focused);
|
|
219
291
|
}
|
|
220
292
|
}
|
|
221
293
|
|
|
@@ -236,6 +308,9 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
|
|
|
236
308
|
<html>
|
|
237
309
|
<head>
|
|
238
310
|
<meta charset="UTF-8">
|
|
311
|
+
<style>
|
|
312
|
+
${this.additionalOutputCss}
|
|
313
|
+
</style>
|
|
239
314
|
</head>
|
|
240
315
|
<body>
|
|
241
316
|
<script type="module">${preloads}</script>
|
|
@@ -581,5 +581,15 @@ export async function outputWebviewPreload(ctx: PreloadContext): Promise<void> {
|
|
|
581
581
|
return this.originalAppendChild(node);
|
|
582
582
|
};
|
|
583
583
|
|
|
584
|
+
const focusChange = (event: FocusEvent, focus: boolean) => {
|
|
585
|
+
if (event.target instanceof HTMLInputElement) {
|
|
586
|
+
theia.postMessage({ type: 'inputFocusChanged', focused: focus } as webviewCommunication.InputFocusChange);
|
|
587
|
+
}
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
window.addEventListener('focusin', (event: FocusEvent) => focusChange(event, true));
|
|
591
|
+
|
|
592
|
+
window.addEventListener('focusout', (event: FocusEvent) => focusChange(event, false));
|
|
593
|
+
|
|
584
594
|
theia.postMessage(<webviewCommunication.WebviewInitialized>{ type: 'initialized' });
|
|
585
595
|
}
|
|
@@ -76,7 +76,12 @@ export interface WheelMessage {
|
|
|
76
76
|
readonly deltaX: number;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export
|
|
79
|
+
export interface InputFocusChange {
|
|
80
|
+
readonly type: 'inputFocusChanged';
|
|
81
|
+
readonly focused: boolean;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type FromWebviewMessage = WebviewInitialized | OnDidRenderOutput | WheelMessage | CustomRendererMessage | KernelMessage | InputFocusChange;
|
|
80
85
|
|
|
81
86
|
export interface Output {
|
|
82
87
|
id: string
|
|
@@ -88,3 +93,4 @@ export interface OutputItem {
|
|
|
88
93
|
readonly mime: string;
|
|
89
94
|
readonly data: Uint8Array;
|
|
90
95
|
}
|
|
96
|
+
|
|
@@ -47,7 +47,6 @@ import { PluginDebugService } from './debug/plugin-debug-service';
|
|
|
47
47
|
import { DebugService } from '@theia/debug/lib/common/debug-service';
|
|
48
48
|
import { PluginSharedStyle } from './plugin-shared-style';
|
|
49
49
|
import { SelectionProviderCommandContribution } from './selection-provider-command';
|
|
50
|
-
import { ViewColumnService } from './view-column-service';
|
|
51
50
|
import { ViewContextKeyService } from './view/view-context-key-service';
|
|
52
51
|
import { PluginViewWidget, PluginViewWidgetIdentifier } from './view/plugin-view-widget';
|
|
53
52
|
import { TreeViewWidgetOptions, VIEW_ITEM_CONTEXT_MENU, PluginTree, TreeViewWidget, PluginTreeModel } from './view/tree-view-widget';
|
|
@@ -244,8 +243,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
|
244
243
|
bind(PluginDebugSessionContributionRegistry).toSelf().inSingletonScope();
|
|
245
244
|
rebind(DebugSessionContributionRegistry).toService(PluginDebugSessionContributionRegistry);
|
|
246
245
|
|
|
247
|
-
bind(ViewColumnService).toSelf().inSingletonScope();
|
|
248
|
-
|
|
249
246
|
bind(CommentsService).to(PluginCommentService).inSingletonScope();
|
|
250
247
|
bind(CommentingRangeDecorator).toSelf().inSingletonScope();
|
|
251
248
|
bind(CommentsContribution).toSelf().inSingletonScope();
|
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
QuickInputButtonHandle,
|
|
36
36
|
QuickInputService,
|
|
37
37
|
QuickPickItem,
|
|
38
|
+
QuickPickItemOrSeparator,
|
|
38
39
|
codiconArray
|
|
39
40
|
} from '@theia/core/lib/browser';
|
|
40
41
|
import { DisposableCollection, Disposable } from '@theia/core/lib/common/disposable';
|
|
@@ -46,10 +47,11 @@ import { UriComponents } from '../../common/uri-components';
|
|
|
46
47
|
import { URI } from '@theia/core/shared/vscode-uri';
|
|
47
48
|
import { ThemeIcon } from '@theia/monaco-editor-core/esm/vs/base/common/themables';
|
|
48
49
|
import { isUriComponents } from '@theia/monaco-editor-core/esm/vs/base/common/uri';
|
|
50
|
+
import { QuickPickSeparator } from '@theia/core';
|
|
49
51
|
|
|
50
52
|
export interface QuickInputSession {
|
|
51
53
|
input: QuickInput;
|
|
52
|
-
handlesToItems: Map<number,
|
|
54
|
+
handlesToItems: Map<number, QuickPickItemOrSeparator>;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
interface IconPath {
|
|
@@ -63,7 +65,7 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
|
|
|
63
65
|
private proxy: QuickOpenExt;
|
|
64
66
|
private delegate: MonacoQuickInputService;
|
|
65
67
|
private readonly items: Record<number, {
|
|
66
|
-
resolve(items:
|
|
68
|
+
resolve(items: QuickPickItemOrSeparator[]): void;
|
|
67
69
|
reject(error: Error): void;
|
|
68
70
|
}> = {};
|
|
69
71
|
|
|
@@ -80,7 +82,7 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
|
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
async $show(instance: number, options: TransferQuickPickOptions<TransferQuickPickItem>, token: CancellationToken): Promise<number | number[] | undefined> {
|
|
83
|
-
const contents = new Promise<
|
|
85
|
+
const contents = new Promise<QuickPickItemOrSeparator[]>((resolve, reject) => {
|
|
84
86
|
this.items[instance] = { resolve, reject };
|
|
85
87
|
});
|
|
86
88
|
|
|
@@ -92,7 +94,7 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
|
|
|
92
94
|
this.proxy.$onItemSelected(Number.parseInt((<QuickPickItem>el).id!));
|
|
93
95
|
}
|
|
94
96
|
},
|
|
95
|
-
activeItem: activeItem ? this.toQuickPickItem(activeItem) : undefined
|
|
97
|
+
activeItem: this.isItem(activeItem) ? this.toQuickPickItem(activeItem) : undefined
|
|
96
98
|
};
|
|
97
99
|
|
|
98
100
|
const result = await this.delegate.pick(contents, transformedOptions, token);
|
|
@@ -105,6 +107,10 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
|
|
|
105
107
|
return undefined;
|
|
106
108
|
}
|
|
107
109
|
|
|
110
|
+
private isItem(item?: TransferQuickPickItem): item is TransferQuickPickItem & { kind: 'item' } {
|
|
111
|
+
return item?.kind === 'item';
|
|
112
|
+
}
|
|
113
|
+
|
|
108
114
|
private normalizeIconPath(path: UriComponents | { light: UriComponents; dark: UriComponents } | ThemeIcon | undefined): {
|
|
109
115
|
iconPath?: IconPath
|
|
110
116
|
iconClasses?: string[]
|
|
@@ -127,10 +133,17 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
|
|
|
127
133
|
}
|
|
128
134
|
|
|
129
135
|
private toQuickPickItem(item: undefined): undefined;
|
|
130
|
-
private toQuickPickItem(item: TransferQuickPickItem): QuickPickItem
|
|
131
|
-
private toQuickPickItem(item: TransferQuickPickItem
|
|
136
|
+
private toQuickPickItem(item: TransferQuickPickItem & { kind: 'item' }): QuickPickItem;
|
|
137
|
+
private toQuickPickItem(item: TransferQuickPickItem & { kind: 'separator' }): QuickPickSeparator;
|
|
138
|
+
private toQuickPickItem(item: TransferQuickPickItem): QuickPickItemOrSeparator;
|
|
139
|
+
private toQuickPickItem(item: TransferQuickPickItem | undefined): QuickPickItemOrSeparator | undefined {
|
|
132
140
|
if (!item) {
|
|
133
141
|
return undefined;
|
|
142
|
+
} else if (item.kind === 'separator') {
|
|
143
|
+
return {
|
|
144
|
+
type: 'separator',
|
|
145
|
+
label: item.label
|
|
146
|
+
};
|
|
134
147
|
}
|
|
135
148
|
return {
|
|
136
149
|
...this.normalizeIconPath(item.iconPath),
|
|
@@ -309,7 +322,7 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
|
|
|
309
322
|
}
|
|
310
323
|
} else if (param === 'items') {
|
|
311
324
|
handlesToItems.clear();
|
|
312
|
-
const items:
|
|
325
|
+
const items: QuickPickItemOrSeparator[] = [];
|
|
313
326
|
params[param].forEach((transferItem: TransferQuickPickItem) => {
|
|
314
327
|
const item = this.toQuickPickItem(transferItem);
|
|
315
328
|
items.push(item);
|
|
@@ -24,6 +24,8 @@ import { MonacoDiffEditor } from '@theia/monaco/lib/browser/monaco-diff-editor';
|
|
|
24
24
|
import { toUriComponents } from '../hierarchy/hierarchy-types-converters';
|
|
25
25
|
import { TerminalWidget } from '@theia/terminal/lib/browser/base/terminal-widget';
|
|
26
26
|
import { DisposableCollection } from '@theia/core';
|
|
27
|
+
import { NotebookEditorWidget } from '@theia/notebook/lib/browser';
|
|
28
|
+
import { ViewColumnService } from '@theia/core/lib/browser/shell/view-column-service';
|
|
27
29
|
|
|
28
30
|
interface TabInfo {
|
|
29
31
|
tab: TabDto;
|
|
@@ -46,6 +48,14 @@ export class TabsMainImpl implements TabsMain, Disposable {
|
|
|
46
48
|
private currentActiveGroup: TabGroupDto;
|
|
47
49
|
|
|
48
50
|
private tabGroupChanged: boolean = false;
|
|
51
|
+
private viewColumnService: ViewColumnService;
|
|
52
|
+
|
|
53
|
+
private readonly defaultTabGroup: TabGroupDto = {
|
|
54
|
+
groupId: 0,
|
|
55
|
+
tabs: [],
|
|
56
|
+
isActive: true,
|
|
57
|
+
viewColumn: 0
|
|
58
|
+
};
|
|
49
59
|
|
|
50
60
|
constructor(
|
|
51
61
|
rpc: RPCProtocol,
|
|
@@ -54,6 +64,7 @@ export class TabsMainImpl implements TabsMain, Disposable {
|
|
|
54
64
|
this.proxy = rpc.getProxy(MAIN_RPC_CONTEXT.TABS_EXT);
|
|
55
65
|
|
|
56
66
|
this.applicationShell = container.get(ApplicationShell);
|
|
67
|
+
this.viewColumnService = container.get(ViewColumnService);
|
|
57
68
|
this.createTabsModel();
|
|
58
69
|
|
|
59
70
|
const tabBars = this.applicationShell.mainPanel.tabBars();
|
|
@@ -100,15 +111,20 @@ export class TabsMainImpl implements TabsMain, Disposable {
|
|
|
100
111
|
}
|
|
101
112
|
|
|
102
113
|
protected createTabsModel(): void {
|
|
114
|
+
if (this.applicationShell.mainAreaTabBars.length === 0) {
|
|
115
|
+
this.proxy.$acceptEditorTabModel([this.defaultTabGroup]);
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
103
118
|
const newTabGroupModel = new Map<TabBar<Widget>, TabGroupDto>();
|
|
104
119
|
this.tabInfoLookup.clear();
|
|
105
120
|
this.disposableTabBarListeners.dispose();
|
|
106
|
-
this.applicationShell.mainAreaTabBars
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
121
|
+
this.applicationShell.mainAreaTabBars
|
|
122
|
+
.forEach((tabBar, i) => {
|
|
123
|
+
this.attachListenersToTabBar(tabBar);
|
|
124
|
+
const groupDto = this.createTabGroupDto(tabBar, i);
|
|
125
|
+
tabBar.titles.forEach((title, index) => this.tabInfoLookup.set(title, { group: groupDto, tab: groupDto.tabs[index], tabIndex: index }));
|
|
126
|
+
newTabGroupModel.set(tabBar, groupDto);
|
|
127
|
+
});
|
|
112
128
|
if (newTabGroupModel.size > 0 && Array.from(newTabGroupModel.values()).indexOf(this.currentActiveGroup) < 0) {
|
|
113
129
|
this.currentActiveGroup = this.tabInfoLookup.get(this.applicationShell.mainPanel.currentTitle!)?.group ?? newTabGroupModel.values().next().value;
|
|
114
130
|
this.currentActiveGroup.isActive = true;
|
|
@@ -134,15 +150,17 @@ export class TabsMainImpl implements TabsMain, Disposable {
|
|
|
134
150
|
return `${groupId}~${tabTitle.owner.id}`;
|
|
135
151
|
}
|
|
136
152
|
|
|
137
|
-
protected createTabGroupDto(tabBar: TabBar<Widget
|
|
138
|
-
const oldDto = this.tabGroupModel.get(tabBar);
|
|
153
|
+
protected createTabGroupDto(tabBar: TabBar<Widget>, index: number): TabGroupDto {
|
|
154
|
+
const oldDto = index === 0 ? this.defaultTabGroup : this.tabGroupModel.get(tabBar);
|
|
139
155
|
const groupId = oldDto?.groupId ?? this.groupIdCounter++;
|
|
140
156
|
const tabs = tabBar.titles.map(title => this.createTabDto(title, groupId));
|
|
157
|
+
const viewColumn = this.viewColumnService.getViewColumn(tabBar.id)
|
|
158
|
+
?? this.applicationShell.allTabBars.indexOf(tabBar);
|
|
141
159
|
return {
|
|
142
160
|
groupId,
|
|
143
161
|
tabs,
|
|
144
162
|
isActive: false,
|
|
145
|
-
viewColumn
|
|
163
|
+
viewColumn
|
|
146
164
|
};
|
|
147
165
|
}
|
|
148
166
|
|
|
@@ -182,6 +200,12 @@ export class TabsMainImpl implements TabsMain, Disposable {
|
|
|
182
200
|
return {
|
|
183
201
|
kind: TabInputKind.TerminalEditorInput
|
|
184
202
|
};
|
|
203
|
+
} else if (widget instanceof NotebookEditorWidget) {
|
|
204
|
+
return {
|
|
205
|
+
kind: TabInputKind.NotebookInput,
|
|
206
|
+
notebookType: widget.notebookType,
|
|
207
|
+
uri: toUriComponents(widget.model?.uri.toString() ?? '')
|
|
208
|
+
};
|
|
185
209
|
}
|
|
186
210
|
|
|
187
211
|
return { kind: TabInputKind.UnknownInput };
|
|
@@ -232,6 +256,9 @@ export class TabsMainImpl implements TabsMain, Disposable {
|
|
|
232
256
|
}
|
|
233
257
|
const oldTabDto = tabInfo.tab;
|
|
234
258
|
const newTabDto = this.createTabDto(title, tabInfo.group.groupId);
|
|
259
|
+
if (!oldTabDto.isActive && newTabDto.isActive) {
|
|
260
|
+
this.currentActiveGroup.tabs.filter(tab => tab.isActive).forEach(tab => tab.isActive = false);
|
|
261
|
+
}
|
|
235
262
|
if (newTabDto.isActive && !tabInfo.group.isActive) {
|
|
236
263
|
tabInfo.group.isActive = true;
|
|
237
264
|
this.currentActiveGroup.isActive = false;
|
|
@@ -23,7 +23,7 @@ import { ViewBadge, WebviewOptions, WebviewPanelOptions, WebviewPanelShowOptions
|
|
|
23
23
|
import { ApplicationShell } from '@theia/core/lib/browser/shell/application-shell';
|
|
24
24
|
import { WebviewWidget, WebviewWidgetIdentifier } from './webview/webview';
|
|
25
25
|
import { Disposable, DisposableCollection } from '@theia/core/lib/common/disposable';
|
|
26
|
-
import { ViewColumnService } from '
|
|
26
|
+
import { ViewColumnService } from '@theia/core/lib/browser/shell/view-column-service';
|
|
27
27
|
import { WidgetManager } from '@theia/core/lib/browser/widget-manager';
|
|
28
28
|
import { JSONExt } from '@theia/core/shared/@phosphor/coreutils';
|
|
29
29
|
import { Mutable } from '@theia/core/lib/common/types';
|