@theia/plugin-ext 1.67.0-next.56 → 1.67.0-next.86
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.d.ts +24 -0
- package/lib/common/arrays.d.ts.map +1 -0
- package/lib/common/arrays.js +61 -0
- package/lib/common/arrays.js.map +1 -0
- package/lib/common/assert.d.ts +2 -0
- package/lib/common/assert.d.ts.map +1 -0
- package/lib/common/assert.js +26 -0
- package/lib/common/assert.js.map +1 -0
- package/lib/common/cache.d.ts +12 -0
- package/lib/common/cache.d.ts.map +1 -0
- package/lib/common/cache.js +48 -0
- package/lib/common/cache.js.map +1 -0
- package/lib/common/character-classifier.d.ts +19 -0
- package/lib/common/character-classifier.d.ts.map +1 -0
- package/lib/common/character-classifier.js +61 -0
- package/lib/common/character-classifier.js.map +1 -0
- package/lib/common/collections.d.ts +9 -0
- package/lib/common/collections.d.ts.map +1 -0
- package/lib/common/collections.js +56 -0
- package/lib/common/collections.js.map +1 -0
- package/lib/common/commands.d.ts +4 -0
- package/lib/common/commands.d.ts.map +1 -0
- package/lib/common/commands.js +17 -0
- package/lib/common/commands.js.map +1 -0
- package/lib/common/connection.d.ts +55 -0
- package/lib/common/connection.d.ts.map +1 -0
- package/lib/common/connection.js +108 -0
- package/lib/common/connection.js.map +1 -0
- package/lib/common/disposable-util.d.ts +7 -0
- package/lib/common/disposable-util.d.ts.map +1 -0
- package/lib/common/disposable-util.js +38 -0
- package/lib/common/disposable-util.js.map +1 -0
- package/lib/common/editor-options.d.ts +31 -0
- package/lib/common/editor-options.d.ts.map +1 -0
- package/lib/common/editor-options.js +73 -0
- package/lib/common/editor-options.js.map +1 -0
- package/lib/common/env.d.ts +4 -0
- package/lib/common/env.d.ts.map +1 -0
- package/lib/common/env.js +18 -0
- package/lib/common/env.js.map +1 -0
- package/lib/common/errors.d.ts +18 -0
- package/lib/common/errors.d.ts.map +1 -0
- package/lib/common/errors.js +59 -0
- package/lib/common/errors.js.map +1 -0
- package/lib/common/id-generator.d.ts +7 -0
- package/lib/common/id-generator.d.ts.map +1 -0
- package/lib/common/id-generator.js +29 -0
- package/lib/common/id-generator.js.map +1 -0
- package/lib/common/index.d.ts +4 -0
- package/lib/common/index.d.ts.map +1 -0
- package/lib/common/index.js +25 -0
- package/lib/common/index.js.map +1 -0
- package/lib/common/language-pack-service.d.ts +16 -0
- package/lib/common/language-pack-service.d.ts.map +1 -0
- package/lib/common/language-pack-service.js +21 -0
- package/lib/common/language-pack-service.js.map +1 -0
- package/lib/common/link-computer.d.ts +42 -0
- package/lib/common/link-computer.d.ts.map +1 -0
- package/lib/common/link-computer.js +276 -0
- package/lib/common/link-computer.js.map +1 -0
- package/lib/common/lm-protocol.d.ts +103 -0
- package/lib/common/lm-protocol.d.ts.map +1 -0
- package/lib/common/lm-protocol.js +21 -0
- package/lib/common/lm-protocol.js.map +1 -0
- package/lib/common/object-identifier.d.ts +9 -0
- package/lib/common/object-identifier.d.ts.map +1 -0
- package/lib/common/object-identifier.js +33 -0
- package/lib/common/object-identifier.js.map +1 -0
- package/lib/common/objects.d.ts +2 -0
- package/lib/common/objects.d.ts.map +1 -0
- package/lib/common/objects.js +47 -0
- package/lib/common/objects.js.map +1 -0
- package/lib/common/paths-util.d.ts +4 -0
- package/lib/common/paths-util.d.ts.map +1 -0
- package/lib/common/paths-util.js +145 -0
- package/lib/common/paths-util.js.map +1 -0
- package/lib/common/plugin-api-rpc-model.d.ts +776 -0
- package/lib/common/plugin-api-rpc-model.d.ts.map +1 -0
- package/lib/common/plugin-api-rpc-model.js +179 -0
- package/lib/common/plugin-api-rpc-model.js.map +1 -0
- package/lib/common/plugin-api-rpc.d.ts +2220 -0
- package/lib/common/plugin-api-rpc.d.ts.map +1 -0
- package/lib/common/plugin-api-rpc.js +341 -0
- package/lib/common/plugin-api-rpc.js.map +1 -0
- package/lib/common/plugin-ext-api-contribution.d.ts +89 -0
- package/lib/common/plugin-ext-api-contribution.d.ts.map +1 -0
- package/lib/common/plugin-ext-api-contribution.js +6 -0
- package/lib/common/plugin-ext-api-contribution.js.map +1 -0
- package/lib/common/plugin-identifiers.d.ts +47 -0
- package/lib/common/plugin-identifiers.d.ts.map +1 -0
- package/lib/common/plugin-identifiers.js +90 -0
- package/lib/common/plugin-identifiers.js.map +1 -0
- package/lib/common/plugin-protocol.d.ts +960 -0
- package/lib/common/plugin-protocol.d.ts.map +1 -0
- package/lib/common/plugin-protocol.js +73 -0
- package/lib/common/plugin-protocol.js.map +1 -0
- package/lib/common/reference-map.d.ts +8 -0
- package/lib/common/reference-map.d.ts.map +1 -0
- package/lib/common/reference-map.js +40 -0
- package/lib/common/reference-map.js.map +1 -0
- package/lib/common/rpc-protocol.d.ts +83 -0
- package/lib/common/rpc-protocol.d.ts.map +1 -0
- package/lib/common/rpc-protocol.js +262 -0
- package/lib/common/rpc-protocol.js.map +1 -0
- package/lib/common/semantic-tokens-dto.d.ts +19 -0
- package/lib/common/semantic-tokens-dto.d.ts.map +1 -0
- package/lib/common/semantic-tokens-dto.js +163 -0
- package/lib/common/semantic-tokens-dto.js.map +1 -0
- package/lib/common/test-types.d.ts +103 -0
- package/lib/common/test-types.d.ts.map +1 -0
- package/lib/common/test-types.js +83 -0
- package/lib/common/test-types.js.map +1 -0
- package/lib/common/types.d.ts +38 -0
- package/lib/common/types.d.ts.map +1 -0
- package/lib/common/types.js +122 -0
- package/lib/common/types.js.map +1 -0
- package/lib/common/uint.d.ts +8 -0
- package/lib/common/uint.d.ts.map +1 -0
- package/lib/common/uint.js +34 -0
- package/lib/common/uint.js.map +1 -0
- package/lib/common/uri-components.d.ts +40 -0
- package/lib/common/uri-components.d.ts.map +1 -0
- package/lib/common/uri-components.js +65 -0
- package/lib/common/uri-components.js.map +1 -0
- package/lib/hosted/browser/hosted-plugin-watcher.d.ts +16 -0
- package/lib/hosted/browser/hosted-plugin-watcher.d.ts.map +1 -0
- package/lib/hosted/browser/hosted-plugin-watcher.js +55 -0
- package/lib/hosted/browser/hosted-plugin-watcher.js.map +1 -0
- package/lib/hosted/browser/hosted-plugin.d.ts +101 -0
- package/lib/hosted/browser/hosted-plugin.d.ts.map +1 -0
- package/lib/hosted/browser/hosted-plugin.js +605 -0
- package/lib/hosted/browser/hosted-plugin.js.map +1 -0
- package/lib/hosted/browser/plugin-worker.d.ts +7 -0
- package/lib/hosted/browser/plugin-worker.d.ts.map +1 -0
- package/lib/hosted/browser/plugin-worker.js +50 -0
- package/lib/hosted/browser/plugin-worker.js.map +1 -0
- package/lib/hosted/browser/worker/debug-stub.d.ts +4 -0
- package/lib/hosted/browser/worker/debug-stub.d.ts.map +1 -0
- package/lib/hosted/browser/worker/debug-stub.js +30 -0
- package/lib/hosted/browser/worker/debug-stub.js.map +1 -0
- package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts +3 -0
- package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts.map +1 -0
- package/lib/hosted/browser/worker/plugin-manifest-loader.js +108 -0
- package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +1 -0
- package/lib/hosted/browser/worker/worker-env-ext.d.ts +11 -0
- package/lib/hosted/browser/worker/worker-env-ext.d.ts.map +1 -0
- package/lib/hosted/browser/worker/worker-env-ext.js +43 -0
- package/lib/hosted/browser/worker/worker-env-ext.js.map +1 -0
- package/lib/hosted/browser/worker/worker-main.d.ts +2 -0
- package/lib/hosted/browser/worker/worker-main.d.ts.map +1 -0
- package/lib/hosted/browser/worker/worker-main.js +183 -0
- package/lib/hosted/browser/worker/worker-main.js.map +1 -0
- package/lib/hosted/browser/worker/worker-plugin-module.d.ts +5 -0
- package/lib/hosted/browser/worker/worker-plugin-module.d.ts.map +1 -0
- package/lib/hosted/browser/worker/worker-plugin-module.js +80 -0
- package/lib/hosted/browser/worker/worker-plugin-module.js.map +1 -0
- package/lib/hosted/common/hosted-plugin.d.ts +97 -0
- package/lib/hosted/common/hosted-plugin.d.ts.map +1 -0
- package/lib/hosted/common/hosted-plugin.js +408 -0
- package/lib/hosted/common/hosted-plugin.js.map +1 -0
- package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts +17 -0
- package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts.map +1 -0
- package/lib/hosted/node/hosted-plugin-cli-contribution.js +72 -0
- package/lib/hosted/node/hosted-plugin-cli-contribution.js.map +1 -0
- package/lib/hosted/node/hosted-plugin-localization-service.d.ts +47 -0
- package/lib/hosted/node/hosted-plugin-localization-service.d.ts.map +1 -0
- package/lib/hosted/node/hosted-plugin-localization-service.js +380 -0
- package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -0
- package/lib/hosted/node/hosted-plugin-process.d.ts +42 -0
- package/lib/hosted/node/hosted-plugin-process.d.ts.map +1 -0
- package/lib/hosted/node/hosted-plugin-process.js +205 -0
- package/lib/hosted/node/hosted-plugin-process.js.map +1 -0
- package/lib/hosted/node/hosted-plugin-protocol.d.ts +22 -0
- package/lib/hosted/node/hosted-plugin-protocol.d.ts.map +1 -0
- package/lib/hosted/node/hosted-plugin-protocol.js +37 -0
- package/lib/hosted/node/hosted-plugin-protocol.js.map +1 -0
- package/lib/hosted/node/hosted-plugin.d.ts +29 -0
- package/lib/hosted/node/hosted-plugin.d.ts.map +1 -0
- package/lib/hosted/node/hosted-plugin.js +99 -0
- package/lib/hosted/node/hosted-plugin.js.map +1 -0
- package/lib/hosted/node/metadata-scanner.d.ts +18 -0
- package/lib/hosted/node/metadata-scanner.d.ts.map +1 -0
- package/lib/hosted/node/metadata-scanner.js +73 -0
- package/lib/hosted/node/metadata-scanner.js.map +1 -0
- package/lib/hosted/node/plugin-activation-events.d.ts +7 -0
- package/lib/hosted/node/plugin-activation-events.d.ts.map +1 -0
- package/lib/hosted/node/plugin-activation-events.js +96 -0
- package/lib/hosted/node/plugin-activation-events.js.map +1 -0
- package/lib/hosted/node/plugin-deployer-handler-impl.d.ts +48 -0
- package/lib/hosted/node/plugin-deployer-handler-impl.d.ts.map +1 -0
- package/lib/hosted/node/plugin-deployer-handler-impl.js +277 -0
- package/lib/hosted/node/plugin-deployer-handler-impl.js.map +1 -0
- package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts +4 -0
- package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts.map +1 -0
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js +83 -0
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js.map +1 -0
- package/lib/hosted/node/plugin-host-logger.d.ts +3 -0
- package/lib/hosted/node/plugin-host-logger.d.ts.map +1 -0
- package/lib/hosted/node/plugin-host-logger.js +39 -0
- package/lib/hosted/node/plugin-host-logger.js.map +1 -0
- package/lib/hosted/node/plugin-host-module.d.ts +5 -0
- package/lib/hosted/node/plugin-host-module.d.ts.map +1 -0
- package/lib/hosted/node/plugin-host-module.js +75 -0
- package/lib/hosted/node/plugin-host-module.js.map +1 -0
- package/lib/hosted/node/plugin-host-proxy.d.ts +19 -0
- package/lib/hosted/node/plugin-host-proxy.d.ts.map +1 -0
- package/lib/hosted/node/plugin-host-proxy.js +71 -0
- package/lib/hosted/node/plugin-host-proxy.js.map +1 -0
- package/lib/hosted/node/plugin-host-rpc.d.ts +108 -0
- package/lib/hosted/node/plugin-host-rpc.d.ts.map +1 -0
- package/lib/hosted/node/plugin-host-rpc.js +333 -0
- package/lib/hosted/node/plugin-host-rpc.js.map +1 -0
- package/lib/hosted/node/plugin-host.d.ts +2 -0
- package/lib/hosted/node/plugin-host.d.ts.map +1 -0
- package/lib/hosted/node/plugin-host.js +114 -0
- package/lib/hosted/node/plugin-host.js.map +1 -0
- package/lib/hosted/node/plugin-language-pack-service.d.ts +8 -0
- package/lib/hosted/node/plugin-language-pack-service.d.ts.map +1 -0
- package/lib/hosted/node/plugin-language-pack-service.js +49 -0
- package/lib/hosted/node/plugin-language-pack-service.js.map +1 -0
- package/lib/hosted/node/plugin-manifest-loader.d.ts +3 -0
- package/lib/hosted/node/plugin-manifest-loader.d.ts.map +1 -0
- package/lib/hosted/node/plugin-manifest-loader.js +36 -0
- package/lib/hosted/node/plugin-manifest-loader.js.map +1 -0
- package/lib/hosted/node/plugin-reader.d.ts +26 -0
- package/lib/hosted/node/plugin-reader.d.ts.map +1 -0
- package/lib/hosted/node/plugin-reader.js +140 -0
- package/lib/hosted/node/plugin-reader.js.map +1 -0
- package/lib/hosted/node/plugin-require-override.d.ts +25 -0
- package/lib/hosted/node/plugin-require-override.d.ts.map +1 -0
- package/lib/hosted/node/plugin-require-override.js +56 -0
- package/lib/hosted/node/plugin-require-override.js.map +1 -0
- package/lib/hosted/node/plugin-service.d.ts +56 -0
- package/lib/hosted/node/plugin-service.d.ts.map +1 -0
- package/lib/hosted/node/plugin-service.js +203 -0
- package/lib/hosted/node/plugin-service.js.map +1 -0
- package/lib/hosted/node/scanners/backend-init-theia.d.ts +3 -0
- package/lib/hosted/node/scanners/backend-init-theia.d.ts.map +1 -0
- package/lib/hosted/node/scanners/backend-init-theia.js +61 -0
- package/lib/hosted/node/scanners/backend-init-theia.js.map +1 -0
- package/lib/hosted/node/scanners/file-plugin-uri-factory.d.ts +11 -0
- package/lib/hosted/node/scanners/file-plugin-uri-factory.d.ts.map +1 -0
- package/lib/hosted/node/scanners/file-plugin-uri-factory.js +36 -0
- package/lib/hosted/node/scanners/file-plugin-uri-factory.js.map +1 -0
- package/lib/hosted/node/scanners/grammars-reader.d.ts +6 -0
- package/lib/hosted/node/scanners/grammars-reader.d.ts.map +1 -0
- package/lib/hosted/node/scanners/grammars-reader.js +59 -0
- package/lib/hosted/node/scanners/grammars-reader.js.map +1 -0
- package/lib/hosted/node/scanners/plugin-uri-factory.d.ts +17 -0
- package/lib/hosted/node/scanners/plugin-uri-factory.d.ts.map +1 -0
- package/lib/hosted/node/scanners/plugin-uri-factory.js +20 -0
- package/lib/hosted/node/scanners/plugin-uri-factory.js.map +1 -0
- package/lib/hosted/node/scanners/scanner-theia.d.ts +113 -0
- package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -0
- package/lib/hosted/node/scanners/scanner-theia.js +923 -0
- package/lib/hosted/node/scanners/scanner-theia.js.map +1 -0
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.d.ts +3 -0
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.d.ts.map +1 -0
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js +27 -0
- package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js.map +1 -0
- package/lib/hosted/node-electron/scanner-theia-electron.d.ts +6 -0
- package/lib/hosted/node-electron/scanner-theia-electron.d.ts.map +1 -0
- package/lib/hosted/node-electron/scanner-theia-electron.js +36 -0
- package/lib/hosted/node-electron/scanner-theia-electron.js.map +1 -0
- package/lib/main/browser/authentication-main.d.ts +52 -0
- package/lib/main/browser/authentication-main.d.ts.map +1 -0
- package/lib/main/browser/authentication-main.js +324 -0
- package/lib/main/browser/authentication-main.js.map +1 -0
- package/lib/main/browser/clipboard-main.d.ts +10 -0
- package/lib/main/browser/clipboard-main.d.ts.map +1 -0
- package/lib/main/browser/clipboard-main.js +33 -0
- package/lib/main/browser/clipboard-main.js.map +1 -0
- package/lib/main/browser/command-registry-main.d.ts +28 -0
- package/lib/main/browser/command-registry-main.d.ts.map +1 -0
- package/lib/main/browser/command-registry-main.js +113 -0
- package/lib/main/browser/command-registry-main.js.map +1 -0
- package/lib/main/browser/commands.d.ts +13 -0
- package/lib/main/browser/commands.d.ts.map +1 -0
- package/lib/main/browser/commands.js +92 -0
- package/lib/main/browser/commands.js.map +1 -0
- package/lib/main/browser/comments/comment-glyph-widget.d.ts +13 -0
- package/lib/main/browser/comments/comment-glyph-widget.d.ts.map +1 -0
- package/lib/main/browser/comments/comment-glyph-widget.js +43 -0
- package/lib/main/browser/comments/comment-glyph-widget.js.map +1 -0
- package/lib/main/browser/comments/comment-thread-widget.d.ts +178 -0
- package/lib/main/browser/comments/comment-thread-widget.d.ts.map +1 -0
- package/lib/main/browser/comments/comment-thread-widget.js +523 -0
- package/lib/main/browser/comments/comment-thread-widget.js.map +1 -0
- package/lib/main/browser/comments/comments-context.d.ts +13 -0
- package/lib/main/browser/comments/comments-context.d.ts.map +1 -0
- package/lib/main/browser/comments/comments-context.js +56 -0
- package/lib/main/browser/comments/comments-context.js.map +1 -0
- package/lib/main/browser/comments/comments-contribution.d.ts +32 -0
- package/lib/main/browser/comments/comments-contribution.d.ts.map +1 -0
- package/lib/main/browser/comments/comments-contribution.js +258 -0
- package/lib/main/browser/comments/comments-contribution.js.map +1 -0
- package/lib/main/browser/comments/comments-decorator.d.ts +16 -0
- package/lib/main/browser/comments/comments-decorator.d.ts.map +1 -0
- package/lib/main/browser/comments/comments-decorator.js +100 -0
- package/lib/main/browser/comments/comments-decorator.js.map +1 -0
- package/lib/main/browser/comments/comments-main.d.ts +116 -0
- package/lib/main/browser/comments/comments-main.d.ts.map +1 -0
- package/lib/main/browser/comments/comments-main.js +358 -0
- package/lib/main/browser/comments/comments-main.js.map +1 -0
- package/lib/main/browser/comments/comments-service.d.ts +76 -0
- package/lib/main/browser/comments/comments-service.d.ts.map +1 -0
- package/lib/main/browser/comments/comments-service.js +118 -0
- package/lib/main/browser/comments/comments-service.js.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-opener.d.ts +29 -0
- package/lib/main/browser/custom-editors/custom-editor-opener.d.ts.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-opener.js +196 -0
- package/lib/main/browser/custom-editors/custom-editor-opener.js.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-service.d.ts +17 -0
- package/lib/main/browser/custom-editors/custom-editor-service.d.ts.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-service.js +98 -0
- package/lib/main/browser/custom-editors/custom-editor-service.js.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.d.ts +10 -0
- package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.d.ts.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.js +49 -0
- package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.js.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.d.ts +10 -0
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.d.ts.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.js +40 -0
- package/lib/main/browser/custom-editors/custom-editor-widget-factory.js.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-widget.d.ts +35 -0
- package/lib/main/browser/custom-editors/custom-editor-widget.d.ts.map +1 -0
- package/lib/main/browser/custom-editors/custom-editor-widget.js +108 -0
- package/lib/main/browser/custom-editors/custom-editor-widget.js.map +1 -0
- package/lib/main/browser/custom-editors/custom-editors-main.d.ts +123 -0
- package/lib/main/browser/custom-editors/custom-editors-main.d.ts.map +1 -0
- package/lib/main/browser/custom-editors/custom-editors-main.js +380 -0
- package/lib/main/browser/custom-editors/custom-editors-main.js.map +1 -0
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts +22 -0
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts.map +1 -0
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js +128 -0
- package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js.map +1 -0
- package/lib/main/browser/data-transfer/data-transfer-type-converters.d.ts +9 -0
- package/lib/main/browser/data-transfer/data-transfer-type-converters.d.ts.map +1 -0
- package/lib/main/browser/data-transfer/data-transfer-type-converters.js +63 -0
- package/lib/main/browser/data-transfer/data-transfer-type-converters.js.map +1 -0
- package/lib/main/browser/debug/debug-main.d.ts +52 -0
- package/lib/main/browser/debug/debug-main.d.ts.map +1 -0
- package/lib/main/browser/debug/debug-main.js +314 -0
- package/lib/main/browser/debug/debug-main.js.map +1 -0
- package/lib/main/browser/debug/plugin-debug-adapter-contribution.d.ts +19 -0
- package/lib/main/browser/debug/plugin-debug-adapter-contribution.d.ts.map +1 -0
- package/lib/main/browser/debug/plugin-debug-adapter-contribution.js +43 -0
- package/lib/main/browser/debug/plugin-debug-adapter-contribution.js.map +1 -0
- package/lib/main/browser/debug/plugin-debug-configuration-provider.d.ts +18 -0
- package/lib/main/browser/debug/plugin-debug-configuration-provider.d.ts.map +1 -0
- package/lib/main/browser/debug/plugin-debug-configuration-provider.js +40 -0
- package/lib/main/browser/debug/plugin-debug-configuration-provider.js.map +1 -0
- package/lib/main/browser/debug/plugin-debug-service.d.ts +56 -0
- package/lib/main/browser/debug/plugin-debug-service.d.ts.map +1 -0
- package/lib/main/browser/debug/plugin-debug-service.js +365 -0
- package/lib/main/browser/debug/plugin-debug-service.js.map +1 -0
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.d.ts +31 -0
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.d.ts.map +1 -0
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js +68 -0
- package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js.map +1 -0
- package/lib/main/browser/debug/plugin-debug-session-factory.d.ts +59 -0
- package/lib/main/browser/debug/plugin-debug-session-factory.d.ts.map +1 -0
- package/lib/main/browser/debug/plugin-debug-session-factory.js +72 -0
- package/lib/main/browser/debug/plugin-debug-session-factory.js.map +1 -0
- package/lib/main/browser/decorations/decorations-main.d.ts +16 -0
- package/lib/main/browser/decorations/decorations-main.d.ts.map +1 -0
- package/lib/main/browser/decorations/decorations-main.js +120 -0
- package/lib/main/browser/decorations/decorations-main.js.map +1 -0
- package/lib/main/browser/dialogs/modal-notification.d.ts +19 -0
- package/lib/main/browser/dialogs/modal-notification.d.ts.map +1 -0
- package/lib/main/browser/dialogs/modal-notification.js +102 -0
- package/lib/main/browser/dialogs/modal-notification.js.map +1 -0
- package/lib/main/browser/dialogs-main.d.ts +17 -0
- package/lib/main/browser/dialogs-main.d.ts.map +1 -0
- package/lib/main/browser/dialogs-main.js +163 -0
- package/lib/main/browser/dialogs-main.js.map +1 -0
- package/lib/main/browser/documents-main.d.ts +51 -0
- package/lib/main/browser/documents-main.d.ts.map +1 -0
- package/lib/main/browser/documents-main.js +252 -0
- package/lib/main/browser/documents-main.js.map +1 -0
- package/lib/main/browser/editors-and-documents-main.d.ts +41 -0
- package/lib/main/browser/editors-and-documents-main.d.ts.map +1 -0
- package/lib/main/browser/editors-and-documents-main.js +357 -0
- package/lib/main/browser/editors-and-documents-main.js.map +1 -0
- package/lib/main/browser/env-main.d.ts +7 -0
- package/lib/main/browser/env-main.d.ts.map +1 -0
- package/lib/main/browser/env-main.js +64 -0
- package/lib/main/browser/env-main.js.map +1 -0
- package/lib/main/browser/file-system-main-impl.d.ts +29 -0
- package/lib/main/browser/file-system-main-impl.d.ts.map +1 -0
- package/lib/main/browser/file-system-main-impl.js +208 -0
- package/lib/main/browser/file-system-main-impl.js.map +1 -0
- package/lib/main/browser/hierarchy/hierarchy-types-converters.d.ts +25 -0
- package/lib/main/browser/hierarchy/hierarchy-types-converters.d.ts.map +1 -0
- package/lib/main/browser/hierarchy/hierarchy-types-converters.js +185 -0
- package/lib/main/browser/hierarchy/hierarchy-types-converters.js.map +1 -0
- package/lib/main/browser/keybindings/keybindings-contribution-handler.d.ts +10 -0
- package/lib/main/browser/keybindings/keybindings-contribution-handler.d.ts.map +1 -0
- package/lib/main/browser/keybindings/keybindings-contribution-handler.js +70 -0
- package/lib/main/browser/keybindings/keybindings-contribution-handler.js.map +1 -0
- package/lib/main/browser/label-service-main.d.ts +11 -0
- package/lib/main/browser/label-service-main.d.ts.map +1 -0
- package/lib/main/browser/label-service-main.js +47 -0
- package/lib/main/browser/label-service-main.js.map +1 -0
- package/lib/main/browser/languages-main.d.ts +144 -0
- package/lib/main/browser/languages-main.d.ts.map +1 -0
- package/lib/main/browser/languages-main.js +1179 -0
- package/lib/main/browser/languages-main.js.map +1 -0
- package/lib/main/browser/lm-main.d.ts +17 -0
- package/lib/main/browser/lm-main.d.ts.map +1 -0
- package/lib/main/browser/lm-main.js +154 -0
- package/lib/main/browser/lm-main.js.map +1 -0
- package/lib/main/browser/localization-main.d.ts +9 -0
- package/lib/main/browser/localization-main.d.ts.map +1 -0
- package/lib/main/browser/localization-main.js +32 -0
- package/lib/main/browser/localization-main.js.map +1 -0
- package/lib/main/browser/logger-main.d.ts +8 -0
- package/lib/main/browser/logger-main.d.ts.map +1 -0
- package/lib/main/browser/logger-main.js +53 -0
- package/lib/main/browser/logger-main.js.map +1 -0
- package/lib/main/browser/main-context.d.ts +4 -0
- package/lib/main/browser/main-context.d.ts.map +1 -0
- package/lib/main/browser/main-context.js +161 -0
- package/lib/main/browser/main-context.js.map +1 -0
- package/lib/main/browser/main-file-system-event-service.d.ts +8 -0
- package/lib/main/browser/main-file-system-event-service.d.ts.map +1 -0
- package/lib/main/browser/main-file-system-event-service.js +66 -0
- package/lib/main/browser/main-file-system-event-service.js.map +1 -0
- package/lib/main/browser/menus/menus-contribution-handler.d.ts +24 -0
- package/lib/main/browser/menus/menus-contribution-handler.d.ts.map +1 -0
- package/lib/main/browser/menus/menus-contribution-handler.js +208 -0
- package/lib/main/browser/menus/menus-contribution-handler.js.map +1 -0
- package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts +24 -0
- package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts.map +1 -0
- package/lib/main/browser/menus/plugin-menu-command-adapter.js +281 -0
- package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +1 -0
- package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts +19 -0
- package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts.map +1 -0
- package/lib/main/browser/menus/vscode-theia-menu-mappings.js +115 -0
- package/lib/main/browser/menus/vscode-theia-menu-mappings.js.map +1 -0
- package/lib/main/browser/message-registry-main.d.ts +11 -0
- package/lib/main/browser/message-registry-main.d.ts.map +1 -0
- package/lib/main/browser/message-registry-main.js +41 -0
- package/lib/main/browser/message-registry-main.js.map +1 -0
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.d.ts +52 -0
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.d.ts.map +1 -0
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js +208 -0
- package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js.map +1 -0
- package/lib/main/browser/notebooks/notebook-documents-main.d.ts +30 -0
- package/lib/main/browser/notebooks/notebook-documents-main.d.ts.map +1 -0
- package/lib/main/browser/notebooks/notebook-documents-main.js +164 -0
- package/lib/main/browser/notebooks/notebook-documents-main.js.map +1 -0
- package/lib/main/browser/notebooks/notebook-dto.d.ts +18 -0
- package/lib/main/browser/notebooks/notebook-dto.d.ts.map +1 -0
- package/lib/main/browser/notebooks/notebook-dto.js +131 -0
- package/lib/main/browser/notebooks/notebook-dto.js.map +1 -0
- package/lib/main/browser/notebooks/notebook-editors-main.d.ts +21 -0
- package/lib/main/browser/notebooks/notebook-editors-main.d.ts.map +1 -0
- package/lib/main/browser/notebooks/notebook-editors-main.js +76 -0
- package/lib/main/browser/notebooks/notebook-editors-main.js.map +1 -0
- package/lib/main/browser/notebooks/notebook-kernels-main.d.ts +43 -0
- package/lib/main/browser/notebooks/notebook-kernels-main.d.ts.map +1 -0
- package/lib/main/browser/notebooks/notebook-kernels-main.js +274 -0
- package/lib/main/browser/notebooks/notebook-kernels-main.js.map +1 -0
- package/lib/main/browser/notebooks/notebook-renderers-main.d.ts +12 -0
- package/lib/main/browser/notebooks/notebook-renderers-main.d.ts.map +1 -0
- package/lib/main/browser/notebooks/notebook-renderers-main.js +39 -0
- package/lib/main/browser/notebooks/notebook-renderers-main.js.map +1 -0
- package/lib/main/browser/notebooks/notebooks-main.d.ts +25 -0
- package/lib/main/browser/notebooks/notebooks-main.d.ts.map +1 -0
- package/lib/main/browser/notebooks/notebooks-main.js +134 -0
- package/lib/main/browser/notebooks/notebooks-main.js.map +1 -0
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +75 -0
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +1 -0
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js +571 -0
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +1 -0
- package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts +14 -0
- package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts.map +1 -0
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js +660 -0
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +1 -0
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +127 -0
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts.map +1 -0
- package/lib/main/browser/notebooks/renderers/webview-communication.js +22 -0
- package/lib/main/browser/notebooks/renderers/webview-communication.js.map +1 -0
- package/lib/main/browser/notification-main.d.ts +7 -0
- package/lib/main/browser/notification-main.d.ts.map +1 -0
- package/lib/main/browser/notification-main.js +27 -0
- package/lib/main/browser/notification-main.js.map +1 -0
- package/lib/main/browser/output-channel-registry-main.d.ts +11 -0
- package/lib/main/browser/output-channel-registry-main.d.ts.map +1 -0
- package/lib/main/browser/output-channel-registry-main.js +53 -0
- package/lib/main/browser/output-channel-registry-main.js.map +1 -0
- package/lib/main/browser/plugin-authentication-service.d.ts +14 -0
- package/lib/main/browser/plugin-authentication-service.d.ts.map +1 -0
- package/lib/main/browser/plugin-authentication-service.js +73 -0
- package/lib/main/browser/plugin-authentication-service.js.map +1 -0
- package/lib/main/browser/plugin-contribution-handler.d.ts +75 -0
- package/lib/main/browser/plugin-contribution-handler.d.ts.map +1 -0
- package/lib/main/browser/plugin-contribution-handler.js +640 -0
- package/lib/main/browser/plugin-contribution-handler.js.map +1 -0
- package/lib/main/browser/plugin-ext-argument-processor.d.ts +12 -0
- package/lib/main/browser/plugin-ext-argument-processor.d.ts.map +1 -0
- package/lib/main/browser/plugin-ext-argument-processor.js +41 -0
- package/lib/main/browser/plugin-ext-argument-processor.js.map +1 -0
- package/lib/main/browser/plugin-ext-frontend-module.d.ts +8 -0
- package/lib/main/browser/plugin-ext-frontend-module.d.ts.map +1 -0
- package/lib/main/browser/plugin-ext-frontend-module.js +257 -0
- package/lib/main/browser/plugin-ext-frontend-module.js.map +1 -0
- package/lib/main/browser/plugin-ext-widget.d.ts +29 -0
- package/lib/main/browser/plugin-ext-widget.d.ts.map +1 -0
- package/lib/main/browser/plugin-ext-widget.js +122 -0
- package/lib/main/browser/plugin-ext-widget.js.map +1 -0
- package/lib/main/browser/plugin-frontend-contribution.d.ts +10 -0
- package/lib/main/browser/plugin-frontend-contribution.d.ts.map +1 -0
- package/lib/main/browser/plugin-frontend-contribution.js +72 -0
- package/lib/main/browser/plugin-frontend-contribution.js.map +1 -0
- package/lib/main/browser/plugin-frontend-view-contribution.d.ts +7 -0
- package/lib/main/browser/plugin-frontend-view-contribution.d.ts.map +1 -0
- package/lib/main/browser/plugin-frontend-view-contribution.js +43 -0
- package/lib/main/browser/plugin-frontend-view-contribution.js.map +1 -0
- package/lib/main/browser/plugin-icon-service.d.ts +17 -0
- package/lib/main/browser/plugin-icon-service.d.ts.map +1 -0
- package/lib/main/browser/plugin-icon-service.js +89 -0
- package/lib/main/browser/plugin-icon-service.js.map +1 -0
- package/lib/main/browser/plugin-icon-theme-service.d.ts +147 -0
- package/lib/main/browser/plugin-icon-theme-service.d.ts.map +1 -0
- package/lib/main/browser/plugin-icon-theme-service.js +554 -0
- package/lib/main/browser/plugin-icon-theme-service.js.map +1 -0
- package/lib/main/browser/plugin-shared-style.d.ts +41 -0
- package/lib/main/browser/plugin-shared-style.d.ts.map +1 -0
- package/lib/main/browser/plugin-shared-style.js +137 -0
- package/lib/main/browser/plugin-shared-style.js.map +1 -0
- package/lib/main/browser/plugin-storage.d.ts +14 -0
- package/lib/main/browser/plugin-storage.d.ts.map +1 -0
- package/lib/main/browser/plugin-storage.js +47 -0
- package/lib/main/browser/plugin-storage.js.map +1 -0
- package/lib/main/browser/plugin-terminal-registry.d.ts +5 -0
- package/lib/main/browser/plugin-terminal-registry.d.ts.map +1 -0
- package/lib/main/browser/plugin-terminal-registry.js +30 -0
- package/lib/main/browser/plugin-terminal-registry.js.map +1 -0
- package/lib/main/browser/preference-registry-main.d.ts +20 -0
- package/lib/main/browser/preference-registry-main.d.ts.map +1 -0
- package/lib/main/browser/preference-registry-main.js +107 -0
- package/lib/main/browser/preference-registry-main.js.map +1 -0
- package/lib/main/browser/quick-open-main.d.ts +36 -0
- package/lib/main/browser/quick-open-main.d.ts.map +1 -0
- package/lib/main/browser/quick-open-main.js +314 -0
- package/lib/main/browser/quick-open-main.js.map +1 -0
- package/lib/main/browser/scm-main.d.ts +108 -0
- package/lib/main/browser/scm-main.d.ts.map +1 -0
- package/lib/main/browser/scm-main.js +348 -0
- package/lib/main/browser/scm-main.js.map +1 -0
- package/lib/main/browser/secrets-main.d.ts +16 -0
- package/lib/main/browser/secrets-main.d.ts.map +1 -0
- package/lib/main/browser/secrets-main.js +91 -0
- package/lib/main/browser/secrets-main.js.map +1 -0
- package/lib/main/browser/selection-provider-command.d.ts +13 -0
- package/lib/main/browser/selection-provider-command.d.ts.map +1 -0
- package/lib/main/browser/selection-provider-command.js +49 -0
- package/lib/main/browser/selection-provider-command.js.map +1 -0
- package/lib/main/browser/status-bar-message-registry-main.d.ts +19 -0
- package/lib/main/browser/status-bar-message-registry-main.d.ts.map +1 -0
- package/lib/main/browser/status-bar-message-registry-main.js +54 -0
- package/lib/main/browser/status-bar-message-registry-main.js.map +1 -0
- package/lib/main/browser/tabs/tabs-main.d.ts +54 -0
- package/lib/main/browser/tabs/tabs-main.d.ts.map +1 -0
- package/lib/main/browser/tabs/tabs-main.js +368 -0
- package/lib/main/browser/tabs/tabs-main.js.map +1 -0
- package/lib/main/browser/tasks-main.d.ts +34 -0
- package/lib/main/browser/tasks-main.d.ts.map +1 -0
- package/lib/main/browser/tasks-main.js +209 -0
- package/lib/main/browser/tasks-main.js.map +1 -0
- package/lib/main/browser/terminal-main.d.ts +64 -0
- package/lib/main/browser/terminal-main.d.ts.map +1 -0
- package/lib/main/browser/terminal-main.js +331 -0
- package/lib/main/browser/terminal-main.js.map +1 -0
- package/lib/main/browser/test-main.d.ts +144 -0
- package/lib/main/browser/test-main.d.ts.map +1 -0
- package/lib/main/browser/test-main.js +563 -0
- package/lib/main/browser/test-main.js.map +1 -0
- package/lib/main/browser/text-editor-main.d.ts +53 -0
- package/lib/main/browser/text-editor-main.d.ts.map +1 -0
- package/lib/main/browser/text-editor-main.js +443 -0
- package/lib/main/browser/text-editor-main.js.map +1 -0
- package/lib/main/browser/text-editor-model-service.d.ts +35 -0
- package/lib/main/browser/text-editor-model-service.d.ts.map +1 -0
- package/lib/main/browser/text-editor-model-service.js +111 -0
- package/lib/main/browser/text-editor-model-service.js.map +1 -0
- package/lib/main/browser/text-editors-main.d.ts +41 -0
- package/lib/main/browser/text-editors-main.d.ts.map +1 -0
- package/lib/main/browser/text-editors-main.js +180 -0
- package/lib/main/browser/text-editors-main.js.map +1 -0
- package/lib/main/browser/theme-icon-override.d.ts +2 -0
- package/lib/main/browser/theme-icon-override.d.ts.map +1 -0
- package/lib/main/browser/theme-icon-override.js +245 -0
- package/lib/main/browser/theme-icon-override.js.map +1 -0
- package/lib/main/browser/theming-main.d.ts +10 -0
- package/lib/main/browser/theming-main.d.ts.map +1 -0
- package/lib/main/browser/theming-main.js +36 -0
- package/lib/main/browser/theming-main.js.map +1 -0
- package/lib/main/browser/timeline-main.d.ts +14 -0
- package/lib/main/browser/timeline-main.d.ts.map +1 -0
- package/lib/main/browser/timeline-main.js +51 -0
- package/lib/main/browser/timeline-main.js.map +1 -0
- package/lib/main/browser/uri-main.d.ts +16 -0
- package/lib/main/browser/uri-main.d.ts.map +1 -0
- package/lib/main/browser/uri-main.js +64 -0
- package/lib/main/browser/uri-main.js.map +1 -0
- package/lib/main/browser/view/dnd-file-content-store.d.ts +8 -0
- package/lib/main/browser/view/dnd-file-content-store.d.ts.map +1 -0
- package/lib/main/browser/view/dnd-file-content-store.js +47 -0
- package/lib/main/browser/view/dnd-file-content-store.js.map +1 -0
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.d.ts +12 -0
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.d.ts.map +1 -0
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.js +83 -0
- package/lib/main/browser/view/plugin-tree-view-node-label-provider.js.map +1 -0
- package/lib/main/browser/view/plugin-view-registry.d.ts +112 -0
- package/lib/main/browser/view/plugin-view-registry.d.ts.map +1 -0
- package/lib/main/browser/view/plugin-view-registry.js +901 -0
- package/lib/main/browser/view/plugin-view-registry.js.map +1 -0
- package/lib/main/browser/view/plugin-view-widget.d.ts +53 -0
- package/lib/main/browser/view/plugin-view-widget.d.ts.map +1 -0
- package/lib/main/browser/view/plugin-view-widget.js +164 -0
- package/lib/main/browser/view/plugin-view-widget.js.map +1 -0
- package/lib/main/browser/view/tree-view-decorator-service.d.ts +31 -0
- package/lib/main/browser/view/tree-view-decorator-service.d.ts.map +1 -0
- package/lib/main/browser/view/tree-view-decorator-service.js +58 -0
- package/lib/main/browser/view/tree-view-decorator-service.js.map +1 -0
- package/lib/main/browser/view/tree-view-widget.d.ts +166 -0
- package/lib/main/browser/view/tree-view-widget.d.ts.map +1 -0
- package/lib/main/browser/view/tree-view-widget.js +848 -0
- package/lib/main/browser/view/tree-view-widget.js.map +1 -0
- package/lib/main/browser/view/tree-views-main.d.ts +35 -0
- package/lib/main/browser/view/tree-views-main.d.ts.map +1 -0
- package/lib/main/browser/view/tree-views-main.js +179 -0
- package/lib/main/browser/view/tree-views-main.js.map +1 -0
- package/lib/main/browser/view/view-context-key-service.d.ts +17 -0
- package/lib/main/browser/view/view-context-key-service.d.ts.map +1 -0
- package/lib/main/browser/view/view-context-key-service.js +63 -0
- package/lib/main/browser/view/view-context-key-service.js.map +1 -0
- package/lib/main/browser/webview/webview-context-keys.d.ts +17 -0
- package/lib/main/browser/webview/webview-context-keys.d.ts.map +1 -0
- package/lib/main/browser/webview/webview-context-keys.js +65 -0
- package/lib/main/browser/webview/webview-context-keys.js.map +1 -0
- package/lib/main/browser/webview/webview-environment.d.ts +17 -0
- package/lib/main/browser/webview/webview-environment.d.ts.map +1 -0
- package/lib/main/browser/webview/webview-environment.js +89 -0
- package/lib/main/browser/webview/webview-environment.js.map +1 -0
- package/lib/main/browser/webview/webview-frontend-preference-contribution.d.ts +5 -0
- package/lib/main/browser/webview/webview-frontend-preference-contribution.d.ts.map +1 -0
- package/lib/main/browser/webview/webview-frontend-preference-contribution.js +40 -0
- package/lib/main/browser/webview/webview-frontend-preference-contribution.js.map +1 -0
- package/lib/main/browser/webview/webview-frontend-security-warnings.d.ts +12 -0
- package/lib/main/browser/webview/webview-frontend-security-warnings.d.ts.map +1 -0
- package/lib/main/browser/webview/webview-frontend-security-warnings.js +66 -0
- package/lib/main/browser/webview/webview-frontend-security-warnings.js.map +1 -0
- package/lib/main/browser/webview/webview-resource-cache.d.ts +18 -0
- package/lib/main/browser/webview/webview-resource-cache.d.ts.map +1 -0
- package/lib/main/browser/webview/webview-resource-cache.js +83 -0
- package/lib/main/browser/webview/webview-resource-cache.js.map +1 -0
- package/lib/main/browser/webview/webview-secondary-window-support.d.ts +8 -0
- package/lib/main/browser/webview/webview-secondary-window-support.d.ts.map +1 -0
- package/lib/main/browser/webview/webview-secondary-window-support.js +52 -0
- package/lib/main/browser/webview/webview-secondary-window-support.js.map +1 -0
- package/lib/main/browser/webview/webview-theme-data-provider.d.ts +31 -0
- package/lib/main/browser/webview/webview-theme-data-provider.d.ts.map +1 -0
- package/lib/main/browser/webview/webview-theme-data-provider.js +125 -0
- package/lib/main/browser/webview/webview-theme-data-provider.js.map +1 -0
- package/lib/main/browser/webview/webview-widget-factory.d.ts +9 -0
- package/lib/main/browser/webview/webview-widget-factory.d.ts.map +1 -0
- package/lib/main/browser/webview/webview-widget-factory.js +40 -0
- package/lib/main/browser/webview/webview-widget-factory.js.map +1 -0
- package/lib/main/browser/webview/webview.d.ts +150 -0
- package/lib/main/browser/webview/webview.d.ts.map +1 -0
- package/lib/main/browser/webview/webview.js +591 -0
- package/lib/main/browser/webview/webview.js.map +1 -0
- package/lib/main/browser/webview-views/webview-views-main.d.ts +34 -0
- package/lib/main/browser/webview-views/webview-views-main.d.ts.map +1 -0
- package/lib/main/browser/webview-views/webview-views-main.js +133 -0
- package/lib/main/browser/webview-views/webview-views-main.js.map +1 -0
- package/lib/main/browser/webview-views/webview-views.d.ts +16 -0
- package/lib/main/browser/webview-views/webview-views.d.ts.map +1 -0
- package/lib/main/browser/webview-views/webview-views.js +23 -0
- package/lib/main/browser/webview-views/webview-views.js.map +1 -0
- package/lib/main/browser/webviews-main.d.ts +40 -0
- package/lib/main/browser/webviews-main.d.ts.map +1 -0
- package/lib/main/browser/webviews-main.js +247 -0
- package/lib/main/browser/webviews-main.js.map +1 -0
- 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 +18 -0
- package/lib/main/browser/window-state-main.d.ts.map +1 -0
- package/lib/main/browser/window-state-main.js +69 -0
- package/lib/main/browser/window-state-main.js.map +1 -0
- package/lib/main/browser/workspace-main.d.ts +98 -0
- package/lib/main/browser/workspace-main.d.ts.map +1 -0
- package/lib/main/browser/workspace-main.js +384 -0
- package/lib/main/browser/workspace-main.js.map +1 -0
- package/lib/main/common/basic-message-registry-main.d.ts +14 -0
- package/lib/main/common/basic-message-registry-main.d.ts.map +1 -0
- package/lib/main/common/basic-message-registry-main.js +50 -0
- package/lib/main/common/basic-message-registry-main.js.map +1 -0
- package/lib/main/common/basic-notification-main.d.ts +19 -0
- package/lib/main/common/basic-notification-main.d.ts.map +1 -0
- package/lib/main/common/basic-notification-main.js +75 -0
- package/lib/main/common/basic-notification-main.js.map +1 -0
- package/lib/main/common/env-main.d.ts +11 -0
- package/lib/main/common/env-main.d.ts.map +1 -0
- package/lib/main/common/env-main.js +40 -0
- package/lib/main/common/env-main.js.map +1 -0
- package/lib/main/common/plugin-paths-protocol.d.ts +9 -0
- package/lib/main/common/plugin-paths-protocol.d.ts.map +1 -0
- package/lib/main/common/plugin-paths-protocol.js +22 -0
- package/lib/main/common/plugin-paths-protocol.js.map +1 -0
- package/lib/main/common/plugin-theia-environment.d.ts +8 -0
- package/lib/main/common/plugin-theia-environment.d.ts.map +1 -0
- package/lib/main/common/plugin-theia-environment.js +40 -0
- package/lib/main/common/plugin-theia-environment.js.map +1 -0
- package/lib/main/common/webview-preferences.d.ts +13 -0
- package/lib/main/common/webview-preferences.d.ts.map +1 -0
- package/lib/main/common/webview-preferences.js +47 -0
- package/lib/main/common/webview-preferences.js.map +1 -0
- package/lib/main/common/webview-protocol.d.ts +13 -0
- package/lib/main/common/webview-protocol.d.ts.map +1 -0
- package/lib/main/common/webview-protocol.js +32 -0
- package/lib/main/common/webview-protocol.js.map +1 -0
- package/lib/main/electron-browser/plugin-ext-frontend-electron-module.d.ts +4 -0
- package/lib/main/electron-browser/plugin-ext-frontend-electron-module.d.ts.map +1 -0
- package/lib/main/electron-browser/plugin-ext-frontend-electron-module.js +26 -0
- package/lib/main/electron-browser/plugin-ext-frontend-electron-module.js.map +1 -0
- package/lib/main/electron-browser/webview/electron-webview-widget-factory.d.ts +24 -0
- package/lib/main/electron-browser/webview/electron-webview-widget-factory.d.ts.map +1 -0
- package/lib/main/electron-browser/webview/electron-webview-widget-factory.js +54 -0
- package/lib/main/electron-browser/webview/electron-webview-widget-factory.js.map +1 -0
- package/lib/main/node/errors.spec.d.ts +2 -0
- package/lib/main/node/errors.spec.d.ts.map +1 -0
- package/lib/main/node/errors.spec.js +36 -0
- package/lib/main/node/errors.spec.js.map +1 -0
- package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts +19 -0
- package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts.map +1 -0
- package/lib/main/node/handlers/plugin-theia-directory-handler.js +130 -0
- package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +1 -0
- package/lib/main/node/handlers/plugin-theia-file-handler.d.ts +11 -0
- package/lib/main/node/handlers/plugin-theia-file-handler.d.ts.map +1 -0
- package/lib/main/node/handlers/plugin-theia-file-handler.js +67 -0
- package/lib/main/node/handlers/plugin-theia-file-handler.js.map +1 -0
- package/lib/main/node/paths/const.d.ts +6 -0
- package/lib/main/node/paths/const.d.ts.map +1 -0
- package/lib/main/node/paths/const.js +25 -0
- package/lib/main/node/paths/const.js.map +1 -0
- package/lib/main/node/paths/plugin-paths-service.d.ts +26 -0
- package/lib/main/node/paths/plugin-paths-service.d.ts.map +1 -0
- package/lib/main/node/paths/plugin-paths-service.js +153 -0
- package/lib/main/node/paths/plugin-paths-service.js.map +1 -0
- package/lib/main/node/plugin-cli-contribution.d.ts +22 -0
- package/lib/main/node/plugin-cli-contribution.d.ts.map +1 -0
- package/lib/main/node/plugin-cli-contribution.js +80 -0
- package/lib/main/node/plugin-cli-contribution.js.map +1 -0
- package/lib/main/node/plugin-deployer-contribution.d.ts +9 -0
- package/lib/main/node/plugin-deployer-contribution.d.ts.map +1 -0
- package/lib/main/node/plugin-deployer-contribution.js +41 -0
- package/lib/main/node/plugin-deployer-contribution.js.map +1 -0
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.d.ts +8 -0
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.d.ts.map +1 -0
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.js +45 -0
- package/lib/main/node/plugin-deployer-directory-handler-context-impl.js.map +1 -0
- package/lib/main/node/plugin-deployer-entry-impl.d.ts +35 -0
- package/lib/main/node/plugin-deployer-entry-impl.d.ts.map +1 -0
- package/lib/main/node/plugin-deployer-entry-impl.js +112 -0
- package/lib/main/node/plugin-deployer-entry-impl.js.map +1 -0
- package/lib/main/node/plugin-deployer-file-handler-context-impl.d.ts +8 -0
- package/lib/main/node/plugin-deployer-file-handler-context-impl.d.ts.map +1 -0
- package/lib/main/node/plugin-deployer-file-handler-context-impl.js +32 -0
- package/lib/main/node/plugin-deployer-file-handler-context-impl.js.map +1 -0
- package/lib/main/node/plugin-deployer-impl.d.ts +64 -0
- package/lib/main/node/plugin-deployer-impl.d.ts.map +1 -0
- package/lib/main/node/plugin-deployer-impl.js +350 -0
- package/lib/main/node/plugin-deployer-impl.js.map +1 -0
- package/lib/main/node/plugin-deployer-proxy-entry-impl.d.ts +30 -0
- package/lib/main/node/plugin-deployer-proxy-entry-impl.d.ts.map +1 -0
- package/lib/main/node/plugin-deployer-proxy-entry-impl.js +93 -0
- package/lib/main/node/plugin-deployer-proxy-entry-impl.js.map +1 -0
- package/lib/main/node/plugin-deployer-resolver-context-impl.d.ts +16 -0
- package/lib/main/node/plugin-deployer-resolver-context-impl.d.ts.map +1 -0
- package/lib/main/node/plugin-deployer-resolver-context-impl.js +43 -0
- package/lib/main/node/plugin-deployer-resolver-context-impl.js.map +1 -0
- package/lib/main/node/plugin-ext-backend-module.d.ts +3 -0
- package/lib/main/node/plugin-ext-backend-module.d.ts.map +1 -0
- package/lib/main/node/plugin-ext-backend-module.js +84 -0
- package/lib/main/node/plugin-ext-backend-module.js.map +1 -0
- package/lib/main/node/plugin-github-resolver.d.ts +24 -0
- package/lib/main/node/plugin-github-resolver.d.ts.map +1 -0
- package/lib/main/node/plugin-github-resolver.js +136 -0
- package/lib/main/node/plugin-github-resolver.js.map +1 -0
- package/lib/main/node/plugin-http-resolver.d.ts +21 -0
- package/lib/main/node/plugin-http-resolver.d.ts.map +1 -0
- package/lib/main/node/plugin-http-resolver.js +92 -0
- package/lib/main/node/plugin-http-resolver.js.map +1 -0
- package/lib/main/node/plugin-localization-server.d.ts +10 -0
- package/lib/main/node/plugin-localization-server.d.ts.map +1 -0
- package/lib/main/node/plugin-localization-server.js +51 -0
- package/lib/main/node/plugin-localization-server.js.map +1 -0
- package/lib/main/node/plugin-mgmt-cli-contribution.d.ts +13 -0
- package/lib/main/node/plugin-mgmt-cli-contribution.d.ts.map +1 -0
- package/lib/main/node/plugin-mgmt-cli-contribution.js +63 -0
- package/lib/main/node/plugin-mgmt-cli-contribution.js.map +1 -0
- 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 +40 -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 +44 -0
- package/lib/main/node/plugin-remote-copy-contribution.js.map +1 -0
- package/lib/main/node/plugin-server-impl.d.ts +24 -0
- package/lib/main/node/plugin-server-impl.d.ts.map +1 -0
- package/lib/main/node/plugin-server-impl.js +88 -0
- package/lib/main/node/plugin-server-impl.js.map +1 -0
- package/lib/main/node/plugin-service.d.ts +24 -0
- package/lib/main/node/plugin-service.d.ts.map +1 -0
- package/lib/main/node/plugin-service.js +102 -0
- package/lib/main/node/plugin-service.js.map +1 -0
- package/lib/main/node/plugin-theia-deployer-participant.d.ts +7 -0
- package/lib/main/node/plugin-theia-deployer-participant.d.ts.map +1 -0
- package/lib/main/node/plugin-theia-deployer-participant.js +36 -0
- package/lib/main/node/plugin-theia-deployer-participant.js.map +1 -0
- package/lib/main/node/plugin-uninstallation-manager.d.ts +27 -0
- package/lib/main/node/plugin-uninstallation-manager.d.ts.map +1 -0
- package/lib/main/node/plugin-uninstallation-manager.js +133 -0
- package/lib/main/node/plugin-uninstallation-manager.js.map +1 -0
- package/lib/main/node/plugins-key-value-storage.d.ts +29 -0
- package/lib/main/node/plugins-key-value-storage.d.ts.map +1 -0
- package/lib/main/node/plugins-key-value-storage.js +160 -0
- package/lib/main/node/plugins-key-value-storage.js.map +1 -0
- package/lib/main/node/plugins-key-value-storage.spec.d.ts +17 -0
- package/lib/main/node/plugins-key-value-storage.spec.d.ts.map +1 -0
- package/lib/main/node/plugins-key-value-storage.spec.js +101 -0
- package/lib/main/node/plugins-key-value-storage.spec.js.map +1 -0
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.d.ts +8 -0
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.d.ts.map +1 -0
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js +39 -0
- package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js.map +1 -0
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.d.ts +9 -0
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.d.ts.map +1 -0
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.js +55 -0
- package/lib/main/node/resolvers/local-plugin-deployer-resolver.js.map +1 -0
- package/lib/main/node/temp-dir-util.d.ts +3 -0
- package/lib/main/node/temp-dir-util.d.ts.map +1 -0
- package/lib/main/node/temp-dir-util.js +40 -0
- package/lib/main/node/temp-dir-util.js.map +1 -0
- package/lib/main/node/webview-backend-security-warnings.d.ts +6 -0
- package/lib/main/node/webview-backend-security-warnings.d.ts.map +1 -0
- package/lib/main/node/webview-backend-security-warnings.js +47 -0
- package/lib/main/node/webview-backend-security-warnings.js.map +1 -0
- package/lib/plugin/authentication-ext.d.ts +32 -0
- package/lib/plugin/authentication-ext.d.ts.map +1 -0
- package/lib/plugin/authentication-ext.js +108 -0
- package/lib/plugin/authentication-ext.js.map +1 -0
- package/lib/plugin/clipboard-ext.d.ts +11 -0
- package/lib/plugin/clipboard-ext.d.ts.map +1 -0
- package/lib/plugin/clipboard-ext.js +48 -0
- package/lib/plugin/clipboard-ext.js.map +1 -0
- package/lib/plugin/command-registry.d.ts +42 -0
- package/lib/plugin/command-registry.d.ts.map +1 -0
- package/lib/plugin/command-registry.js +183 -0
- package/lib/plugin/command-registry.js.map +1 -0
- package/lib/plugin/comments.d.ts +96 -0
- package/lib/plugin/comments.d.ts.map +1 -0
- package/lib/plugin/comments.js +406 -0
- package/lib/plugin/comments.js.map +1 -0
- package/lib/plugin/custom-editors.d.ts +46 -0
- package/lib/plugin/custom-editors.d.ts.map +1 -0
- package/lib/plugin/custom-editors.js +254 -0
- package/lib/plugin/custom-editors.js.map +1 -0
- package/lib/plugin/debug/debug-ext.d.ts +97 -0
- package/lib/plugin/debug/debug-ext.d.ts.map +1 -0
- package/lib/plugin/debug/debug-ext.js +459 -0
- package/lib/plugin/debug/debug-ext.js.map +1 -0
- package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts +11 -0
- package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts.map +1 -0
- package/lib/plugin/debug/plugin-debug-adapter-creator.js +42 -0
- package/lib/plugin/debug/plugin-debug-adapter-creator.js.map +1 -0
- package/lib/plugin/debug/plugin-debug-adapter-session.d.ts +27 -0
- package/lib/plugin/debug/plugin-debug-adapter-session.d.ts.map +1 -0
- package/lib/plugin/debug/plugin-debug-adapter-session.js +97 -0
- package/lib/plugin/debug/plugin-debug-adapter-session.js.map +1 -0
- package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts +13 -0
- package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts.map +1 -0
- package/lib/plugin/debug/plugin-debug-adapter-tracker.js +78 -0
- package/lib/plugin/debug/plugin-debug-adapter-tracker.js.map +1 -0
- package/lib/plugin/decorations.d.ts +16 -0
- package/lib/plugin/decorations.d.ts.map +1 -0
- package/lib/plugin/decorations.js +115 -0
- package/lib/plugin/decorations.js.map +1 -0
- package/lib/plugin/dialogs.d.ts +11 -0
- package/lib/plugin/dialogs.d.ts.map +1 -0
- package/lib/plugin/dialogs.js +92 -0
- package/lib/plugin/dialogs.js.map +1 -0
- package/lib/plugin/document-data.d.ts +41 -0
- package/lib/plugin/document-data.d.ts.map +1 -0
- package/lib/plugin/document-data.js +316 -0
- package/lib/plugin/document-data.js.map +1 -0
- package/lib/plugin/documents.d.ts +63 -0
- package/lib/plugin/documents.d.ts.map +1 -0
- package/lib/plugin/documents.js +272 -0
- package/lib/plugin/documents.js.map +1 -0
- package/lib/plugin/editors-and-documents.d.ts +27 -0
- package/lib/plugin/editors-and-documents.d.ts.map +1 -0
- package/lib/plugin/editors-and-documents.js +150 -0
- package/lib/plugin/editors-and-documents.js.map +1 -0
- package/lib/plugin/env.d.ts +41 -0
- package/lib/plugin/env.d.ts.map +1 -0
- package/lib/plugin/env.js +114 -0
- package/lib/plugin/env.js.map +1 -0
- package/lib/plugin/file-system-event-service-ext-impl.d.ts +56 -0
- package/lib/plugin/file-system-event-service-ext-impl.d.ts.map +1 -0
- package/lib/plugin/file-system-event-service-ext-impl.js +206 -0
- package/lib/plugin/file-system-event-service-ext-impl.js.map +1 -0
- package/lib/plugin/file-system-ext-impl.d.ts +82 -0
- package/lib/plugin/file-system-ext-impl.d.ts.map +1 -0
- package/lib/plugin/file-system-ext-impl.js +361 -0
- package/lib/plugin/file-system-ext-impl.js.map +1 -0
- package/lib/plugin/file-system-watcher.spec.d.ts +2 -0
- package/lib/plugin/file-system-watcher.spec.d.ts.map +1 -0
- package/lib/plugin/file-system-watcher.spec.js +108 -0
- package/lib/plugin/file-system-watcher.spec.js.map +1 -0
- package/lib/plugin/known-commands.d.ts +6 -0
- package/lib/plugin/known-commands.d.ts.map +1 -0
- package/lib/plugin/known-commands.js +402 -0
- package/lib/plugin/known-commands.js.map +1 -0
- package/lib/plugin/known-commands.spec.d.ts +2 -0
- package/lib/plugin/known-commands.spec.d.ts.map +1 -0
- package/lib/plugin/known-commands.spec.js +43 -0
- package/lib/plugin/known-commands.spec.js.map +1 -0
- package/lib/plugin/label-service.d.ts +12 -0
- package/lib/plugin/label-service.d.ts.map +1 -0
- package/lib/plugin/label-service.js +36 -0
- package/lib/plugin/label-service.js.map +1 -0
- package/lib/plugin/languages/call-hierarchy.d.ts +21 -0
- package/lib/plugin/languages/call-hierarchy.d.ts.map +1 -0
- package/lib/plugin/languages/call-hierarchy.js +102 -0
- package/lib/plugin/languages/call-hierarchy.js.map +1 -0
- package/lib/plugin/languages/code-action.d.ts +25 -0
- package/lib/plugin/languages/code-action.d.ts.map +1 -0
- package/lib/plugin/languages/code-action.js +138 -0
- package/lib/plugin/languages/code-action.js.map +1 -0
- package/lib/plugin/languages/color.d.ts +13 -0
- package/lib/plugin/languages/color.d.ts.map +1 -0
- package/lib/plugin/languages/color.js +59 -0
- package/lib/plugin/languages/color.js.map +1 -0
- package/lib/plugin/languages/completion.d.ts +21 -0
- package/lib/plugin/languages/completion.d.ts.map +1 -0
- package/lib/plugin/languages/completion.js +165 -0
- package/lib/plugin/languages/completion.js.map +1 -0
- package/lib/plugin/languages/declaration.d.ts +12 -0
- package/lib/plugin/languages/declaration.d.ts.map +1 -0
- package/lib/plugin/languages/declaration.js +59 -0
- package/lib/plugin/languages/declaration.js.map +1 -0
- package/lib/plugin/languages/definition.d.ts +12 -0
- package/lib/plugin/languages/definition.d.ts.map +1 -0
- package/lib/plugin/languages/definition.js +59 -0
- package/lib/plugin/languages/definition.js.map +1 -0
- package/lib/plugin/languages/diagnostics.d.ts +51 -0
- package/lib/plugin/languages/diagnostics.d.ts.map +1 -0
- package/lib/plugin/languages/diagnostics.js +288 -0
- package/lib/plugin/languages/diagnostics.js.map +1 -0
- package/lib/plugin/languages/document-drop-edit.d.ts +16 -0
- package/lib/plugin/languages/document-drop-edit.d.ts.map +1 -0
- package/lib/plugin/languages/document-drop-edit.js +23 -0
- package/lib/plugin/languages/document-drop-edit.js.map +1 -0
- package/lib/plugin/languages/document-formatting.d.ts +11 -0
- package/lib/plugin/languages/document-formatting.d.ts.map +1 -0
- package/lib/plugin/languages/document-formatting.js +41 -0
- package/lib/plugin/languages/document-formatting.js.map +1 -0
- package/lib/plugin/languages/document-highlight.d.ts +13 -0
- package/lib/plugin/languages/document-highlight.d.ts.map +1 -0
- package/lib/plugin/languages/document-highlight.js +51 -0
- package/lib/plugin/languages/document-highlight.js.map +1 -0
- package/lib/plugin/languages/evaluatable-expression.d.ts +12 -0
- package/lib/plugin/languages/evaluatable-expression.d.ts.map +1 -0
- package/lib/plugin/languages/evaluatable-expression.js +41 -0
- package/lib/plugin/languages/evaluatable-expression.js.map +1 -0
- package/lib/plugin/languages/folding.d.ts +11 -0
- package/lib/plugin/languages/folding.d.ts.map +1 -0
- package/lib/plugin/languages/folding.js +40 -0
- package/lib/plugin/languages/folding.js.map +1 -0
- package/lib/plugin/languages/hover.d.ts +12 -0
- package/lib/plugin/languages/hover.d.ts.map +1 -0
- package/lib/plugin/languages/hover.js +49 -0
- package/lib/plugin/languages/hover.js.map +1 -0
- package/lib/plugin/languages/implementation.d.ts +12 -0
- package/lib/plugin/languages/implementation.d.ts.map +1 -0
- package/lib/plugin/languages/implementation.js +59 -0
- package/lib/plugin/languages/implementation.js.map +1 -0
- package/lib/plugin/languages/inlay-hints.d.ts +20 -0
- package/lib/plugin/languages/inlay-hints.d.ts.map +1 -0
- package/lib/plugin/languages/inlay-hints.js +128 -0
- package/lib/plugin/languages/inlay-hints.js.map +1 -0
- package/lib/plugin/languages/inline-completion.d.ts +21 -0
- package/lib/plugin/languages/inline-completion.d.ts.map +1 -0
- package/lib/plugin/languages/inline-completion.js +94 -0
- package/lib/plugin/languages/inline-completion.js.map +1 -0
- package/lib/plugin/languages/inline-values.d.ts +11 -0
- package/lib/plugin/languages/inline-values.d.ts.map +1 -0
- package/lib/plugin/languages/inline-values.js +45 -0
- package/lib/plugin/languages/inline-values.js.map +1 -0
- package/lib/plugin/languages/lens.d.ts +20 -0
- package/lib/plugin/languages/lens.d.ts.map +1 -0
- package/lib/plugin/languages/lens.js +90 -0
- package/lib/plugin/languages/lens.js.map +1 -0
- package/lib/plugin/languages/link-provider.d.ts +15 -0
- package/lib/plugin/languages/link-provider.d.ts.map +1 -0
- package/lib/plugin/languages/link-provider.js +74 -0
- package/lib/plugin/languages/link-provider.js.map +1 -0
- package/lib/plugin/languages/linked-editing-range.d.ts +12 -0
- package/lib/plugin/languages/linked-editing-range.d.ts.map +1 -0
- package/lib/plugin/languages/linked-editing-range.js +41 -0
- package/lib/plugin/languages/linked-editing-range.js.map +1 -0
- package/lib/plugin/languages/on-type-formatting.d.ts +12 -0
- package/lib/plugin/languages/on-type-formatting.d.ts.map +1 -0
- package/lib/plugin/languages/on-type-formatting.js +42 -0
- package/lib/plugin/languages/on-type-formatting.js.map +1 -0
- package/lib/plugin/languages/outline.d.ts +21 -0
- package/lib/plugin/languages/outline.d.ts.map +1 -0
- package/lib/plugin/languages/outline.js +116 -0
- package/lib/plugin/languages/outline.js.map +1 -0
- package/lib/plugin/languages/range-formatting.d.ts +11 -0
- package/lib/plugin/languages/range-formatting.d.ts.map +1 -0
- package/lib/plugin/languages/range-formatting.js +42 -0
- package/lib/plugin/languages/range-formatting.js.map +1 -0
- package/lib/plugin/languages/reference.d.ts +12 -0
- package/lib/plugin/languages/reference.d.ts.map +1 -0
- package/lib/plugin/languages/reference.js +48 -0
- package/lib/plugin/languages/reference.js.map +1 -0
- package/lib/plugin/languages/rename.d.ts +15 -0
- package/lib/plugin/languages/rename.d.ts.map +1 -0
- package/lib/plugin/languages/rename.js +115 -0
- package/lib/plugin/languages/rename.js.map +1 -0
- package/lib/plugin/languages/selection-range.d.ts +12 -0
- package/lib/plugin/languages/selection-range.d.ts.map +1 -0
- package/lib/plugin/languages/selection-range.js +66 -0
- package/lib/plugin/languages/selection-range.js.map +1 -0
- package/lib/plugin/languages/semantic-highlighting.d.ts +29 -0
- package/lib/plugin/languages/semantic-highlighting.d.ts.map +1 -0
- package/lib/plugin/languages/semantic-highlighting.js +176 -0
- package/lib/plugin/languages/semantic-highlighting.js.map +1 -0
- package/lib/plugin/languages/signature.d.ts +16 -0
- package/lib/plugin/languages/signature.d.ts.map +1 -0
- package/lib/plugin/languages/signature.js +72 -0
- package/lib/plugin/languages/signature.js.map +1 -0
- package/lib/plugin/languages/type-definition.d.ts +12 -0
- package/lib/plugin/languages/type-definition.d.ts.map +1 -0
- package/lib/plugin/languages/type-definition.js +59 -0
- package/lib/plugin/languages/type-definition.js.map +1 -0
- package/lib/plugin/languages/type-hierarchy.d.ts +19 -0
- package/lib/plugin/languages/type-hierarchy.d.ts.map +1 -0
- package/lib/plugin/languages/type-hierarchy.js +96 -0
- package/lib/plugin/languages/type-hierarchy.js.map +1 -0
- package/lib/plugin/languages/util.d.ts +5 -0
- package/lib/plugin/languages/util.d.ts.map +1 -0
- package/lib/plugin/languages/util.js +28 -0
- package/lib/plugin/languages/util.js.map +1 -0
- package/lib/plugin/languages/workspace-symbol.d.ts +9 -0
- package/lib/plugin/languages/workspace-symbol.d.ts.map +1 -0
- package/lib/plugin/languages/workspace-symbol.js +62 -0
- package/lib/plugin/languages/workspace-symbol.js.map +1 -0
- package/lib/plugin/languages-utils.d.ts +7 -0
- package/lib/plugin/languages-utils.d.ts.map +1 -0
- package/lib/plugin/languages-utils.js +66 -0
- package/lib/plugin/languages-utils.js.map +1 -0
- package/lib/plugin/languages.d.ts +128 -0
- package/lib/plugin/languages.d.ts.map +1 -0
- package/lib/plugin/languages.js +720 -0
- package/lib/plugin/languages.js.map +1 -0
- package/lib/plugin/lm-ext.d.ts +28 -0
- package/lib/plugin/lm-ext.d.ts.map +1 -0
- package/lib/plugin/lm-ext.js +131 -0
- package/lib/plugin/lm-ext.js.map +1 -0
- package/lib/plugin/localization-ext.d.ts +19 -0
- package/lib/plugin/localization-ext.d.ts.map +1 -0
- package/lib/plugin/localization-ext.js +94 -0
- package/lib/plugin/localization-ext.js.map +1 -0
- package/lib/plugin/logger.d.ts +16 -0
- package/lib/plugin/logger.d.ts.map +1 -0
- package/lib/plugin/logger.js +56 -0
- package/lib/plugin/logger.js.map +1 -0
- package/lib/plugin/markdown-string.d.ts +25 -0
- package/lib/plugin/markdown-string.d.ts.map +1 -0
- package/lib/plugin/markdown-string.js +106 -0
- package/lib/plugin/markdown-string.js.map +1 -0
- package/lib/plugin/message-registry.d.ts +10 -0
- package/lib/plugin/message-registry.d.ts.map +1 -0
- package/lib/plugin/message-registry.js +77 -0
- package/lib/plugin/message-registry.js.map +1 -0
- package/lib/plugin/node/debug/debug.spec.d.ts +2 -0
- package/lib/plugin/node/debug/debug.spec.d.ts.map +1 -0
- package/lib/plugin/node/debug/debug.spec.js +88 -0
- package/lib/plugin/node/debug/debug.spec.js.map +1 -0
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts +18 -0
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts.map +1 -0
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js +155 -0
- package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js.map +1 -0
- package/lib/plugin/node/env-node-ext.d.ts +17 -0
- package/lib/plugin/node/env-node-ext.d.ts.map +1 -0
- package/lib/plugin/node/env-node-ext.js +64 -0
- package/lib/plugin/node/env-node-ext.js.map +1 -0
- package/lib/plugin/node/plugin-container-module.d.ts +75 -0
- package/lib/plugin/node/plugin-container-module.d.ts.map +1 -0
- package/lib/plugin/node/plugin-container-module.js +115 -0
- package/lib/plugin/node/plugin-container-module.js.map +1 -0
- package/lib/plugin/notebook/notebook-document.d.ts +60 -0
- package/lib/plugin/notebook/notebook-document.d.ts.map +1 -0
- package/lib/plugin/notebook/notebook-document.js +383 -0
- package/lib/plugin/notebook/notebook-document.js.map +1 -0
- package/lib/plugin/notebook/notebook-documents.d.ts +17 -0
- package/lib/plugin/notebook/notebook-documents.d.ts.map +1 -0
- package/lib/plugin/notebook/notebook-documents.js +48 -0
- package/lib/plugin/notebook/notebook-documents.js.map +1 -0
- package/lib/plugin/notebook/notebook-editor.d.ts +21 -0
- package/lib/plugin/notebook/notebook-editor.d.ts.map +1 -0
- package/lib/plugin/notebook/notebook-editor.js +99 -0
- package/lib/plugin/notebook/notebook-editor.js.map +1 -0
- package/lib/plugin/notebook/notebook-editors.d.ts +14 -0
- package/lib/plugin/notebook/notebook-editors.d.ts.map +1 -0
- package/lib/plugin/notebook/notebook-editors.js +65 -0
- package/lib/plugin/notebook/notebook-editors.js.map +1 -0
- package/lib/plugin/notebook/notebook-kernels.d.ts +40 -0
- package/lib/plugin/notebook/notebook-kernels.d.ts.map +1 -0
- package/lib/plugin/notebook/notebook-kernels.js +536 -0
- package/lib/plugin/notebook/notebook-kernels.js.map +1 -0
- package/lib/plugin/notebook/notebook-renderers.d.ts +14 -0
- package/lib/plugin/notebook/notebook-renderers.d.ts.map +1 -0
- package/lib/plugin/notebook/notebook-renderers.js +63 -0
- package/lib/plugin/notebook/notebook-renderers.js.map +1 -0
- package/lib/plugin/notebook/notebooks.d.ts +62 -0
- package/lib/plugin/notebook/notebooks.d.ts.map +1 -0
- package/lib/plugin/notebook/notebooks.js +381 -0
- package/lib/plugin/notebook/notebooks.js.map +1 -0
- package/lib/plugin/notification.d.ts +18 -0
- package/lib/plugin/notification.d.ts.map +1 -0
- package/lib/plugin/notification.js +68 -0
- package/lib/plugin/notification.js.map +1 -0
- package/lib/plugin/output-channel/log-output-channel.d.ts +24 -0
- package/lib/plugin/output-channel/log-output-channel.d.ts.map +1 -0
- package/lib/plugin/output-channel/log-output-channel.js +101 -0
- package/lib/plugin/output-channel/log-output-channel.js.map +1 -0
- package/lib/plugin/output-channel/output-channel-item.d.ts +18 -0
- package/lib/plugin/output-channel/output-channel-item.d.ts.map +1 -0
- package/lib/plugin/output-channel/output-channel-item.js +60 -0
- package/lib/plugin/output-channel/output-channel-item.js.map +1 -0
- package/lib/plugin/output-channel-registry.d.ts +14 -0
- package/lib/plugin/output-channel-registry.d.ts.map +1 -0
- package/lib/plugin/output-channel-registry.js +45 -0
- package/lib/plugin/output-channel-registry.js.map +1 -0
- package/lib/plugin/path.d.ts +3 -0
- package/lib/plugin/path.d.ts.map +1 -0
- package/lib/plugin/path.js +60 -0
- package/lib/plugin/path.js.map +1 -0
- package/lib/plugin/path.spec.d.ts +2 -0
- package/lib/plugin/path.spec.d.ts.map +1 -0
- package/lib/plugin/path.spec.js +35 -0
- package/lib/plugin/path.spec.js.map +1 -0
- package/lib/plugin/plugin-context.d.ts +60 -0
- package/lib/plugin/plugin-context.d.ts.map +1 -0
- package/lib/plugin/plugin-context.js +1351 -0
- package/lib/plugin/plugin-context.js.map +1 -0
- package/lib/plugin/plugin-icon-path.d.ts +13 -0
- package/lib/plugin/plugin-icon-path.d.ts.map +1 -0
- package/lib/plugin/plugin-icon-path.js +54 -0
- package/lib/plugin/plugin-icon-path.js.map +1 -0
- package/lib/plugin/plugin-manager.d.ts +96 -0
- package/lib/plugin/plugin-manager.d.ts.map +1 -0
- package/lib/plugin/plugin-manager.js +434 -0
- package/lib/plugin/plugin-manager.js.map +1 -0
- package/lib/plugin/plugin-storage.d.ts +45 -0
- package/lib/plugin/plugin-storage.d.ts.map +1 -0
- package/lib/plugin/plugin-storage.js +109 -0
- package/lib/plugin/plugin-storage.js.map +1 -0
- package/lib/plugin/preference-registry.d.ts +41 -0
- package/lib/plugin/preference-registry.d.ts.map +1 -0
- package/lib/plugin/preference-registry.js +337 -0
- package/lib/plugin/preference-registry.js.map +1 -0
- package/lib/plugin/preference-registry.spec.d.ts +2 -0
- package/lib/plugin/preference-registry.spec.d.ts.map +1 -0
- package/lib/plugin/preference-registry.spec.js +247 -0
- package/lib/plugin/preference-registry.spec.js.map +1 -0
- package/lib/plugin/prefix-sum-computer.d.ts +31 -0
- package/lib/plugin/prefix-sum-computer.d.ts.map +1 -0
- package/lib/plugin/prefix-sum-computer.js +173 -0
- package/lib/plugin/prefix-sum-computer.js.map +1 -0
- package/lib/plugin/quick-open.d.ts +182 -0
- package/lib/plugin/quick-open.d.ts.map +1 -0
- package/lib/plugin/quick-open.js +605 -0
- package/lib/plugin/quick-open.js.map +1 -0
- package/lib/plugin/scm.d.ts +55 -0
- package/lib/plugin/scm.d.ts.map +1 -0
- package/lib/plugin/scm.js +740 -0
- package/lib/plugin/scm.js.map +1 -0
- package/lib/plugin/secrets-ext.d.ts +43 -0
- package/lib/plugin/secrets-ext.d.ts.map +1 -0
- package/lib/plugin/secrets-ext.js +84 -0
- package/lib/plugin/secrets-ext.js.map +1 -0
- package/lib/plugin/status-bar/status-bar-item.d.ts +52 -0
- package/lib/plugin/status-bar/status-bar-item.d.ts.map +1 -0
- package/lib/plugin/status-bar/status-bar-item.js +190 -0
- package/lib/plugin/status-bar/status-bar-item.js.map +1 -0
- package/lib/plugin/status-bar-message-registry.d.ts +26 -0
- package/lib/plugin/status-bar-message-registry.d.ts.map +1 -0
- package/lib/plugin/status-bar-message-registry.js +100 -0
- package/lib/plugin/status-bar-message-registry.js.map +1 -0
- package/lib/plugin/tabs.d.ts +23 -0
- package/lib/plugin/tabs.d.ts.map +1 -0
- package/lib/plugin/tabs.js +363 -0
- package/lib/plugin/tabs.js.map +1 -0
- package/lib/plugin/tasks/task-provider.d.ts +9 -0
- package/lib/plugin/tasks/task-provider.d.ts.map +1 -0
- package/lib/plugin/tasks/task-provider.js +54 -0
- package/lib/plugin/tasks/task-provider.js.map +1 -0
- package/lib/plugin/tasks/tasks.d.ts +47 -0
- package/lib/plugin/tasks/tasks.d.ts.map +1 -0
- package/lib/plugin/tasks/tasks.js +216 -0
- package/lib/plugin/tasks/tasks.js.map +1 -0
- package/lib/plugin/telemetry-ext.d.ts +44 -0
- package/lib/plugin/telemetry-ext.d.ts.map +1 -0
- package/lib/plugin/telemetry-ext.js +252 -0
- package/lib/plugin/telemetry-ext.js.map +1 -0
- package/lib/plugin/terminal-ext.d.ts +115 -0
- package/lib/plugin/terminal-ext.d.ts.map +1 -0
- package/lib/plugin/terminal-ext.js +502 -0
- package/lib/plugin/terminal-ext.js.map +1 -0
- package/lib/plugin/test-item.d.ts +47 -0
- package/lib/plugin/test-item.d.ts.map +1 -0
- package/lib/plugin/test-item.js +188 -0
- package/lib/plugin/test-item.js.map +1 -0
- package/lib/plugin/tests.d.ts +141 -0
- package/lib/plugin/tests.d.ts.map +1 -0
- package/lib/plugin/tests.js +469 -0
- package/lib/plugin/tests.js.map +1 -0
- package/lib/plugin/text-editor.d.ts +109 -0
- package/lib/plugin/text-editor.d.ts.map +1 -0
- package/lib/plugin/text-editor.js +474 -0
- package/lib/plugin/text-editor.js.map +1 -0
- package/lib/plugin/text-editors.d.ts +44 -0
- package/lib/plugin/text-editors.d.ts.map +1 -0
- package/lib/plugin/text-editors.js +203 -0
- package/lib/plugin/text-editors.js.map +1 -0
- package/lib/plugin/theming.d.ts +16 -0
- package/lib/plugin/theming.d.ts.map +1 -0
- package/lib/plugin/theming.js +62 -0
- package/lib/plugin/theming.js.map +1 -0
- package/lib/plugin/timeline.d.ts +21 -0
- package/lib/plugin/timeline.d.ts.map +1 -0
- package/lib/plugin/timeline.js +161 -0
- package/lib/plugin/timeline.js.map +1 -0
- package/lib/plugin/tree/tree-views.d.ts +108 -0
- package/lib/plugin/tree/tree-views.d.ts.map +1 -0
- package/lib/plugin/tree/tree-views.js +610 -0
- package/lib/plugin/tree/tree-views.js.map +1 -0
- package/lib/plugin/type-converters.d.ts +216 -0
- package/lib/plugin/type-converters.d.ts.map +1 -0
- package/lib/plugin/type-converters.js +1737 -0
- package/lib/plugin/type-converters.js.map +1 -0
- package/lib/plugin/type-converters.spec.d.ts +2 -0
- package/lib/plugin/type-converters.spec.d.ts.map +1 -0
- package/lib/plugin/type-converters.spec.js +396 -0
- package/lib/plugin/type-converters.spec.js.map +1 -0
- package/lib/plugin/types-impl.d.ts +2132 -0
- package/lib/plugin/types-impl.d.ts.map +1 -0
- package/lib/plugin/types-impl.js +3633 -0
- package/lib/plugin/types-impl.js.map +1 -0
- package/lib/plugin/types-impl.spec.d.ts +2 -0
- package/lib/plugin/types-impl.spec.d.ts.map +1 -0
- package/lib/plugin/types-impl.spec.js +79 -0
- package/lib/plugin/types-impl.spec.js.map +1 -0
- package/lib/plugin/uri-ext.d.ts +13 -0
- package/lib/plugin/uri-ext.d.ts.map +1 -0
- package/lib/plugin/uri-ext.js +49 -0
- package/lib/plugin/uri-ext.js.map +1 -0
- package/lib/plugin/webview-views.d.ts +56 -0
- package/lib/plugin/webview-views.d.ts.map +1 -0
- package/lib/plugin/webview-views.js +157 -0
- package/lib/plugin/webview-views.js.map +1 -0
- package/lib/plugin/webviews.d.ts +113 -0
- package/lib/plugin/webviews.d.ts.map +1 -0
- package/lib/plugin/webviews.js +393 -0
- package/lib/plugin/webviews.js.map +1 -0
- package/lib/plugin/window-state.d.ts +19 -0
- package/lib/plugin/window-state.d.ts.map +1 -0
- package/lib/plugin/window-state.js +67 -0
- package/lib/plugin/window-state.js.map +1 -0
- package/lib/plugin/word-helper.d.ts +22 -0
- package/lib/plugin/word-helper.d.ts.map +1 -0
- package/lib/plugin/word-helper.js +126 -0
- package/lib/plugin/word-helper.js.map +1 -0
- package/lib/plugin/workspace.d.ts +75 -0
- package/lib/plugin/workspace.d.ts.map +1 -0
- package/lib/plugin/workspace.js +476 -0
- package/lib/plugin/workspace.js.map +1 -0
- package/lib/plugin-ext-backend-electron-module.d.ts +4 -0
- package/lib/plugin-ext-backend-electron-module.d.ts.map +1 -0
- package/lib/plugin-ext-backend-electron-module.js +25 -0
- package/lib/plugin-ext-backend-electron-module.js.map +1 -0
- package/lib/plugin-ext-backend-module.d.ts +4 -0
- package/lib/plugin-ext-backend-module.d.ts.map +1 -0
- package/lib/plugin-ext-backend-module.js +25 -0
- package/lib/plugin-ext-backend-module.js.map +1 -0
- package/lib/plugin-ext-frontend-electron-module.d.ts +3 -0
- package/lib/plugin-ext-frontend-electron-module.d.ts.map +1 -0
- package/lib/plugin-ext-frontend-electron-module.js +20 -0
- package/lib/plugin-ext-frontend-electron-module.js.map +1 -0
- package/lib/plugin-ext-frontend-module.d.ts +3 -0
- package/lib/plugin-ext-frontend-module.d.ts.map +1 -0
- package/lib/plugin-ext-frontend-module.js +20 -0
- package/lib/plugin-ext-frontend-module.js.map +1 -0
- package/package.json +29 -29
- package/src/main/browser/debug/plugin-debug-session-factory.ts +4 -2
- package/src/main/browser/status-bar-message-registry-main.ts +3 -8
|
@@ -0,0 +1,848 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2018-2019 Red Hat, Inc. and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.TreeViewWidget = exports.PluginTreeModel = exports.PluginTree = exports.TreeViewWidgetOptions = exports.CompositeTreeViewNode = exports.ResolvableCompositeTreeViewNode = exports.ResolvableTreeViewNode = exports.TreeViewNode = exports.VIEW_ITEM_INLINE_MENU = exports.VIEW_ITEM_CONTEXT_MENU = exports.TREE_NODE_HYPERLINK = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
20
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
+
const plugin_api_rpc_1 = require("../../../common/plugin-api-rpc");
|
|
22
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
23
|
+
const menu_1 = require("@theia/core/lib/common/menu");
|
|
24
|
+
const React = require("@theia/core/shared/react");
|
|
25
|
+
const plugin_shared_style_1 = require("../plugin-shared-style");
|
|
26
|
+
const widget_1 = require("@theia/core/lib/browser/widgets/widget");
|
|
27
|
+
const event_1 = require("@theia/core/lib/common/event");
|
|
28
|
+
const message_service_1 = require("@theia/core/lib/common/message-service");
|
|
29
|
+
const uri_1 = require("@theia/core/lib/common/uri");
|
|
30
|
+
const context_key_service_1 = require("@theia/core/lib/browser/context-key-service");
|
|
31
|
+
const markdown_rendering_1 = require("@theia/core/lib/common/markdown-rendering");
|
|
32
|
+
const color_registry_1 = require("@theia/core/lib/browser/color-registry");
|
|
33
|
+
const tree_decorator_1 = require("@theia/core/lib/browser/tree/tree-decorator");
|
|
34
|
+
const common_1 = require("@theia/core/lib/common");
|
|
35
|
+
const types_1 = require("../../../common/types");
|
|
36
|
+
const promise_util_1 = require("@theia/core/lib/common/promise-util");
|
|
37
|
+
const dnd_file_content_store_1 = require("./dnd-file-content-store");
|
|
38
|
+
exports.TREE_NODE_HYPERLINK = 'theia-TreeNodeHyperlink';
|
|
39
|
+
exports.VIEW_ITEM_CONTEXT_MENU = ['view-item-context-menu'];
|
|
40
|
+
exports.VIEW_ITEM_INLINE_MENU = ['view-item-context-menu', 'inline'];
|
|
41
|
+
var TreeViewNode;
|
|
42
|
+
(function (TreeViewNode) {
|
|
43
|
+
function is(arg) {
|
|
44
|
+
return !!arg && browser_1.SelectableTreeNode.is(arg) && tree_decorator_1.DecoratedTreeNode.is(arg);
|
|
45
|
+
}
|
|
46
|
+
TreeViewNode.is = is;
|
|
47
|
+
})(TreeViewNode || (exports.TreeViewNode = TreeViewNode = {}));
|
|
48
|
+
class ResolvableTreeViewNode {
|
|
49
|
+
constructor(treeViewNode, resolve) {
|
|
50
|
+
this._resolved = false;
|
|
51
|
+
(0, types_1.mixin)(this, treeViewNode);
|
|
52
|
+
this.resolve = async (token) => {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
if (this.resolving) {
|
|
55
|
+
return this.resolving.promise;
|
|
56
|
+
}
|
|
57
|
+
if (!this._resolved) {
|
|
58
|
+
this.resolving = new promise_util_1.Deferred();
|
|
59
|
+
const resolvedTreeItem = await resolve(token);
|
|
60
|
+
if (resolvedTreeItem) {
|
|
61
|
+
this.command = (_a = this.command) !== null && _a !== void 0 ? _a : resolvedTreeItem.command;
|
|
62
|
+
this.tooltip = (_b = this.tooltip) !== null && _b !== void 0 ? _b : resolvedTreeItem.tooltip;
|
|
63
|
+
}
|
|
64
|
+
this.resolving.resolve();
|
|
65
|
+
this.resolving = undefined;
|
|
66
|
+
}
|
|
67
|
+
if (!token.isCancellationRequested) {
|
|
68
|
+
this._resolved = true;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
reset() {
|
|
73
|
+
this._resolved = false;
|
|
74
|
+
this.resolving = undefined;
|
|
75
|
+
this.command = undefined;
|
|
76
|
+
this.tooltip = undefined;
|
|
77
|
+
}
|
|
78
|
+
get resolved() {
|
|
79
|
+
return this._resolved;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResolvableTreeViewNode = ResolvableTreeViewNode;
|
|
83
|
+
class ResolvableCompositeTreeViewNode extends ResolvableTreeViewNode {
|
|
84
|
+
constructor(treeViewNode, resolve) {
|
|
85
|
+
super(treeViewNode, resolve);
|
|
86
|
+
this.expanded = treeViewNode.expanded;
|
|
87
|
+
this.children = treeViewNode.children;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.ResolvableCompositeTreeViewNode = ResolvableCompositeTreeViewNode;
|
|
91
|
+
var CompositeTreeViewNode;
|
|
92
|
+
(function (CompositeTreeViewNode) {
|
|
93
|
+
function is(arg) {
|
|
94
|
+
return TreeViewNode.is(arg) && browser_1.ExpandableTreeNode.is(arg) && browser_1.CompositeTreeNode.is(arg);
|
|
95
|
+
}
|
|
96
|
+
CompositeTreeViewNode.is = is;
|
|
97
|
+
})(CompositeTreeViewNode || (exports.CompositeTreeViewNode = CompositeTreeViewNode = {}));
|
|
98
|
+
let TreeViewWidgetOptions = class TreeViewWidgetOptions {
|
|
99
|
+
};
|
|
100
|
+
exports.TreeViewWidgetOptions = TreeViewWidgetOptions;
|
|
101
|
+
exports.TreeViewWidgetOptions = TreeViewWidgetOptions = tslib_1.__decorate([
|
|
102
|
+
(0, inversify_1.injectable)()
|
|
103
|
+
], TreeViewWidgetOptions);
|
|
104
|
+
let PluginTree = class PluginTree extends browser_1.TreeImpl {
|
|
105
|
+
constructor() {
|
|
106
|
+
super(...arguments);
|
|
107
|
+
this.onDidChangeWelcomeStateEmitter = new event_1.Emitter();
|
|
108
|
+
this.onDidChangeWelcomeState = this.onDidChangeWelcomeStateEmitter.event;
|
|
109
|
+
this._hasTreeItemResolve = Promise.resolve(false);
|
|
110
|
+
}
|
|
111
|
+
set proxy(proxy) {
|
|
112
|
+
this._proxy = proxy;
|
|
113
|
+
if (proxy) {
|
|
114
|
+
this._hasTreeItemResolve = proxy.$hasResolveTreeItem(this.options.id);
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
this._hasTreeItemResolve = Promise.resolve(false);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
get proxy() {
|
|
121
|
+
return this._proxy;
|
|
122
|
+
}
|
|
123
|
+
get hasTreeItemResolve() {
|
|
124
|
+
return this._hasTreeItemResolve;
|
|
125
|
+
}
|
|
126
|
+
set viewInfo(viewInfo) {
|
|
127
|
+
this._viewInfo = viewInfo;
|
|
128
|
+
}
|
|
129
|
+
get isEmpty() {
|
|
130
|
+
return this._isEmpty;
|
|
131
|
+
}
|
|
132
|
+
async resolveChildren(parent) {
|
|
133
|
+
if (!this._proxy) {
|
|
134
|
+
return super.resolveChildren(parent);
|
|
135
|
+
}
|
|
136
|
+
const children = await this.fetchChildren(this._proxy, parent);
|
|
137
|
+
const hasResolve = await this.hasTreeItemResolve;
|
|
138
|
+
return children.map(value => hasResolve ? this.createResolvableTreeNode(value, parent) : this.createTreeNode(value, parent));
|
|
139
|
+
}
|
|
140
|
+
async fetchChildren(proxy, parent) {
|
|
141
|
+
try {
|
|
142
|
+
const children = await proxy.$getChildren(this.options.id, parent.id);
|
|
143
|
+
const oldEmpty = this._isEmpty;
|
|
144
|
+
this._isEmpty = !parent.id && (!children || children.length === 0);
|
|
145
|
+
if (oldEmpty !== this._isEmpty) {
|
|
146
|
+
this.onDidChangeWelcomeStateEmitter.fire();
|
|
147
|
+
}
|
|
148
|
+
return children || [];
|
|
149
|
+
}
|
|
150
|
+
catch (e) {
|
|
151
|
+
if (e) {
|
|
152
|
+
console.error(`Failed to fetch children for '${this.options.id}'`, e);
|
|
153
|
+
const label = this._viewInfo ? this._viewInfo.name : this.options.id;
|
|
154
|
+
this.notification.error(`${label}: ${e.message}`);
|
|
155
|
+
}
|
|
156
|
+
return [];
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
createTreeNode(item, parent) {
|
|
160
|
+
const update = this.createTreeNodeUpdate(item);
|
|
161
|
+
const node = this.getNode(item.id);
|
|
162
|
+
if (item.collapsibleState !== undefined && item.collapsibleState !== plugin_api_rpc_1.TreeViewItemCollapsibleState.None) {
|
|
163
|
+
if (CompositeTreeViewNode.is(node)) {
|
|
164
|
+
return Object.assign(node, update);
|
|
165
|
+
}
|
|
166
|
+
return Object.assign({
|
|
167
|
+
id: item.id,
|
|
168
|
+
parent,
|
|
169
|
+
visible: true,
|
|
170
|
+
selected: false,
|
|
171
|
+
expanded: plugin_api_rpc_1.TreeViewItemCollapsibleState.Expanded === item.collapsibleState,
|
|
172
|
+
children: [],
|
|
173
|
+
command: item.command
|
|
174
|
+
}, update);
|
|
175
|
+
}
|
|
176
|
+
if (TreeViewNode.is(node) && !browser_1.ExpandableTreeNode.is(node)) {
|
|
177
|
+
return Object.assign(node, update, { command: item.command });
|
|
178
|
+
}
|
|
179
|
+
return Object.assign({
|
|
180
|
+
id: item.id,
|
|
181
|
+
parent,
|
|
182
|
+
visible: true,
|
|
183
|
+
selected: false,
|
|
184
|
+
command: item.command,
|
|
185
|
+
}, update);
|
|
186
|
+
}
|
|
187
|
+
markAsChecked(node, checked) {
|
|
188
|
+
var _a;
|
|
189
|
+
function findParentsToChange(child, nodes) {
|
|
190
|
+
var _a;
|
|
191
|
+
if ((((_a = child.parent) === null || _a === void 0 ? void 0 : _a.checkboxInfo) !== undefined && child.parent.checkboxInfo.checked !== checked) &&
|
|
192
|
+
(!checked || !child.parent.children.some(candidate => { var _a; return candidate !== child && ((_a = candidate.checkboxInfo) === null || _a === void 0 ? void 0 : _a.checked) === false; }))) {
|
|
193
|
+
nodes.push(child.parent);
|
|
194
|
+
findParentsToChange(child.parent, nodes);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
function findChildrenToChange(parent, nodes) {
|
|
198
|
+
if (browser_1.CompositeTreeNode.is(parent)) {
|
|
199
|
+
parent.children.forEach(child => {
|
|
200
|
+
if (child.checkboxInfo !== undefined && child.checkboxInfo.checked !== checked) {
|
|
201
|
+
nodes.push(child);
|
|
202
|
+
}
|
|
203
|
+
findChildrenToChange(child, nodes);
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
const nodesToChange = [node];
|
|
208
|
+
if (!this.options.manageCheckboxStateManually) {
|
|
209
|
+
findParentsToChange(node, nodesToChange);
|
|
210
|
+
findChildrenToChange(node, nodesToChange);
|
|
211
|
+
}
|
|
212
|
+
nodesToChange.forEach(n => n.checkboxInfo.checked = checked);
|
|
213
|
+
this.onDidUpdateEmitter.fire(nodesToChange);
|
|
214
|
+
(_a = this.proxy) === null || _a === void 0 ? void 0 : _a.$checkStateChanged(this.options.id, [{ id: node.id, checked: checked }]);
|
|
215
|
+
}
|
|
216
|
+
/** Creates a resolvable tree node. If a node already exists, reset it because the underlying TreeViewItem might have been disposed in the backend. */
|
|
217
|
+
createResolvableTreeNode(item, parent) {
|
|
218
|
+
const update = this.createTreeNodeUpdate(item);
|
|
219
|
+
const node = this.getNode(item.id);
|
|
220
|
+
// Node is a composite node that might contain children
|
|
221
|
+
if (item.collapsibleState !== undefined && item.collapsibleState !== plugin_api_rpc_1.TreeViewItemCollapsibleState.None) {
|
|
222
|
+
// Reuse existing composite node and reset it
|
|
223
|
+
if (node instanceof ResolvableCompositeTreeViewNode) {
|
|
224
|
+
node.reset();
|
|
225
|
+
return Object.assign(node, update);
|
|
226
|
+
}
|
|
227
|
+
// Create new composite node
|
|
228
|
+
const compositeNode = Object.assign({
|
|
229
|
+
id: item.id,
|
|
230
|
+
parent,
|
|
231
|
+
visible: true,
|
|
232
|
+
selected: false,
|
|
233
|
+
expanded: plugin_api_rpc_1.TreeViewItemCollapsibleState.Expanded === item.collapsibleState,
|
|
234
|
+
children: [],
|
|
235
|
+
command: item.command
|
|
236
|
+
}, update);
|
|
237
|
+
return new ResolvableCompositeTreeViewNode(compositeNode, async (token) => { var _a; return (_a = this._proxy) === null || _a === void 0 ? void 0 : _a.$resolveTreeItem(this.options.id, item.id, token); });
|
|
238
|
+
}
|
|
239
|
+
// Node is a leaf
|
|
240
|
+
// Reuse existing node and reset it.
|
|
241
|
+
if (node instanceof ResolvableTreeViewNode && !browser_1.ExpandableTreeNode.is(node)) {
|
|
242
|
+
node.reset();
|
|
243
|
+
return Object.assign(node, update);
|
|
244
|
+
}
|
|
245
|
+
const treeNode = Object.assign({
|
|
246
|
+
id: item.id,
|
|
247
|
+
parent,
|
|
248
|
+
visible: true,
|
|
249
|
+
selected: false,
|
|
250
|
+
command: item.command,
|
|
251
|
+
}, update);
|
|
252
|
+
return new ResolvableTreeViewNode(treeNode, async (token) => { var _a; return (_a = this._proxy) === null || _a === void 0 ? void 0 : _a.$resolveTreeItem(this.options.id, item.id, token); });
|
|
253
|
+
}
|
|
254
|
+
createTreeNodeUpdate(item) {
|
|
255
|
+
const decorationData = this.toDecorationData(item);
|
|
256
|
+
const icon = this.toIconClass(item);
|
|
257
|
+
const resourceUri = item.resourceUri && uri_1.URI.fromComponents(item.resourceUri).toString();
|
|
258
|
+
const themeIcon = item.themeIcon ? item.themeIcon : item.collapsibleState !== plugin_api_rpc_1.TreeViewItemCollapsibleState.None ? { id: 'folder' } : undefined;
|
|
259
|
+
return {
|
|
260
|
+
name: item.label,
|
|
261
|
+
decorationData,
|
|
262
|
+
icon,
|
|
263
|
+
description: item.description,
|
|
264
|
+
themeIcon,
|
|
265
|
+
resourceUri,
|
|
266
|
+
tooltip: item.tooltip,
|
|
267
|
+
contextValue: item.contextValue,
|
|
268
|
+
command: item.command,
|
|
269
|
+
checkboxInfo: item.checkboxInfo,
|
|
270
|
+
accessibilityInformation: item.accessibilityInformation,
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
toDecorationData(item) {
|
|
274
|
+
let decoration = {};
|
|
275
|
+
if (item.highlights) {
|
|
276
|
+
const highlight = {
|
|
277
|
+
ranges: item.highlights.map(h => ({ offset: h[0], length: h[1] - h[0] }))
|
|
278
|
+
};
|
|
279
|
+
decoration = { highlight };
|
|
280
|
+
}
|
|
281
|
+
return decoration;
|
|
282
|
+
}
|
|
283
|
+
toIconClass(item) {
|
|
284
|
+
if (item.icon) {
|
|
285
|
+
return 'fa ' + item.icon;
|
|
286
|
+
}
|
|
287
|
+
if (item.iconUrl) {
|
|
288
|
+
const reference = this.sharedStyle.toIconClass(item.iconUrl);
|
|
289
|
+
this.toDispose.push(reference);
|
|
290
|
+
return reference.object.iconClass;
|
|
291
|
+
}
|
|
292
|
+
return undefined;
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
exports.PluginTree = PluginTree;
|
|
296
|
+
tslib_1.__decorate([
|
|
297
|
+
(0, inversify_1.inject)(plugin_shared_style_1.PluginSharedStyle),
|
|
298
|
+
tslib_1.__metadata("design:type", plugin_shared_style_1.PluginSharedStyle)
|
|
299
|
+
], PluginTree.prototype, "sharedStyle", void 0);
|
|
300
|
+
tslib_1.__decorate([
|
|
301
|
+
(0, inversify_1.inject)(TreeViewWidgetOptions),
|
|
302
|
+
tslib_1.__metadata("design:type", TreeViewWidgetOptions)
|
|
303
|
+
], PluginTree.prototype, "options", void 0);
|
|
304
|
+
tslib_1.__decorate([
|
|
305
|
+
(0, inversify_1.inject)(message_service_1.MessageService),
|
|
306
|
+
tslib_1.__metadata("design:type", message_service_1.MessageService)
|
|
307
|
+
], PluginTree.prototype, "notification", void 0);
|
|
308
|
+
exports.PluginTree = PluginTree = tslib_1.__decorate([
|
|
309
|
+
(0, inversify_1.injectable)()
|
|
310
|
+
], PluginTree);
|
|
311
|
+
let PluginTreeModel = class PluginTreeModel extends browser_1.TreeModelImpl {
|
|
312
|
+
set proxy(proxy) {
|
|
313
|
+
this.tree.proxy = proxy;
|
|
314
|
+
}
|
|
315
|
+
get proxy() {
|
|
316
|
+
return this.tree.proxy;
|
|
317
|
+
}
|
|
318
|
+
get hasTreeItemResolve() {
|
|
319
|
+
return this.tree.hasTreeItemResolve;
|
|
320
|
+
}
|
|
321
|
+
set viewInfo(viewInfo) {
|
|
322
|
+
this.tree.viewInfo = viewInfo;
|
|
323
|
+
}
|
|
324
|
+
get isTreeEmpty() {
|
|
325
|
+
return this.tree.isEmpty;
|
|
326
|
+
}
|
|
327
|
+
get onDidChangeWelcomeState() {
|
|
328
|
+
return this.tree.onDidChangeWelcomeState;
|
|
329
|
+
}
|
|
330
|
+
doOpenNode(node) {
|
|
331
|
+
super.doOpenNode(node);
|
|
332
|
+
if (node instanceof ResolvableTreeViewNode) {
|
|
333
|
+
node.resolve(common_1.CancellationToken.None);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
exports.PluginTreeModel = PluginTreeModel;
|
|
338
|
+
tslib_1.__decorate([
|
|
339
|
+
(0, inversify_1.inject)(PluginTree),
|
|
340
|
+
tslib_1.__metadata("design:type", PluginTree)
|
|
341
|
+
], PluginTreeModel.prototype, "tree", void 0);
|
|
342
|
+
exports.PluginTreeModel = PluginTreeModel = tslib_1.__decorate([
|
|
343
|
+
(0, inversify_1.injectable)()
|
|
344
|
+
], PluginTreeModel);
|
|
345
|
+
let TreeViewWidget = class TreeViewWidget extends browser_1.TreeViewWelcomeWidget {
|
|
346
|
+
constructor() {
|
|
347
|
+
super(...arguments);
|
|
348
|
+
this._contextSelection = false;
|
|
349
|
+
this.expansionTimeouts = new Map();
|
|
350
|
+
}
|
|
351
|
+
async refresh(items) {
|
|
352
|
+
if (items) {
|
|
353
|
+
for (const id of items) {
|
|
354
|
+
const node = this.model.getNode(id);
|
|
355
|
+
if (browser_1.CompositeTreeNode.is(node)) {
|
|
356
|
+
await this.model.refresh(node);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
;
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
this.model.refresh();
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
init() {
|
|
366
|
+
super.init();
|
|
367
|
+
this.id = this.options.id;
|
|
368
|
+
this.addClass('theia-tree-view');
|
|
369
|
+
this.node.style.height = '100%';
|
|
370
|
+
this.model.onDidChangeWelcomeState(this.update, this);
|
|
371
|
+
this.toDispose.push(this.model.onDidChangeWelcomeState(this.update, this));
|
|
372
|
+
this.toDispose.push(this.onDidChangeVisibilityEmitter);
|
|
373
|
+
this.toDispose.push(this.contextKeyService.onDidChange(() => this.update()));
|
|
374
|
+
this.toDispose.push(this.keybindings.onKeybindingsChanged(() => this.update()));
|
|
375
|
+
this.treeDragType = `application/vnd.code.tree.${this.id.toLowerCase()}`;
|
|
376
|
+
}
|
|
377
|
+
get showCollapseAll() {
|
|
378
|
+
return this.options.showCollapseAll || false;
|
|
379
|
+
}
|
|
380
|
+
renderIcon(node, props) {
|
|
381
|
+
var _a;
|
|
382
|
+
const icon = this.toNodeIcon(node);
|
|
383
|
+
if (icon) {
|
|
384
|
+
let style;
|
|
385
|
+
if (TreeViewNode.is(node) && ((_a = node.themeIcon) === null || _a === void 0 ? void 0 : _a.color)) {
|
|
386
|
+
const color = this.colorRegistry.getCurrentColor(node.themeIcon.color.id);
|
|
387
|
+
if (color) {
|
|
388
|
+
style = { color };
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
return React.createElement("div", { className: icon + ' theia-tree-view-icon', style: style });
|
|
392
|
+
}
|
|
393
|
+
return undefined;
|
|
394
|
+
}
|
|
395
|
+
renderCaption(node, props) {
|
|
396
|
+
const classes = [browser_1.TREE_NODE_SEGMENT_CLASS];
|
|
397
|
+
if (!this.hasTrailingSuffixes(node)) {
|
|
398
|
+
classes.push(browser_1.TREE_NODE_SEGMENT_GROW_CLASS);
|
|
399
|
+
}
|
|
400
|
+
const className = classes.join(' ');
|
|
401
|
+
let attrs = {
|
|
402
|
+
...this.decorateCaption(node, {}),
|
|
403
|
+
className,
|
|
404
|
+
id: node.id
|
|
405
|
+
};
|
|
406
|
+
if (node.accessibilityInformation) {
|
|
407
|
+
attrs = {
|
|
408
|
+
...attrs,
|
|
409
|
+
'aria-label': node.accessibilityInformation.label,
|
|
410
|
+
'role': node.accessibilityInformation.role
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
if (!node.tooltip && node instanceof ResolvableTreeViewNode) {
|
|
414
|
+
let configuredTip = false;
|
|
415
|
+
let source;
|
|
416
|
+
attrs = {
|
|
417
|
+
...attrs,
|
|
418
|
+
onMouseLeave: () => source === null || source === void 0 ? void 0 : source.cancel(),
|
|
419
|
+
onMouseEnter: async (event) => {
|
|
420
|
+
const target = event.currentTarget; // event.currentTarget will be null after awaiting node resolve()
|
|
421
|
+
if (configuredTip) {
|
|
422
|
+
if (markdown_rendering_1.MarkdownString.is(node.tooltip)) {
|
|
423
|
+
this.hoverService.requestHover({
|
|
424
|
+
content: node.tooltip,
|
|
425
|
+
target: event.target,
|
|
426
|
+
position: 'right'
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
if (!node.resolved) {
|
|
432
|
+
source = new common_1.CancellationTokenSource();
|
|
433
|
+
const token = source.token;
|
|
434
|
+
await node.resolve(token);
|
|
435
|
+
if (token.isCancellationRequested) {
|
|
436
|
+
return;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
if (markdown_rendering_1.MarkdownString.is(node.tooltip)) {
|
|
440
|
+
this.hoverService.requestHover({
|
|
441
|
+
content: node.tooltip,
|
|
442
|
+
target: event.target,
|
|
443
|
+
position: 'right'
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
const title = node.tooltip ||
|
|
448
|
+
(node.resourceUri && this.labelProvider.getLongName(new uri_1.URI(node.resourceUri)))
|
|
449
|
+
|| this.toNodeName(node);
|
|
450
|
+
target.title = title;
|
|
451
|
+
}
|
|
452
|
+
configuredTip = true;
|
|
453
|
+
}
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
else if (markdown_rendering_1.MarkdownString.is(node.tooltip)) {
|
|
457
|
+
attrs = {
|
|
458
|
+
...attrs,
|
|
459
|
+
onMouseEnter: event => {
|
|
460
|
+
this.hoverService.requestHover({
|
|
461
|
+
content: node.tooltip,
|
|
462
|
+
target: event.target,
|
|
463
|
+
position: 'right'
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
else {
|
|
469
|
+
const title = node.tooltip ||
|
|
470
|
+
(node.resourceUri && this.labelProvider.getLongName(new uri_1.URI(node.resourceUri)))
|
|
471
|
+
|| this.toNodeName(node);
|
|
472
|
+
attrs = {
|
|
473
|
+
...attrs,
|
|
474
|
+
title
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
const children = [];
|
|
478
|
+
const caption = this.toNodeName(node);
|
|
479
|
+
const highlight = this.getDecorationData(node, 'highlight')[0];
|
|
480
|
+
if (highlight) {
|
|
481
|
+
children.push(this.toReactNode(caption, highlight));
|
|
482
|
+
}
|
|
483
|
+
const searchHighlight = this.searchHighlights && this.searchHighlights.get(node.id);
|
|
484
|
+
if (searchHighlight) {
|
|
485
|
+
children.push(...this.toReactNode(caption, searchHighlight));
|
|
486
|
+
}
|
|
487
|
+
else if (!highlight) {
|
|
488
|
+
children.push(caption);
|
|
489
|
+
}
|
|
490
|
+
const description = this.toNodeDescription(node);
|
|
491
|
+
if (description) {
|
|
492
|
+
children.push(React.createElement("span", { className: 'theia-tree-view-description' }, description));
|
|
493
|
+
}
|
|
494
|
+
return React.createElement("div", { ...attrs }, ...children);
|
|
495
|
+
}
|
|
496
|
+
createNodeAttributes(node, props) {
|
|
497
|
+
const attrs = super.createNodeAttributes(node, props);
|
|
498
|
+
if (this.options.dragMimeTypes) {
|
|
499
|
+
attrs.onDragStart = event => this.handleDragStartEvent(node, event);
|
|
500
|
+
attrs.onDragEnd = event => this.handleDragEnd(node, event);
|
|
501
|
+
attrs.draggable = true;
|
|
502
|
+
}
|
|
503
|
+
if (this.options.dropMimeTypes) {
|
|
504
|
+
attrs.onDrop = event => this.handleDropEvent(node, event);
|
|
505
|
+
attrs.onDragEnter = event => this.handleDragEnter(node, event);
|
|
506
|
+
attrs.onDragLeave = event => this.handleDragLeave(node, event);
|
|
507
|
+
attrs.onDragOver = event => this.handleDragOver(event);
|
|
508
|
+
}
|
|
509
|
+
return attrs;
|
|
510
|
+
}
|
|
511
|
+
handleDragLeave(node, event) {
|
|
512
|
+
const timeout = this.expansionTimeouts.get(node.id);
|
|
513
|
+
if (typeof timeout !== 'undefined') {
|
|
514
|
+
console.debug(`dragleave ${node.id} canceling timeout`);
|
|
515
|
+
clearTimeout(timeout);
|
|
516
|
+
this.expansionTimeouts.delete(node.id);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
handleDragEnter(node, event) {
|
|
520
|
+
console.debug(`dragenter ${node.id}`);
|
|
521
|
+
if (browser_1.ExpandableTreeNode.is(node)) {
|
|
522
|
+
console.debug(`dragenter ${node.id} starting timeout`);
|
|
523
|
+
this.expansionTimeouts.set(node.id, window.setTimeout(() => {
|
|
524
|
+
console.debug(`dragenter ${node.id} timeout reached`);
|
|
525
|
+
this.model.expandNode(node);
|
|
526
|
+
}, 500));
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
createContainerAttributes() {
|
|
530
|
+
const attrs = super.createContainerAttributes();
|
|
531
|
+
if (this.options.dropMimeTypes) {
|
|
532
|
+
attrs.onDrop = event => this.handleDropEvent(undefined, event);
|
|
533
|
+
attrs.onDragOver = event => this.handleDragOver(event);
|
|
534
|
+
}
|
|
535
|
+
return attrs;
|
|
536
|
+
}
|
|
537
|
+
handleDragStartEvent(node, event) {
|
|
538
|
+
event.dataTransfer.setData(this.treeDragType, '');
|
|
539
|
+
let selectedNodes = [];
|
|
540
|
+
if (this.model.selectedNodes.find(selected => browser_1.TreeNode.equals(selected, node))) {
|
|
541
|
+
selectedNodes = this.model.selectedNodes.filter(TreeViewNode.is);
|
|
542
|
+
}
|
|
543
|
+
else {
|
|
544
|
+
selectedNodes = [node];
|
|
545
|
+
}
|
|
546
|
+
this.options.dragMimeTypes.forEach(type => {
|
|
547
|
+
if (type === 'text/uri-list') {
|
|
548
|
+
browser_1.ApplicationShell.setDraggedEditorUris(event.dataTransfer, selectedNodes.filter(n => n.resourceUri).map(n => new uri_1.URI(n.resourceUri)));
|
|
549
|
+
}
|
|
550
|
+
else {
|
|
551
|
+
event.dataTransfer.setData(type, '');
|
|
552
|
+
}
|
|
553
|
+
});
|
|
554
|
+
this.model.proxy.$dragStarted(this.options.id, selectedNodes.map(selected => selected.id), common_1.CancellationToken.None).then(maybeUris => {
|
|
555
|
+
if (maybeUris) {
|
|
556
|
+
this.applicationShell.addAdditionalDraggedEditorUris(maybeUris.map(uri => uri_1.URI.fromComponents(uri)));
|
|
557
|
+
}
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
handleDragEnd(node, event) {
|
|
561
|
+
this.applicationShell.clearAdditionalDraggedEditorUris();
|
|
562
|
+
this.model.proxy.$dragEnd(this.id);
|
|
563
|
+
}
|
|
564
|
+
handleDragOver(event) {
|
|
565
|
+
const hasFiles = (items) => {
|
|
566
|
+
for (let i = 0; i < items.length; i++) {
|
|
567
|
+
if (items[i].kind === 'file') {
|
|
568
|
+
return true;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
return false;
|
|
572
|
+
};
|
|
573
|
+
if (event.dataTransfer) {
|
|
574
|
+
const canDrop = event.dataTransfer.types.some(type => this.options.dropMimeTypes.includes(type)) ||
|
|
575
|
+
event.dataTransfer.types.includes(this.treeDragType) ||
|
|
576
|
+
this.options.dropMimeTypes.includes('files') && hasFiles(event.dataTransfer.items);
|
|
577
|
+
if (canDrop) {
|
|
578
|
+
event.preventDefault();
|
|
579
|
+
event.dataTransfer.dropEffect = 'move';
|
|
580
|
+
}
|
|
581
|
+
else {
|
|
582
|
+
event.dataTransfer.dropEffect = 'none';
|
|
583
|
+
}
|
|
584
|
+
event.stopPropagation();
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
handleDropEvent(node, event) {
|
|
588
|
+
var _a;
|
|
589
|
+
if (event.dataTransfer) {
|
|
590
|
+
const items = [];
|
|
591
|
+
let files = [];
|
|
592
|
+
try {
|
|
593
|
+
for (let i = 0; i < event.dataTransfer.items.length; i++) {
|
|
594
|
+
const transferItem = event.dataTransfer.items[i];
|
|
595
|
+
if (transferItem.type !== this.treeDragType) {
|
|
596
|
+
// do not pass the artificial drag data to the extension
|
|
597
|
+
const f = event.dataTransfer.items[i].getAsFile();
|
|
598
|
+
if (f) {
|
|
599
|
+
const fileId = this.dndFileContentStore.addFile(f);
|
|
600
|
+
files.push(fileId);
|
|
601
|
+
const path = window.electronTheiaCore.getPathForFile(f);
|
|
602
|
+
const uri = path ? {
|
|
603
|
+
scheme: 'file',
|
|
604
|
+
path: path,
|
|
605
|
+
authority: '',
|
|
606
|
+
query: '',
|
|
607
|
+
fragment: ''
|
|
608
|
+
} : undefined;
|
|
609
|
+
items.push([transferItem.type, new plugin_api_rpc_1.DataTransferFileDTO(f.name, fileId, uri)]);
|
|
610
|
+
}
|
|
611
|
+
else {
|
|
612
|
+
const textData = event.dataTransfer.getData(transferItem.type);
|
|
613
|
+
if (textData) {
|
|
614
|
+
items.push([transferItem.type, textData]);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
if (items.length > 0 || event.dataTransfer.types.includes(this.treeDragType)) {
|
|
620
|
+
event.preventDefault();
|
|
621
|
+
event.stopPropagation();
|
|
622
|
+
(_a = this.model.proxy) === null || _a === void 0 ? void 0 : _a.$drop(this.id, node === null || node === void 0 ? void 0 : node.id, items, common_1.CancellationToken.None).finally(() => {
|
|
623
|
+
for (const file of files) {
|
|
624
|
+
this.dndFileContentStore.removeFile(file);
|
|
625
|
+
}
|
|
626
|
+
});
|
|
627
|
+
files = [];
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
catch (e) {
|
|
631
|
+
for (const file of files) {
|
|
632
|
+
this.dndFileContentStore.removeFile(file);
|
|
633
|
+
}
|
|
634
|
+
throw e;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
renderTailDecorations(treeViewNode, props) {
|
|
639
|
+
return this.contextKeys.with({ view: this.id, viewItem: treeViewNode.contextValue }, () => {
|
|
640
|
+
const menu = this.menus.getMenu(exports.VIEW_ITEM_INLINE_MENU);
|
|
641
|
+
const args = this.toContextMenuArgs(treeViewNode);
|
|
642
|
+
const inlineCommands = (menu === null || menu === void 0 ? void 0 : menu.children.filter((item) => menu_1.CommandMenu.is(item))) || [];
|
|
643
|
+
const tailDecorations = super.renderTailDecorations(treeViewNode, props);
|
|
644
|
+
return React.createElement(React.Fragment, null,
|
|
645
|
+
inlineCommands.length > 0 && React.createElement("div", { className: browser_1.TREE_NODE_SEGMENT_CLASS + ' flex' }, inlineCommands.map((item, index) => this.renderInlineCommand(item, index, this.focusService.hasFocus(treeViewNode), args))),
|
|
646
|
+
tailDecorations !== undefined && React.createElement("div", { className: browser_1.TREE_NODE_SEGMENT_CLASS + ' flex' }, tailDecorations));
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
toTreeViewItemReference(treeNode) {
|
|
650
|
+
return { viewId: this.id, itemId: treeNode.id };
|
|
651
|
+
}
|
|
652
|
+
resolveKeybindingForCommand(command) {
|
|
653
|
+
let result = '';
|
|
654
|
+
if (command) {
|
|
655
|
+
const bindings = this.keybindings.getKeybindingsForCommand(command);
|
|
656
|
+
let found = false;
|
|
657
|
+
if (bindings && bindings.length > 0) {
|
|
658
|
+
bindings.forEach(binding => {
|
|
659
|
+
if (!found && this.keybindings.isEnabledInScope(binding, this.node)) {
|
|
660
|
+
found = true;
|
|
661
|
+
result = ` (${this.keybindings.acceleratorFor(binding, '+')})`;
|
|
662
|
+
}
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
return result;
|
|
667
|
+
}
|
|
668
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
669
|
+
renderInlineCommand(actionMenuNode, index, tabbable, args) {
|
|
670
|
+
const nodePath = [...exports.VIEW_ITEM_INLINE_MENU, actionMenuNode.id];
|
|
671
|
+
if (!actionMenuNode.icon || !actionMenuNode.isVisible(nodePath, this.contextKeys, undefined)) {
|
|
672
|
+
return false;
|
|
673
|
+
}
|
|
674
|
+
const className = [browser_1.TREE_NODE_SEGMENT_CLASS, browser_1.TREE_NODE_TAIL_CLASS, actionMenuNode.icon, widget_1.ACTION_ITEM, 'theia-tree-view-inline-action'].join(' ');
|
|
675
|
+
const tabIndex = tabbable ? 0 : undefined;
|
|
676
|
+
const titleString = actionMenuNode.label + (menu_1.AcceleratorSource.is(actionMenuNode) ? actionMenuNode.getAccelerator(undefined).join('+') : '');
|
|
677
|
+
return React.createElement("div", { key: index, className: className, title: titleString, tabIndex: tabIndex, onClick: e => {
|
|
678
|
+
e.stopPropagation();
|
|
679
|
+
actionMenuNode.run(nodePath, ...args);
|
|
680
|
+
} });
|
|
681
|
+
}
|
|
682
|
+
toContextMenuArgs(target) {
|
|
683
|
+
if (this.options.multiSelect) {
|
|
684
|
+
return [this.toTreeViewItemReference(target), this.model.selectedNodes.map(node => this.toTreeViewItemReference(node))];
|
|
685
|
+
}
|
|
686
|
+
else {
|
|
687
|
+
return [this.toTreeViewItemReference(target)];
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
setFlag(flag) {
|
|
691
|
+
super.setFlag(flag);
|
|
692
|
+
if (flag === widget_1.Widget.Flag.IsVisible) {
|
|
693
|
+
this.onDidChangeVisibilityEmitter.fire(this.isVisible);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
clearFlag(flag) {
|
|
697
|
+
super.clearFlag(flag);
|
|
698
|
+
if (flag === widget_1.Widget.Flag.IsVisible) {
|
|
699
|
+
this.onDidChangeVisibilityEmitter.fire(this.isVisible);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
handleEnter(event) {
|
|
703
|
+
super.handleEnter(event);
|
|
704
|
+
this.tryExecuteCommand();
|
|
705
|
+
}
|
|
706
|
+
tapNode(node) {
|
|
707
|
+
super.tapNode(node);
|
|
708
|
+
this.findCommands(node).then(commandMap => {
|
|
709
|
+
if (commandMap.size > 0) {
|
|
710
|
+
this.tryExecuteCommandMap(commandMap);
|
|
711
|
+
}
|
|
712
|
+
else if (node && this.isExpandable(node)) {
|
|
713
|
+
this.model.toggleNodeExpansion(node);
|
|
714
|
+
}
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
// execute TreeItem.command if present
|
|
718
|
+
async tryExecuteCommand(node) {
|
|
719
|
+
this.tryExecuteCommandMap(await this.findCommands(node));
|
|
720
|
+
}
|
|
721
|
+
tryExecuteCommandMap(commandMap) {
|
|
722
|
+
commandMap.forEach((args, commandId) => {
|
|
723
|
+
this.commands.executeCommand(commandId, ...args);
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
async findCommands(node) {
|
|
727
|
+
const commandMap = new Map();
|
|
728
|
+
const treeNodes = (node ? [node] : this.model.selectedNodes);
|
|
729
|
+
if (await this.model.hasTreeItemResolve) {
|
|
730
|
+
const cancellationToken = new common_1.CancellationTokenSource().token;
|
|
731
|
+
// Resolve all resolvable nodes that don't have a command and haven't been resolved.
|
|
732
|
+
const allResolved = Promise.all(treeNodes.map(maybeNeedsResolve => {
|
|
733
|
+
if (!maybeNeedsResolve.command && maybeNeedsResolve instanceof ResolvableTreeViewNode && !maybeNeedsResolve.resolved) {
|
|
734
|
+
return maybeNeedsResolve.resolve(cancellationToken).catch(err => {
|
|
735
|
+
console.error(`Failed to resolve tree item '${maybeNeedsResolve.id}'`, err);
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
return Promise.resolve(maybeNeedsResolve);
|
|
739
|
+
}));
|
|
740
|
+
// Only need to wait but don't need the values because tree items are resolved in place.
|
|
741
|
+
await allResolved;
|
|
742
|
+
}
|
|
743
|
+
for (const treeNode of treeNodes) {
|
|
744
|
+
if (treeNode && treeNode.command) {
|
|
745
|
+
commandMap.set(treeNode.command.id, treeNode.command.arguments || []);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
return commandMap;
|
|
749
|
+
}
|
|
750
|
+
get message() {
|
|
751
|
+
return this._message;
|
|
752
|
+
}
|
|
753
|
+
set message(message) {
|
|
754
|
+
this._message = message;
|
|
755
|
+
this.update();
|
|
756
|
+
}
|
|
757
|
+
render() {
|
|
758
|
+
return React.createElement('div', this.createContainerAttributes(), this.renderSearchInfo(), this.renderTree(this.model));
|
|
759
|
+
}
|
|
760
|
+
renderSearchInfo() {
|
|
761
|
+
if (this._message) {
|
|
762
|
+
return React.createElement("div", { className: 'theia-TreeViewInfo' }, this._message);
|
|
763
|
+
}
|
|
764
|
+
return undefined;
|
|
765
|
+
}
|
|
766
|
+
shouldShowWelcomeView() {
|
|
767
|
+
return (this.model.proxy === undefined || this.model.isTreeEmpty) && this.message === undefined;
|
|
768
|
+
}
|
|
769
|
+
handleContextMenuEvent(node, event) {
|
|
770
|
+
if (browser_1.SelectableTreeNode.is(node)) {
|
|
771
|
+
// Keep the selection for the context menu, if the widget support multi-selection and the right click happens on an already selected node.
|
|
772
|
+
if (!this.props.multiSelect || !node.selected) {
|
|
773
|
+
const type = !!this.props.multiSelect && this.hasCtrlCmdMask(event) ? browser_1.TreeSelection.SelectionType.TOGGLE : browser_1.TreeSelection.SelectionType.DEFAULT;
|
|
774
|
+
this.model.addSelection({ node, type });
|
|
775
|
+
}
|
|
776
|
+
this.focusService.setFocus(node);
|
|
777
|
+
const contextMenuPath = this.props.contextMenuPath;
|
|
778
|
+
if (contextMenuPath) {
|
|
779
|
+
const { x, y } = event.nativeEvent;
|
|
780
|
+
const args = this.toContextMenuArgs(node);
|
|
781
|
+
const contextKeyService = this.contextKeyService.createOverlay([
|
|
782
|
+
['viewItem', (TreeViewNode.is(node) && node.contextValue) || undefined],
|
|
783
|
+
['view', this.options.id]
|
|
784
|
+
]);
|
|
785
|
+
setTimeout(() => this.contextMenuRenderer.render({
|
|
786
|
+
menuPath: contextMenuPath,
|
|
787
|
+
anchor: { x, y },
|
|
788
|
+
args,
|
|
789
|
+
contextKeyService,
|
|
790
|
+
context: event.currentTarget
|
|
791
|
+
}), 10);
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
event.stopPropagation();
|
|
795
|
+
event.preventDefault();
|
|
796
|
+
}
|
|
797
|
+
};
|
|
798
|
+
exports.TreeViewWidget = TreeViewWidget;
|
|
799
|
+
tslib_1.__decorate([
|
|
800
|
+
(0, inversify_1.inject)(browser_1.ApplicationShell),
|
|
801
|
+
tslib_1.__metadata("design:type", browser_1.ApplicationShell)
|
|
802
|
+
], TreeViewWidget.prototype, "applicationShell", void 0);
|
|
803
|
+
tslib_1.__decorate([
|
|
804
|
+
(0, inversify_1.inject)(menu_1.MenuModelRegistry),
|
|
805
|
+
tslib_1.__metadata("design:type", menu_1.MenuModelRegistry)
|
|
806
|
+
], TreeViewWidget.prototype, "menus", void 0);
|
|
807
|
+
tslib_1.__decorate([
|
|
808
|
+
(0, inversify_1.inject)(browser_1.KeybindingRegistry),
|
|
809
|
+
tslib_1.__metadata("design:type", browser_1.KeybindingRegistry)
|
|
810
|
+
], TreeViewWidget.prototype, "keybindings", void 0);
|
|
811
|
+
tslib_1.__decorate([
|
|
812
|
+
(0, inversify_1.inject)(context_key_service_1.ContextKeyService),
|
|
813
|
+
tslib_1.__metadata("design:type", Object)
|
|
814
|
+
], TreeViewWidget.prototype, "contextKeys", void 0);
|
|
815
|
+
tslib_1.__decorate([
|
|
816
|
+
(0, inversify_1.inject)(TreeViewWidgetOptions),
|
|
817
|
+
tslib_1.__metadata("design:type", TreeViewWidgetOptions)
|
|
818
|
+
], TreeViewWidget.prototype, "options", void 0);
|
|
819
|
+
tslib_1.__decorate([
|
|
820
|
+
(0, inversify_1.inject)(PluginTreeModel),
|
|
821
|
+
tslib_1.__metadata("design:type", PluginTreeModel)
|
|
822
|
+
], TreeViewWidget.prototype, "model", void 0);
|
|
823
|
+
tslib_1.__decorate([
|
|
824
|
+
(0, inversify_1.inject)(context_key_service_1.ContextKeyService),
|
|
825
|
+
tslib_1.__metadata("design:type", Object)
|
|
826
|
+
], TreeViewWidget.prototype, "contextKeyService", void 0);
|
|
827
|
+
tslib_1.__decorate([
|
|
828
|
+
(0, inversify_1.inject)(browser_1.HoverService),
|
|
829
|
+
tslib_1.__metadata("design:type", browser_1.HoverService)
|
|
830
|
+
], TreeViewWidget.prototype, "hoverService", void 0);
|
|
831
|
+
tslib_1.__decorate([
|
|
832
|
+
(0, inversify_1.inject)(color_registry_1.ColorRegistry),
|
|
833
|
+
tslib_1.__metadata("design:type", color_registry_1.ColorRegistry)
|
|
834
|
+
], TreeViewWidget.prototype, "colorRegistry", void 0);
|
|
835
|
+
tslib_1.__decorate([
|
|
836
|
+
(0, inversify_1.inject)(dnd_file_content_store_1.DnDFileContentStore),
|
|
837
|
+
tslib_1.__metadata("design:type", dnd_file_content_store_1.DnDFileContentStore)
|
|
838
|
+
], TreeViewWidget.prototype, "dndFileContentStore", void 0);
|
|
839
|
+
tslib_1.__decorate([
|
|
840
|
+
(0, inversify_1.postConstruct)(),
|
|
841
|
+
tslib_1.__metadata("design:type", Function),
|
|
842
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
843
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
844
|
+
], TreeViewWidget.prototype, "init", null);
|
|
845
|
+
exports.TreeViewWidget = TreeViewWidget = tslib_1.__decorate([
|
|
846
|
+
(0, inversify_1.injectable)()
|
|
847
|
+
], TreeViewWidget);
|
|
848
|
+
//# sourceMappingURL=tree-view-widget.js.map
|