@theia/plugin-ext 1.46.0-next.196 → 1.46.0-next.226
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 +24 -38
- 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.js +1 -1
- 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.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 +1 -1
- package/lib/main/browser/notebooks/notebooks-main.js.map +1 -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 +28 -27
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +2 -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.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.js +4 -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 +13 -13
- 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 +22 -0
- package/lib/plugin/notebook/notebooks.d.ts.map +1 -1
- package/lib/plugin/notebook/notebooks.js +7 -7
- 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 +9 -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 +15 -36
- package/src/main/browser/editors-and-documents-main.ts +3 -3
- package/src/main/browser/notebooks/renderers/cell-output-webview.tsx +1 -0
- 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/custom-editors.ts +1 -1
- package/src/plugin/plugin-context.ts +2 -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';
|
|
@@ -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
311
|
const { editable } = await proxy.$createCustomDocument(resource.toComponents(), viewType, {}, cancellation);
|
|
313
|
-
return new MainCustomEditorModel(proxy, viewType, resource, editable, undoRedoService, fileService
|
|
312
|
+
return new MainCustomEditorModel(proxy, viewType, resource, editable, undoRedoService, fileService);
|
|
314
313
|
}
|
|
315
314
|
|
|
316
315
|
constructor(
|
|
@@ -319,22 +318,8 @@ 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
|
|
|
@@ -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 {
|
|
@@ -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);
|
|
@@ -187,6 +187,7 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
this.webviewWidget = await this.widgetManager.getOrCreateWidget(WebviewWidget.FACTORY_ID, { id: this.id });
|
|
190
|
+
this.webviewWidget.parent = this.editor ?? null;
|
|
190
191
|
this.webviewWidget.setContentOptions({
|
|
191
192
|
allowScripts: true,
|
|
192
193
|
// eslint-disable-next-line max-len
|
|
@@ -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';
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2024 STMicroelectronics and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
import { Disposable, Emitter, Event } from '@theia/core';
|
|
18
|
+
|
|
19
|
+
const CHECK_INACTIVITY_LIMIT = 30;
|
|
20
|
+
const CHECK_INACTIVITY_INTERVAL = 1000;
|
|
21
|
+
|
|
22
|
+
const eventListenerOptions: AddEventListenerOptions = {
|
|
23
|
+
passive: true,
|
|
24
|
+
capture: true
|
|
25
|
+
};
|
|
26
|
+
export class WindowActivityTracker implements Disposable {
|
|
27
|
+
|
|
28
|
+
private inactivityCounter = 0; // number of times inactivity was checked since last reset
|
|
29
|
+
private readonly inactivityLimit = CHECK_INACTIVITY_LIMIT; // number of inactivity checks done before sending inactive signal
|
|
30
|
+
private readonly checkInactivityInterval = CHECK_INACTIVITY_INTERVAL; // check interval in milliseconds
|
|
31
|
+
private interval: NodeJS.Timeout | undefined;
|
|
32
|
+
|
|
33
|
+
protected readonly onDidChangeActiveStateEmitter = new Emitter<boolean>();
|
|
34
|
+
private _activeState: boolean = true;
|
|
35
|
+
|
|
36
|
+
constructor(readonly win: Window) {
|
|
37
|
+
this.initializeListeners(this.win);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
get onDidChangeActiveState(): Event<boolean> {
|
|
41
|
+
return this.onDidChangeActiveStateEmitter.event;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
private set activeState(newState: boolean) {
|
|
45
|
+
if (this._activeState !== newState) {
|
|
46
|
+
this._activeState = newState;
|
|
47
|
+
this.onDidChangeActiveStateEmitter.fire(this._activeState);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
private initializeListeners(win: Window): void {
|
|
52
|
+
// currently assumes activity based on key/mouse/touch pressed, not on mouse move or scrolling.
|
|
53
|
+
win.addEventListener('mousedown', this.resetInactivity, eventListenerOptions);
|
|
54
|
+
win.addEventListener('keydown', this.resetInactivity, eventListenerOptions);
|
|
55
|
+
win.addEventListener('touchstart', this.resetInactivity, eventListenerOptions);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
dispose(): void {
|
|
59
|
+
this.stopTracking();
|
|
60
|
+
this.win.removeEventListener('mousedown', this.resetInactivity);
|
|
61
|
+
this.win.removeEventListener('keydown', this.resetInactivity);
|
|
62
|
+
this.win.removeEventListener('touchstart', this.resetInactivity);
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Reset inactivity time
|
|
67
|
+
private resetInactivity = (): void => {
|
|
68
|
+
this.inactivityCounter = 0;
|
|
69
|
+
if (!this.interval) {
|
|
70
|
+
// it was not active. Set as active and restart tracking inactivity
|
|
71
|
+
this.activeState = true;
|
|
72
|
+
this.startTracking();
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// Check inactivity status
|
|
77
|
+
private checkInactivity = (): void => {
|
|
78
|
+
this.inactivityCounter++;
|
|
79
|
+
if (this.inactivityCounter >= this.inactivityLimit) {
|
|
80
|
+
this.activeState = false;
|
|
81
|
+
this.stopTracking();
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
public startTracking(): void {
|
|
86
|
+
this.stopTracking();
|
|
87
|
+
this.interval = setInterval(this.checkInactivity, this.checkInactivityInterval);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public stopTracking(): void {
|
|
91
|
+
if (this.interval) {
|
|
92
|
+
clearInterval(this.interval);
|
|
93
|
+
this.interval = undefined;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -23,6 +23,7 @@ import { UriComponents } from '../../common/uri-components';
|
|
|
23
23
|
import { Disposable, DisposableCollection } from '@theia/core/lib/common/disposable';
|
|
24
24
|
import { open, OpenerService } from '@theia/core/lib/browser/opener-service';
|
|
25
25
|
import { ExternalUriService } from '@theia/core/lib/browser/external-uri-service';
|
|
26
|
+
import { WindowActivityTracker } from './window-activity-tracker';
|
|
26
27
|
|
|
27
28
|
export class WindowStateMain implements WindowMain, Disposable {
|
|
28
29
|
|
|
@@ -46,6 +47,10 @@ export class WindowStateMain implements WindowMain, Disposable {
|
|
|
46
47
|
const fireDidBlur = () => this.onFocusChanged(false);
|
|
47
48
|
window.addEventListener('blur', fireDidBlur);
|
|
48
49
|
this.toDispose.push(Disposable.create(() => window.removeEventListener('blur', fireDidBlur)));
|
|
50
|
+
|
|
51
|
+
const tracker = new WindowActivityTracker(window);
|
|
52
|
+
this.toDispose.push(tracker.onDidChangeActiveState(isActive => this.onActiveStateChanged(isActive)));
|
|
53
|
+
this.toDispose.push(tracker);
|
|
49
54
|
}
|
|
50
55
|
|
|
51
56
|
dispose(): void {
|
|
@@ -53,7 +58,11 @@ export class WindowStateMain implements WindowMain, Disposable {
|
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
private onFocusChanged(focused: boolean): void {
|
|
56
|
-
this.proxy.$
|
|
61
|
+
this.proxy.$onDidChangeWindowFocus(focused);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
private onActiveStateChanged(isActive: boolean): void {
|
|
65
|
+
this.proxy.$onDidChangeWindowActive(isActive);
|
|
57
66
|
}
|
|
58
67
|
|
|
59
68
|
async $openUri(uriComponent: UriComponents): Promise<boolean> {
|
|
@@ -42,6 +42,10 @@ import { PluginUninstallationManager } from './plugin-uninstallation-manager';
|
|
|
42
42
|
import { LocalizationServerImpl } from '@theia/core/lib/node/i18n/localization-server';
|
|
43
43
|
import { PluginLocalizationServer } from './plugin-localization-server';
|
|
44
44
|
import { PluginMgmtCliContribution } from './plugin-mgmt-cli-contribution';
|
|
45
|
+
import { PluginRemoteCliContribution } from './plugin-remote-cli-contribution';
|
|
46
|
+
import { RemoteCliContribution } from '@theia/core/lib/node/remote/remote-cli-contribution';
|
|
47
|
+
import { PluginRemoteCopyContribution } from './plugin-remote-copy-contribution';
|
|
48
|
+
import { RemoteCopyContribution } from '@theia/core/lib/node/remote/remote-copy-contribution';
|
|
45
49
|
|
|
46
50
|
export function bindMainBackend(bind: interfaces.Bind, unbind: interfaces.Unbind, isBound: interfaces.IsBound, rebind: interfaces.Rebind): void {
|
|
47
51
|
bind(PluginApiContribution).toSelf().inSingletonScope();
|
|
@@ -89,6 +93,11 @@ export function bindMainBackend(bind: interfaces.Bind, unbind: interfaces.Unbind
|
|
|
89
93
|
bind(PluginMgmtCliContribution).toSelf().inSingletonScope();
|
|
90
94
|
bind(CliContribution).toService(PluginMgmtCliContribution);
|
|
91
95
|
|
|
96
|
+
bind(PluginRemoteCliContribution).toSelf().inSingletonScope();
|
|
97
|
+
bind(RemoteCliContribution).toService(PluginRemoteCliContribution);
|
|
98
|
+
bind(PluginRemoteCopyContribution).toSelf().inSingletonScope();
|
|
99
|
+
bind(RemoteCopyContribution).toService(PluginRemoteCopyContribution);
|
|
100
|
+
|
|
92
101
|
bind(WebviewBackendSecurityWarnings).toSelf().inSingletonScope();
|
|
93
102
|
bind(BackendApplicationContribution).toService(WebviewBackendSecurityWarnings);
|
|
94
103
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2024 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
import { MaybePromise } from '@theia/core';
|
|
18
|
+
import { RemoteCliContext, RemoteCliContribution } from '@theia/core/lib/node/remote/remote-cli-contribution';
|
|
19
|
+
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
20
|
+
import { PluginCliContribution } from './plugin-cli-contribution';
|
|
21
|
+
|
|
22
|
+
@injectable()
|
|
23
|
+
export class PluginRemoteCliContribution implements RemoteCliContribution {
|
|
24
|
+
|
|
25
|
+
@inject(PluginCliContribution)
|
|
26
|
+
protected readonly pluginCliContribution: PluginCliContribution;
|
|
27
|
+
|
|
28
|
+
enhanceArgs(context: RemoteCliContext): MaybePromise<string[]> {
|
|
29
|
+
const pluginsFolder = this.pluginCliContribution.localDir();
|
|
30
|
+
if (!pluginsFolder) {
|
|
31
|
+
return [];
|
|
32
|
+
} else {
|
|
33
|
+
return ['--plugins=local-dir:./plugins'];
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2024 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
import { RemoteCopyContribution, RemoteCopyRegistry } from '@theia/core/lib/node/remote/remote-copy-contribution';
|
|
18
|
+
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
19
|
+
import { PluginCliContribution } from './plugin-cli-contribution';
|
|
20
|
+
import { FileUri } from '@theia/core/lib/common/file-uri';
|
|
21
|
+
|
|
22
|
+
@injectable()
|
|
23
|
+
export class PluginRemoteCopyContribution implements RemoteCopyContribution {
|
|
24
|
+
|
|
25
|
+
@inject(PluginCliContribution)
|
|
26
|
+
protected readonly pluginCliContribution: PluginCliContribution;
|
|
27
|
+
|
|
28
|
+
async copy(registry: RemoteCopyRegistry): Promise<void> {
|
|
29
|
+
const localDir = this.pluginCliContribution.localDir();
|
|
30
|
+
if (localDir) {
|
|
31
|
+
const fsPath = FileUri.fsPath(localDir);
|
|
32
|
+
await registry.directory(fsPath, 'plugins');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -26,7 +26,7 @@ import { environment } from '@theia/core/shared/@theia/application-package/lib/e
|
|
|
26
26
|
import { WsRequestValidatorContribution } from '@theia/core/lib/node/ws-request-validators';
|
|
27
27
|
import { MaybePromise } from '@theia/core/lib/common';
|
|
28
28
|
import { ApplicationPackage } from '@theia/core/shared/@theia/application-package';
|
|
29
|
-
import { BackendRemoteService } from '@theia/core/lib/node/backend-remote-service';
|
|
29
|
+
import { BackendRemoteService } from '@theia/core/lib/node/remote/backend-remote-service';
|
|
30
30
|
|
|
31
31
|
@injectable()
|
|
32
32
|
export class PluginApiContribution implements BackendApplicationContribution, WsRequestValidatorContribution {
|
|
@@ -121,7 +121,7 @@ export class CustomEditorsExtImpl implements CustomEditorsExt {
|
|
|
121
121
|
handler: string,
|
|
122
122
|
viewType: string,
|
|
123
123
|
title: string,
|
|
124
|
-
widgetOpenerOptions:
|
|
124
|
+
widgetOpenerOptions: object | undefined,
|
|
125
125
|
options: theia.WebviewPanelOptions & theia.WebviewOptions,
|
|
126
126
|
cancellation: CancellationToken
|
|
127
127
|
): Promise<void> {
|
|
@@ -200,6 +200,7 @@ import {
|
|
|
200
200
|
DocumentPasteEdit,
|
|
201
201
|
DocumentPasteEditKind,
|
|
202
202
|
DocumentPasteTriggerKind,
|
|
203
|
+
DocumentDropOrPasteEditKind,
|
|
203
204
|
ExternalUriOpenerPriority,
|
|
204
205
|
EditSessionIdentityMatch,
|
|
205
206
|
TerminalOutputAnchor,
|
|
@@ -1302,6 +1303,7 @@ export function createAPIFactory(
|
|
|
1302
1303
|
MultiDocumentHighlight,
|
|
1303
1304
|
DocumentLink,
|
|
1304
1305
|
DocumentDropEdit,
|
|
1306
|
+
DocumentDropOrPasteEditKind,
|
|
1305
1307
|
CodeLens,
|
|
1306
1308
|
CodeActionKind,
|
|
1307
1309
|
CodeActionTrigger,
|
package/src/plugin/quick-open.ts
CHANGED
|
@@ -30,8 +30,8 @@ import { convertToTransferQuickPickItems } from './type-converters';
|
|
|
30
30
|
import { PluginPackage } from '../common/plugin-protocol';
|
|
31
31
|
import { QuickInputButtonHandle } from '@theia/core/lib/browser';
|
|
32
32
|
import { MaybePromise } from '@theia/core/lib/common/types';
|
|
33
|
-
import Severity from '@theia/monaco-editor-core/esm/vs/base/common/severity';
|
|
34
33
|
import { ThemeIcon as MonacoThemeIcon } from '@theia/monaco-editor-core/esm/vs/base/common/themables';
|
|
34
|
+
import { Severity } from '@theia/core/lib/common/severity';
|
|
35
35
|
|
|
36
36
|
const canceledName = 'Canceled';
|
|
37
37
|
/**
|
package/src/plugin/tabs.ts
CHANGED
|
@@ -325,8 +325,13 @@ export class TabsExtImpl implements TabsExt {
|
|
|
325
325
|
this.activeGroupId = activeTabGroupId;
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
|
|
329
|
+
if (closed.length > 0 || opened.length > 0 || changed.length > 0) {
|
|
330
|
+
this.onDidChangeTabGroups.fire(Object.freeze({ opened, closed, changed }));
|
|
331
|
+
}
|
|
332
|
+
if (tabsOpened.length > 0) {
|
|
333
|
+
this.onDidChangeTabs.fire({ opened: tabsOpened, changed: [], closed: [] });
|
|
334
|
+
}
|
|
330
335
|
}
|
|
331
336
|
|
|
332
337
|
$acceptTabGroupUpdate(groupDto: TabGroupDto): void {
|