@theia/plugin-ext 1.67.0-next.56 → 1.67.0-next.59
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 +60 -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
|
@@ -0,0 +1,923 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2015-2021 Red Hat, Inc.
|
|
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
|
+
var TheiaPluginScanner_1;
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.TheiaPluginScanner = exports.AbstractPluginScanner = void 0;
|
|
20
|
+
const tslib_1 = require("tslib");
|
|
21
|
+
/* eslint-disable @theia/localization-check */
|
|
22
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
23
|
+
const plugin_protocol_1 = require("../../../common/plugin-protocol");
|
|
24
|
+
const fs_1 = require("fs");
|
|
25
|
+
const path = require("path");
|
|
26
|
+
const types_1 = require("@theia/core/lib/common/types");
|
|
27
|
+
const grammars_reader_1 = require("./grammars-reader");
|
|
28
|
+
const errors_1 = require("../../../common/errors");
|
|
29
|
+
const jsoncparser = require("jsonc-parser");
|
|
30
|
+
const objects_1 = require("@theia/core/lib/common/objects");
|
|
31
|
+
const icon_utilities_1 = require("@theia/core/lib/common/markdown-rendering/icon-utilities");
|
|
32
|
+
const plugin_uri_factory_1 = require("./plugin-uri-factory");
|
|
33
|
+
const preference_scope_1 = require("@theia/core/lib/common/preferences/preference-scope");
|
|
34
|
+
const colorIdPattern = '^\\w+[.\\w+]*$';
|
|
35
|
+
const iconIdPattern = `^${icon_utilities_1.CSSIcon.iconNameSegment}(-${icon_utilities_1.CSSIcon.iconNameSegment})+$`;
|
|
36
|
+
function getFileExtension(filePath) {
|
|
37
|
+
const index = filePath.lastIndexOf('.');
|
|
38
|
+
return index === -1 ? '' : filePath.substring(index + 1);
|
|
39
|
+
}
|
|
40
|
+
let AbstractPluginScanner = class AbstractPluginScanner {
|
|
41
|
+
constructor(_apiType, _backendInitPath) {
|
|
42
|
+
this._apiType = _apiType;
|
|
43
|
+
this._backendInitPath = _backendInitPath;
|
|
44
|
+
}
|
|
45
|
+
get apiType() {
|
|
46
|
+
return this._apiType;
|
|
47
|
+
}
|
|
48
|
+
getModel(plugin) {
|
|
49
|
+
var _a;
|
|
50
|
+
const publisher = (_a = plugin.publisher) !== null && _a !== void 0 ? _a : plugin_protocol_1.PluginIdentifiers.UNPUBLISHED;
|
|
51
|
+
const result = {
|
|
52
|
+
packagePath: plugin.packagePath,
|
|
53
|
+
packageUri: this.pluginUriFactory.createUri(plugin).toString(),
|
|
54
|
+
// see id definition: https://github.com/microsoft/vscode/blob/15916055fe0cb9411a5f36119b3b012458fe0a1d/src/vs/platform/extensions/common/extensions.ts#L167-L169
|
|
55
|
+
id: `${publisher.toLowerCase()}.${plugin.name.toLowerCase()}`,
|
|
56
|
+
name: plugin.name,
|
|
57
|
+
publisher,
|
|
58
|
+
version: plugin.version,
|
|
59
|
+
displayName: plugin.displayName,
|
|
60
|
+
description: plugin.description,
|
|
61
|
+
l10n: plugin.l10n,
|
|
62
|
+
engine: {
|
|
63
|
+
type: this._apiType,
|
|
64
|
+
version: plugin.engines[this._apiType]
|
|
65
|
+
},
|
|
66
|
+
entryPoint: this.getEntryPoint(plugin),
|
|
67
|
+
licenseUrl: this.getLicenseUrl(plugin),
|
|
68
|
+
readmeUrl: this.getReadmeUrl(plugin)
|
|
69
|
+
};
|
|
70
|
+
return result;
|
|
71
|
+
}
|
|
72
|
+
getReadmeUrl(plugin) {
|
|
73
|
+
return this.getPluginRootFileUrl(plugin, ['readme.md', 'readme.txt', 'readme']);
|
|
74
|
+
}
|
|
75
|
+
getLicenseUrl(plugin) {
|
|
76
|
+
return this.getPluginRootFileUrl(plugin, ['license', 'license.txt', 'license.md']);
|
|
77
|
+
}
|
|
78
|
+
getPluginRootFileUrl(plugin, names) {
|
|
79
|
+
const nameSet = new Set(names.map(n => n.toLowerCase()));
|
|
80
|
+
try {
|
|
81
|
+
const dir = (0, fs_1.readdirSync)(plugin.packagePath, { withFileTypes: true });
|
|
82
|
+
for (const dirent of dir) {
|
|
83
|
+
if (dirent.isFile() && nameSet.has(dirent.name.toLowerCase())) {
|
|
84
|
+
return plugin_protocol_1.PluginPackage.toPluginUrl(plugin, dirent.name);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
catch {
|
|
89
|
+
return undefined;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
getLifecycle(plugin) {
|
|
93
|
+
const result = {
|
|
94
|
+
startMethod: 'start',
|
|
95
|
+
stopMethod: 'stop',
|
|
96
|
+
frontendModuleName: (0, plugin_protocol_1.buildFrontendModuleName)(plugin),
|
|
97
|
+
};
|
|
98
|
+
if (this._backendInitPath) {
|
|
99
|
+
result.backendInitPath = path.join(__dirname, this._backendInitPath);
|
|
100
|
+
}
|
|
101
|
+
return result;
|
|
102
|
+
}
|
|
103
|
+
getDependencies(rawPlugin) {
|
|
104
|
+
// skip it since there is no way to load transitive dependencies for Theia plugins yet
|
|
105
|
+
return undefined;
|
|
106
|
+
}
|
|
107
|
+
async getContribution(rawPlugin) {
|
|
108
|
+
if (!rawPlugin.contributes && !rawPlugin.activationEvents) {
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
const contributions = {
|
|
112
|
+
activationEvents: rawPlugin.activationEvents
|
|
113
|
+
};
|
|
114
|
+
if (!rawPlugin.contributes) {
|
|
115
|
+
return contributions;
|
|
116
|
+
}
|
|
117
|
+
return this.readContributions(rawPlugin, contributions);
|
|
118
|
+
}
|
|
119
|
+
async readContributions(rawPlugin, contributions) {
|
|
120
|
+
return contributions;
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
exports.AbstractPluginScanner = AbstractPluginScanner;
|
|
124
|
+
tslib_1.__decorate([
|
|
125
|
+
(0, inversify_1.inject)(grammars_reader_1.GrammarsReader),
|
|
126
|
+
tslib_1.__metadata("design:type", grammars_reader_1.GrammarsReader)
|
|
127
|
+
], AbstractPluginScanner.prototype, "grammarsReader", void 0);
|
|
128
|
+
tslib_1.__decorate([
|
|
129
|
+
(0, inversify_1.inject)(plugin_uri_factory_1.PluginUriFactory),
|
|
130
|
+
tslib_1.__metadata("design:type", Object)
|
|
131
|
+
], AbstractPluginScanner.prototype, "pluginUriFactory", void 0);
|
|
132
|
+
exports.AbstractPluginScanner = AbstractPluginScanner = tslib_1.__decorate([
|
|
133
|
+
(0, inversify_1.injectable)(),
|
|
134
|
+
tslib_1.__param(0, (0, inversify_1.unmanaged)()),
|
|
135
|
+
tslib_1.__param(1, (0, inversify_1.unmanaged)()),
|
|
136
|
+
tslib_1.__metadata("design:paramtypes", [String, String])
|
|
137
|
+
], AbstractPluginScanner);
|
|
138
|
+
let TheiaPluginScanner = TheiaPluginScanner_1 = class TheiaPluginScanner extends AbstractPluginScanner {
|
|
139
|
+
constructor() {
|
|
140
|
+
super('theiaPlugin', 'backend-init-theia');
|
|
141
|
+
}
|
|
142
|
+
getEntryPoint(plugin) {
|
|
143
|
+
var _a;
|
|
144
|
+
const result = {
|
|
145
|
+
frontend: plugin.theiaPlugin.frontend,
|
|
146
|
+
backend: plugin.theiaPlugin.backend
|
|
147
|
+
};
|
|
148
|
+
if ((_a = plugin.theiaPlugin) === null || _a === void 0 ? void 0 : _a.headless) {
|
|
149
|
+
result.headless = plugin.theiaPlugin.headless;
|
|
150
|
+
}
|
|
151
|
+
return result;
|
|
152
|
+
}
|
|
153
|
+
static getScope(monacoScope) {
|
|
154
|
+
switch (monacoScope) {
|
|
155
|
+
case 'machine-overridable':
|
|
156
|
+
case 'window':
|
|
157
|
+
case 'resource':
|
|
158
|
+
return { scope: preference_scope_1.PreferenceScope.Folder, overridable: false };
|
|
159
|
+
case 'language-overridable':
|
|
160
|
+
return { scope: preference_scope_1.PreferenceScope.Folder, overridable: true };
|
|
161
|
+
case 'application':
|
|
162
|
+
case 'machine':
|
|
163
|
+
return { scope: preference_scope_1.PreferenceScope.User, overridable: false };
|
|
164
|
+
}
|
|
165
|
+
return { scope: undefined, overridable: false };
|
|
166
|
+
}
|
|
167
|
+
async readContributions(rawPlugin, contributions) {
|
|
168
|
+
try {
|
|
169
|
+
if (rawPlugin.contributes.configuration) {
|
|
170
|
+
const configurations = Array.isArray(rawPlugin.contributes.configuration) ? rawPlugin.contributes.configuration : [rawPlugin.contributes.configuration];
|
|
171
|
+
const hasMultipleConfigs = configurations.length > 1;
|
|
172
|
+
contributions.configuration = [];
|
|
173
|
+
for (const c of configurations) {
|
|
174
|
+
const config = this.readConfiguration(c, rawPlugin.packagePath);
|
|
175
|
+
if (config) {
|
|
176
|
+
Object.values(config.properties).forEach(property => {
|
|
177
|
+
if (hasMultipleConfigs) {
|
|
178
|
+
// If there are multiple configuration contributions, we need to distinguish them by their title in the settings UI.
|
|
179
|
+
// They are placed directly under the plugin's name in the settings UI.
|
|
180
|
+
property.owner = rawPlugin.displayName;
|
|
181
|
+
property.group = config.title;
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
// If there's only one configuration contribution, we display the title in the settings UI.
|
|
185
|
+
property.owner = config.title;
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
contributions.configuration.push(config);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
catch (err) {
|
|
194
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'configuration'.`, rawPlugin.contributes.configuration, err);
|
|
195
|
+
}
|
|
196
|
+
const configurationDefaults = rawPlugin.contributes.configurationDefaults;
|
|
197
|
+
contributions.configurationDefaults = (0, types_1.isObject)(configurationDefaults) ? configurationDefaults : undefined;
|
|
198
|
+
try {
|
|
199
|
+
if (rawPlugin.contributes.submenus) {
|
|
200
|
+
contributions.submenus = this.readSubmenus(rawPlugin.contributes.submenus, rawPlugin);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
catch (err) {
|
|
204
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'submenus'.`, rawPlugin.contributes.submenus, err);
|
|
205
|
+
}
|
|
206
|
+
try {
|
|
207
|
+
if (rawPlugin.contributes.customEditors) {
|
|
208
|
+
const customEditors = this.readCustomEditors(rawPlugin.contributes.customEditors);
|
|
209
|
+
contributions.customEditors = customEditors;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
catch (err) {
|
|
213
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'customEditors'.`, rawPlugin.contributes.customEditors, err);
|
|
214
|
+
}
|
|
215
|
+
try {
|
|
216
|
+
if (rawPlugin.contributes.viewsContainers) {
|
|
217
|
+
const viewsContainers = rawPlugin.contributes.viewsContainers;
|
|
218
|
+
contributions.viewsContainers = {};
|
|
219
|
+
for (const location of Object.keys(viewsContainers)) {
|
|
220
|
+
const containers = this.readViewsContainers(viewsContainers[location], rawPlugin);
|
|
221
|
+
const loc = location === 'activitybar' ? 'left' : location === 'panel' ? 'bottom' : location;
|
|
222
|
+
if (contributions.viewsContainers[loc]) {
|
|
223
|
+
contributions.viewsContainers[loc] = contributions.viewsContainers[loc].concat(containers);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
contributions.viewsContainers[loc] = containers;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
catch (err) {
|
|
232
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'viewsContainers'.`, rawPlugin.contributes.viewsContainers, err);
|
|
233
|
+
}
|
|
234
|
+
try {
|
|
235
|
+
if (rawPlugin.contributes.views) {
|
|
236
|
+
contributions.views = {};
|
|
237
|
+
for (const location of Object.keys(rawPlugin.contributes.views)) {
|
|
238
|
+
const views = this.readViews(rawPlugin.contributes.views[location]);
|
|
239
|
+
contributions.views[location] = views;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
catch (err) {
|
|
244
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'views'.`, rawPlugin.contributes.views, err);
|
|
245
|
+
}
|
|
246
|
+
try {
|
|
247
|
+
if (rawPlugin.contributes.viewsWelcome) {
|
|
248
|
+
contributions.viewsWelcome = this.readViewsWelcome(rawPlugin.contributes.viewsWelcome, rawPlugin.contributes.views);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
catch (err) {
|
|
252
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'viewsWelcome'.`, rawPlugin.contributes.viewsWelcome, err);
|
|
253
|
+
}
|
|
254
|
+
try {
|
|
255
|
+
const pluginCommands = rawPlugin.contributes.commands;
|
|
256
|
+
if (pluginCommands) {
|
|
257
|
+
const commands = Array.isArray(pluginCommands) ? pluginCommands : [pluginCommands];
|
|
258
|
+
contributions.commands = commands.map(command => this.readCommand(command, rawPlugin));
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
catch (err) {
|
|
262
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'commands'.`, rawPlugin.contributes.commands, err);
|
|
263
|
+
}
|
|
264
|
+
try {
|
|
265
|
+
if (rawPlugin.contributes.menus) {
|
|
266
|
+
contributions.menus = {};
|
|
267
|
+
for (const location of Object.keys(rawPlugin.contributes.menus)) {
|
|
268
|
+
const menus = this.readMenus(rawPlugin.contributes.menus[location]);
|
|
269
|
+
contributions.menus[location] = menus;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
catch (err) {
|
|
274
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'menus'.`, rawPlugin.contributes.menus, err);
|
|
275
|
+
}
|
|
276
|
+
try {
|
|
277
|
+
if (rawPlugin.contributes.keybindings) {
|
|
278
|
+
const rawKeybindings = Array.isArray(rawPlugin.contributes.keybindings) ? rawPlugin.contributes.keybindings : [rawPlugin.contributes.keybindings];
|
|
279
|
+
contributions.keybindings = rawKeybindings.map(rawKeybinding => this.readKeybinding(rawKeybinding));
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
catch (err) {
|
|
283
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'keybindings'.`, rawPlugin.contributes.keybindings, err);
|
|
284
|
+
}
|
|
285
|
+
try {
|
|
286
|
+
if (rawPlugin.contributes.debuggers) {
|
|
287
|
+
const debuggers = this.readDebuggers(rawPlugin.contributes.debuggers);
|
|
288
|
+
contributions.debuggers = debuggers;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
catch (err) {
|
|
292
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'debuggers'.`, rawPlugin.contributes.debuggers, err);
|
|
293
|
+
}
|
|
294
|
+
try {
|
|
295
|
+
if (rawPlugin.contributes.taskDefinitions) {
|
|
296
|
+
const definitions = rawPlugin.contributes.taskDefinitions;
|
|
297
|
+
contributions.taskDefinitions = definitions.map(definitionContribution => this.readTaskDefinition(rawPlugin.name, definitionContribution));
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
catch (err) {
|
|
301
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'taskDefinitions'.`, rawPlugin.contributes.taskDefinitions, err);
|
|
302
|
+
}
|
|
303
|
+
try {
|
|
304
|
+
contributions.problemMatchers = rawPlugin.contributes.problemMatchers;
|
|
305
|
+
}
|
|
306
|
+
catch (err) {
|
|
307
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'problemMatchers'.`, rawPlugin.contributes.problemMatchers, err);
|
|
308
|
+
}
|
|
309
|
+
try {
|
|
310
|
+
contributions.problemPatterns = rawPlugin.contributes.problemPatterns;
|
|
311
|
+
}
|
|
312
|
+
catch (err) {
|
|
313
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'problemPatterns'.`, rawPlugin.contributes.problemPatterns, err);
|
|
314
|
+
}
|
|
315
|
+
try {
|
|
316
|
+
contributions.resourceLabelFormatters = rawPlugin.contributes.resourceLabelFormatters;
|
|
317
|
+
}
|
|
318
|
+
catch (err) {
|
|
319
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'resourceLabelFormatters'.`, rawPlugin.contributes.resourceLabelFormatters, err);
|
|
320
|
+
}
|
|
321
|
+
try {
|
|
322
|
+
contributions.authentication = rawPlugin.contributes.authentication;
|
|
323
|
+
}
|
|
324
|
+
catch (err) {
|
|
325
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'authentication'.`, rawPlugin.contributes.authentication, err);
|
|
326
|
+
}
|
|
327
|
+
try {
|
|
328
|
+
contributions.notebooks = rawPlugin.contributes.notebooks;
|
|
329
|
+
}
|
|
330
|
+
catch (err) {
|
|
331
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'notebooks'.`, rawPlugin.contributes.notebooks, err);
|
|
332
|
+
}
|
|
333
|
+
try {
|
|
334
|
+
contributions.notebookRenderer = rawPlugin.contributes.notebookRenderer;
|
|
335
|
+
}
|
|
336
|
+
catch (err) {
|
|
337
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'notebook-renderer'.`, rawPlugin.contributes.notebookRenderer, err);
|
|
338
|
+
}
|
|
339
|
+
try {
|
|
340
|
+
contributions.notebookPreload = rawPlugin.contributes.notebookPreload;
|
|
341
|
+
}
|
|
342
|
+
catch (err) {
|
|
343
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'notebooks-preload'.`, rawPlugin.contributes.notebookPreload, err);
|
|
344
|
+
}
|
|
345
|
+
try {
|
|
346
|
+
contributions.snippets = this.readSnippets(rawPlugin);
|
|
347
|
+
}
|
|
348
|
+
catch (err) {
|
|
349
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'snippets'.`, rawPlugin.contributes.snippets, err);
|
|
350
|
+
}
|
|
351
|
+
try {
|
|
352
|
+
contributions.themes = this.readThemes(rawPlugin);
|
|
353
|
+
}
|
|
354
|
+
catch (err) {
|
|
355
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'themes'.`, rawPlugin.contributes.themes, err);
|
|
356
|
+
}
|
|
357
|
+
try {
|
|
358
|
+
contributions.icons = this.readIcons(rawPlugin);
|
|
359
|
+
}
|
|
360
|
+
catch (err) {
|
|
361
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'icons'.`, rawPlugin.contributes.icons, err);
|
|
362
|
+
}
|
|
363
|
+
try {
|
|
364
|
+
contributions.iconThemes = this.readIconThemes(rawPlugin);
|
|
365
|
+
}
|
|
366
|
+
catch (err) {
|
|
367
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'iconThemes'.`, rawPlugin.contributes.iconThemes, err);
|
|
368
|
+
}
|
|
369
|
+
try {
|
|
370
|
+
contributions.colors = this.readColors(rawPlugin);
|
|
371
|
+
}
|
|
372
|
+
catch (err) {
|
|
373
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'colors'.`, rawPlugin.contributes.colors, err);
|
|
374
|
+
}
|
|
375
|
+
try {
|
|
376
|
+
contributions.terminalProfiles = this.readTerminals(rawPlugin);
|
|
377
|
+
}
|
|
378
|
+
catch (err) {
|
|
379
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'terminals'.`, rawPlugin.contributes.terminal, err);
|
|
380
|
+
}
|
|
381
|
+
try {
|
|
382
|
+
contributions.localizations = this.readLocalizations(rawPlugin);
|
|
383
|
+
}
|
|
384
|
+
catch (err) {
|
|
385
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'localizations'.`, rawPlugin.contributes.localizations, err);
|
|
386
|
+
}
|
|
387
|
+
const [languagesResult, grammarsResult] = await Promise.allSettled([
|
|
388
|
+
rawPlugin.contributes.languages ? this.readLanguages(rawPlugin.contributes.languages, rawPlugin) : undefined,
|
|
389
|
+
rawPlugin.contributes.grammars ? this.grammarsReader.readGrammars(rawPlugin.contributes.grammars, rawPlugin.packagePath) : undefined
|
|
390
|
+
]);
|
|
391
|
+
if (rawPlugin.contributes.languages) {
|
|
392
|
+
if (languagesResult.status === 'fulfilled') {
|
|
393
|
+
contributions.languages = languagesResult.value;
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'languages'.`, rawPlugin.contributes.languages, languagesResult.reason);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
if (rawPlugin.contributes.grammars) {
|
|
400
|
+
if (grammarsResult.status === 'fulfilled') {
|
|
401
|
+
contributions.grammars = grammarsResult.value;
|
|
402
|
+
}
|
|
403
|
+
else {
|
|
404
|
+
console.error(`Could not read '${rawPlugin.name}' contribution 'grammars'.`, rawPlugin.contributes.grammars, grammarsResult.reason);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return contributions;
|
|
408
|
+
}
|
|
409
|
+
readTerminals(pck) {
|
|
410
|
+
var _a, _b;
|
|
411
|
+
if (!((_b = (_a = pck === null || pck === void 0 ? void 0 : pck.contributes) === null || _a === void 0 ? void 0 : _a.terminal) === null || _b === void 0 ? void 0 : _b.profiles)) {
|
|
412
|
+
return undefined;
|
|
413
|
+
}
|
|
414
|
+
return pck.contributes.terminal.profiles.filter(profile => profile.id && profile.title);
|
|
415
|
+
}
|
|
416
|
+
readLocalizations(pck) {
|
|
417
|
+
if (!pck.contributes || !pck.contributes.localizations) {
|
|
418
|
+
return undefined;
|
|
419
|
+
}
|
|
420
|
+
return pck.contributes.localizations.map(e => this.readLocalization(e, pck.packagePath));
|
|
421
|
+
}
|
|
422
|
+
readLocalization({ languageId, languageName, localizedLanguageName, translations }, pluginPath) {
|
|
423
|
+
const local = {
|
|
424
|
+
languageId,
|
|
425
|
+
languageName,
|
|
426
|
+
localizedLanguageName,
|
|
427
|
+
translations: []
|
|
428
|
+
};
|
|
429
|
+
local.translations = translations.map(e => this.readTranslation(e, pluginPath));
|
|
430
|
+
return local;
|
|
431
|
+
}
|
|
432
|
+
readTranslation(packageTranslation, pluginPath) {
|
|
433
|
+
const translation = {
|
|
434
|
+
id: packageTranslation.id,
|
|
435
|
+
path: packageTranslation.path
|
|
436
|
+
};
|
|
437
|
+
return translation;
|
|
438
|
+
}
|
|
439
|
+
readCommand({ command, title, shortTitle, original, category, icon, enablement }, pck) {
|
|
440
|
+
var _a;
|
|
441
|
+
const { themeIcon, iconUrl } = (_a = this.transformIconUrl(pck, icon)) !== null && _a !== void 0 ? _a : {};
|
|
442
|
+
return { command, title, shortTitle, originalTitle: original, category, iconUrl, themeIcon, enablement };
|
|
443
|
+
}
|
|
444
|
+
transformIconUrl(plugin, original) {
|
|
445
|
+
if (original) {
|
|
446
|
+
if (typeof original === 'string') {
|
|
447
|
+
if (original.startsWith('$(')) {
|
|
448
|
+
return { themeIcon: original };
|
|
449
|
+
}
|
|
450
|
+
else {
|
|
451
|
+
return { iconUrl: this.toPluginUrl(plugin, original) };
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
else {
|
|
455
|
+
return {
|
|
456
|
+
iconUrl: {
|
|
457
|
+
light: this.toPluginUrl(plugin, original.light),
|
|
458
|
+
dark: this.toPluginUrl(plugin, original.dark)
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
toPluginUrl(pck, relativePath) {
|
|
465
|
+
return plugin_protocol_1.PluginPackage.toPluginUrl(pck, relativePath);
|
|
466
|
+
}
|
|
467
|
+
readColors(pck) {
|
|
468
|
+
if (!pck.contributes || !pck.contributes.colors) {
|
|
469
|
+
return undefined;
|
|
470
|
+
}
|
|
471
|
+
const result = [];
|
|
472
|
+
for (const contribution of pck.contributes.colors) {
|
|
473
|
+
if (typeof contribution.id !== 'string' || contribution.id.length === 0) {
|
|
474
|
+
console.error("'configuration.colors.id' must be defined and can not be empty");
|
|
475
|
+
continue;
|
|
476
|
+
}
|
|
477
|
+
if (!contribution.id.match(colorIdPattern)) {
|
|
478
|
+
console.error("'configuration.colors.id' must follow the word[.word]*");
|
|
479
|
+
continue;
|
|
480
|
+
}
|
|
481
|
+
if (typeof contribution.description !== 'string' || contribution.id.length === 0) {
|
|
482
|
+
console.error("'configuration.colors.description' must be defined and can not be empty");
|
|
483
|
+
continue;
|
|
484
|
+
}
|
|
485
|
+
const defaults = contribution.defaults;
|
|
486
|
+
if (!defaults || typeof defaults !== 'object' || typeof defaults.light !== 'string' || typeof defaults.dark !== 'string' || typeof defaults.highContrast !== 'string') {
|
|
487
|
+
console.error("'configuration.colors.defaults' must be defined and must contain 'light', 'dark' and 'highContrast'");
|
|
488
|
+
continue;
|
|
489
|
+
}
|
|
490
|
+
result.push({
|
|
491
|
+
id: contribution.id,
|
|
492
|
+
description: contribution.description,
|
|
493
|
+
defaults: {
|
|
494
|
+
light: defaults.light,
|
|
495
|
+
dark: defaults.dark,
|
|
496
|
+
hc: defaults.highContrast
|
|
497
|
+
}
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
return result;
|
|
501
|
+
}
|
|
502
|
+
readThemes(pck) {
|
|
503
|
+
if (!pck.contributes || !pck.contributes.themes) {
|
|
504
|
+
return undefined;
|
|
505
|
+
}
|
|
506
|
+
const result = [];
|
|
507
|
+
for (const contribution of pck.contributes.themes) {
|
|
508
|
+
if (contribution.path) {
|
|
509
|
+
result.push({
|
|
510
|
+
id: contribution.id,
|
|
511
|
+
uri: this.pluginUriFactory.createUri(pck, contribution.path).toString(),
|
|
512
|
+
description: contribution.description,
|
|
513
|
+
label: contribution.label,
|
|
514
|
+
uiTheme: contribution.uiTheme
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
return result;
|
|
519
|
+
}
|
|
520
|
+
readIconThemes(pck) {
|
|
521
|
+
if (!pck.contributes || !pck.contributes.iconThemes) {
|
|
522
|
+
return undefined;
|
|
523
|
+
}
|
|
524
|
+
const result = [];
|
|
525
|
+
for (const contribution of pck.contributes.iconThemes) {
|
|
526
|
+
if (typeof contribution.id !== 'string') {
|
|
527
|
+
console.error('Expected string in `contributes.iconThemes.id`. Provided value:', contribution.id);
|
|
528
|
+
continue;
|
|
529
|
+
}
|
|
530
|
+
if (typeof contribution.path !== 'string') {
|
|
531
|
+
console.error('Expected string in `contributes.iconThemes.path`. Provided value:', contribution.path);
|
|
532
|
+
continue;
|
|
533
|
+
}
|
|
534
|
+
result.push({
|
|
535
|
+
id: contribution.id,
|
|
536
|
+
uri: this.pluginUriFactory.createUri(pck, contribution.path).toString(),
|
|
537
|
+
description: contribution.description,
|
|
538
|
+
label: contribution.label,
|
|
539
|
+
uiTheme: contribution.uiTheme
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
return result;
|
|
543
|
+
}
|
|
544
|
+
readIcons(pck) {
|
|
545
|
+
if (!pck.contributes || !pck.contributes.icons) {
|
|
546
|
+
return undefined;
|
|
547
|
+
}
|
|
548
|
+
const result = [];
|
|
549
|
+
const iconEntries = pck.contributes.icons;
|
|
550
|
+
for (const id in iconEntries) {
|
|
551
|
+
if (pck.contributes.icons.hasOwnProperty(id)) {
|
|
552
|
+
if (!id.match(iconIdPattern)) {
|
|
553
|
+
console.error("'configuration.icons' keys represent the icon id and can only contain letter, digits and minuses. " +
|
|
554
|
+
'They need to consist of at least two segments in the form `component-iconname`.', 'extension: ', pck.name, 'icon id: ', id);
|
|
555
|
+
return;
|
|
556
|
+
}
|
|
557
|
+
const iconContribution = iconEntries[id];
|
|
558
|
+
if (typeof iconContribution.description !== 'string' || iconContribution.description['length'] === 0) {
|
|
559
|
+
console.error('configuration.icons.description must be defined and can not be empty, ', 'extension: ', pck.name, 'icon id: ', id);
|
|
560
|
+
return;
|
|
561
|
+
}
|
|
562
|
+
const defaultIcon = iconContribution.default;
|
|
563
|
+
if (typeof defaultIcon === 'string') {
|
|
564
|
+
result.push({
|
|
565
|
+
id,
|
|
566
|
+
extensionId: pck.publisher + '.' + pck.name,
|
|
567
|
+
description: iconContribution.description,
|
|
568
|
+
defaults: { id: defaultIcon }
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
else if (typeof defaultIcon === 'object' && typeof defaultIcon.fontPath === 'string' && typeof defaultIcon.fontCharacter === 'string') {
|
|
572
|
+
const format = getFileExtension(defaultIcon.fontPath);
|
|
573
|
+
if (['woff', 'woff2', 'ttf'].indexOf(format) === -1) {
|
|
574
|
+
console.warn("Expected `contributes.icons.default.fontPath` to have file extension 'woff', woff2' or 'ttf', is '{0}'.", format);
|
|
575
|
+
return;
|
|
576
|
+
}
|
|
577
|
+
const iconFontLocation = this.pluginUriFactory.createUri(pck, defaultIcon.fontPath).toString();
|
|
578
|
+
result.push({
|
|
579
|
+
id,
|
|
580
|
+
extensionId: pck.publisher + '.' + pck.name,
|
|
581
|
+
description: iconContribution.description,
|
|
582
|
+
defaults: {
|
|
583
|
+
fontCharacter: defaultIcon.fontCharacter,
|
|
584
|
+
location: iconFontLocation
|
|
585
|
+
}
|
|
586
|
+
});
|
|
587
|
+
}
|
|
588
|
+
else {
|
|
589
|
+
console.error("'configuration.icons.default' must be either a reference to the id of an other theme icon (string) or a icon definition (object) with ", 'properties `fontPath` and `fontCharacter`.');
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
return result;
|
|
594
|
+
}
|
|
595
|
+
readSnippets(pck) {
|
|
596
|
+
if (!pck.contributes || !pck.contributes.snippets) {
|
|
597
|
+
return undefined;
|
|
598
|
+
}
|
|
599
|
+
const result = [];
|
|
600
|
+
for (const contribution of pck.contributes.snippets) {
|
|
601
|
+
if (contribution.path) {
|
|
602
|
+
result.push({
|
|
603
|
+
language: contribution.language,
|
|
604
|
+
source: pck.displayName || pck.name,
|
|
605
|
+
uri: this.pluginUriFactory.createUri(pck, contribution.path).toString()
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
return result;
|
|
610
|
+
}
|
|
611
|
+
async readJson(filePath) {
|
|
612
|
+
const content = await this.readFile(filePath);
|
|
613
|
+
return content ? jsoncparser.parse(content, undefined, { disallowComments: false }) : undefined;
|
|
614
|
+
}
|
|
615
|
+
async readFile(filePath) {
|
|
616
|
+
try {
|
|
617
|
+
const content = await fs_1.promises.readFile(filePath, { encoding: 'utf8' });
|
|
618
|
+
return content;
|
|
619
|
+
}
|
|
620
|
+
catch (e) {
|
|
621
|
+
if (!(0, errors_1.isENOENT)(e)) {
|
|
622
|
+
console.error(e);
|
|
623
|
+
}
|
|
624
|
+
return '';
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
628
|
+
readConfiguration(rawConfiguration, pluginPath) {
|
|
629
|
+
const { scope, overridable } = TheiaPluginScanner_1.getScope(rawConfiguration.scope);
|
|
630
|
+
const schema = {
|
|
631
|
+
scope,
|
|
632
|
+
defaultOverridable: overridable,
|
|
633
|
+
title: rawConfiguration.title,
|
|
634
|
+
properties: {}
|
|
635
|
+
};
|
|
636
|
+
if (rawConfiguration.properties) {
|
|
637
|
+
for (const [key, property] of Object.entries(rawConfiguration.properties)) {
|
|
638
|
+
const scopeInfo = TheiaPluginScanner_1.getScope(property.scope);
|
|
639
|
+
const schemaProperty = {
|
|
640
|
+
...property,
|
|
641
|
+
scope: scopeInfo.scope,
|
|
642
|
+
overridable: scopeInfo.overridable
|
|
643
|
+
};
|
|
644
|
+
schema.properties[key] = schemaProperty;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
return schema;
|
|
648
|
+
}
|
|
649
|
+
readKeybinding(rawKeybinding) {
|
|
650
|
+
return {
|
|
651
|
+
keybinding: rawKeybinding.key,
|
|
652
|
+
command: rawKeybinding.command,
|
|
653
|
+
when: rawKeybinding.when,
|
|
654
|
+
mac: rawKeybinding.mac,
|
|
655
|
+
linux: rawKeybinding.linux,
|
|
656
|
+
win: rawKeybinding.win,
|
|
657
|
+
args: rawKeybinding.args
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
readCustomEditors(rawCustomEditors) {
|
|
661
|
+
return rawCustomEditors.map(rawCustomEditor => this.readCustomEditor(rawCustomEditor));
|
|
662
|
+
}
|
|
663
|
+
readCustomEditor(rawCustomEditor) {
|
|
664
|
+
return {
|
|
665
|
+
viewType: rawCustomEditor.viewType,
|
|
666
|
+
displayName: rawCustomEditor.displayName,
|
|
667
|
+
selector: rawCustomEditor.selector || [],
|
|
668
|
+
priority: rawCustomEditor.priority || plugin_protocol_1.CustomEditorPriority.default
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
readViewsContainers(rawViewsContainers, pck) {
|
|
672
|
+
return rawViewsContainers.map(rawViewContainer => this.readViewContainer(rawViewContainer, pck));
|
|
673
|
+
}
|
|
674
|
+
readViewContainer(rawViewContainer, pck) {
|
|
675
|
+
const themeIcon = rawViewContainer.icon.startsWith('$(') ? rawViewContainer.icon : undefined;
|
|
676
|
+
const iconUrl = this.toPluginUrl(pck, rawViewContainer.icon);
|
|
677
|
+
return {
|
|
678
|
+
id: rawViewContainer.id,
|
|
679
|
+
title: rawViewContainer.title,
|
|
680
|
+
iconUrl,
|
|
681
|
+
themeIcon,
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
readViews(rawViews) {
|
|
685
|
+
return rawViews.map(rawView => this.readView(rawView));
|
|
686
|
+
}
|
|
687
|
+
readView(rawView) {
|
|
688
|
+
const result = {
|
|
689
|
+
id: rawView.id,
|
|
690
|
+
name: rawView.name,
|
|
691
|
+
when: rawView.when,
|
|
692
|
+
type: rawView.type
|
|
693
|
+
};
|
|
694
|
+
return result;
|
|
695
|
+
}
|
|
696
|
+
readViewsWelcome(rawViewsWelcome, rowViews) {
|
|
697
|
+
return rawViewsWelcome.map(rawViewWelcome => this.readViewWelcome(rawViewWelcome, this.extractPluginViewsIds(rowViews)));
|
|
698
|
+
}
|
|
699
|
+
readViewWelcome(rawViewWelcome, pluginViewsIds) {
|
|
700
|
+
const result = {
|
|
701
|
+
view: rawViewWelcome.view,
|
|
702
|
+
content: rawViewWelcome.contents,
|
|
703
|
+
when: rawViewWelcome.when,
|
|
704
|
+
enablement: rawViewWelcome.enablement,
|
|
705
|
+
// if the plugin contributes Welcome view to its own view - it will be ordered first
|
|
706
|
+
order: pluginViewsIds.findIndex(v => v === rawViewWelcome.view) > -1 ? 0 : 1
|
|
707
|
+
};
|
|
708
|
+
return result;
|
|
709
|
+
}
|
|
710
|
+
extractPluginViewsIds(views) {
|
|
711
|
+
const pluginViewsIds = [];
|
|
712
|
+
if (views) {
|
|
713
|
+
for (const location of Object.keys(views)) {
|
|
714
|
+
const viewsIds = views[location].map(view => view.id);
|
|
715
|
+
pluginViewsIds.push(...viewsIds);
|
|
716
|
+
}
|
|
717
|
+
;
|
|
718
|
+
}
|
|
719
|
+
return pluginViewsIds;
|
|
720
|
+
}
|
|
721
|
+
readMenus(rawMenus) {
|
|
722
|
+
return rawMenus.map(rawMenu => this.readMenu(rawMenu));
|
|
723
|
+
}
|
|
724
|
+
readMenu(rawMenu) {
|
|
725
|
+
const result = {
|
|
726
|
+
command: rawMenu.command,
|
|
727
|
+
submenu: rawMenu.submenu,
|
|
728
|
+
alt: rawMenu.alt,
|
|
729
|
+
group: rawMenu.group,
|
|
730
|
+
when: rawMenu.when
|
|
731
|
+
};
|
|
732
|
+
return result;
|
|
733
|
+
}
|
|
734
|
+
async readLanguages(rawLanguages, plugin) {
|
|
735
|
+
return Promise.all(rawLanguages.map(language => this.readLanguage(language, plugin)));
|
|
736
|
+
}
|
|
737
|
+
readSubmenus(rawSubmenus, plugin) {
|
|
738
|
+
return rawSubmenus.map(submenu => this.readSubmenu(submenu, plugin));
|
|
739
|
+
}
|
|
740
|
+
readSubmenu(rawSubmenu, plugin) {
|
|
741
|
+
var _a;
|
|
742
|
+
const icon = this.transformIconUrl(plugin, rawSubmenu.icon);
|
|
743
|
+
return {
|
|
744
|
+
icon: (_a = icon === null || icon === void 0 ? void 0 : icon.iconUrl) !== null && _a !== void 0 ? _a : icon === null || icon === void 0 ? void 0 : icon.themeIcon,
|
|
745
|
+
id: rawSubmenu.id,
|
|
746
|
+
label: rawSubmenu.label
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
async readLanguage(rawLang, plugin) {
|
|
750
|
+
var _a;
|
|
751
|
+
// TODO: add validation to all parameters
|
|
752
|
+
const icon = this.transformIconUrl(plugin, rawLang.icon);
|
|
753
|
+
const result = {
|
|
754
|
+
id: rawLang.id,
|
|
755
|
+
aliases: rawLang.aliases,
|
|
756
|
+
extensions: rawLang.extensions,
|
|
757
|
+
filenamePatterns: rawLang.filenamePatterns,
|
|
758
|
+
filenames: rawLang.filenames,
|
|
759
|
+
firstLine: rawLang.firstLine,
|
|
760
|
+
mimetypes: rawLang.mimetypes,
|
|
761
|
+
icon: (_a = icon === null || icon === void 0 ? void 0 : icon.iconUrl) !== null && _a !== void 0 ? _a : icon === null || icon === void 0 ? void 0 : icon.themeIcon
|
|
762
|
+
};
|
|
763
|
+
if (rawLang.configuration) {
|
|
764
|
+
const rawConfiguration = await this.readJson(path.resolve(plugin.packagePath, rawLang.configuration));
|
|
765
|
+
if (rawConfiguration) {
|
|
766
|
+
const configuration = {
|
|
767
|
+
brackets: rawConfiguration.brackets,
|
|
768
|
+
comments: rawConfiguration.comments,
|
|
769
|
+
folding: rawConfiguration.folding,
|
|
770
|
+
wordPattern: rawConfiguration.wordPattern,
|
|
771
|
+
autoClosingPairs: this.extractValidAutoClosingPairs(rawLang.id, rawConfiguration),
|
|
772
|
+
indentationRules: rawConfiguration.indentationRules,
|
|
773
|
+
surroundingPairs: this.extractValidSurroundingPairs(rawLang.id, rawConfiguration),
|
|
774
|
+
onEnterRules: rawConfiguration.onEnterRules,
|
|
775
|
+
};
|
|
776
|
+
result.configuration = configuration;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
return result;
|
|
780
|
+
}
|
|
781
|
+
readDebuggers(rawDebuggers) {
|
|
782
|
+
return rawDebuggers.map(rawDebug => this.readDebugger(rawDebug));
|
|
783
|
+
}
|
|
784
|
+
readDebugger(rawDebugger) {
|
|
785
|
+
const result = {
|
|
786
|
+
type: rawDebugger.type,
|
|
787
|
+
label: rawDebugger.label,
|
|
788
|
+
languages: rawDebugger.languages,
|
|
789
|
+
enableBreakpointsFor: rawDebugger.enableBreakpointsFor,
|
|
790
|
+
variables: rawDebugger.variables,
|
|
791
|
+
adapterExecutableCommand: rawDebugger.adapterExecutableCommand,
|
|
792
|
+
configurationSnippets: rawDebugger.configurationSnippets,
|
|
793
|
+
win: rawDebugger.win,
|
|
794
|
+
winx86: rawDebugger.winx86,
|
|
795
|
+
windows: rawDebugger.windows,
|
|
796
|
+
osx: rawDebugger.osx,
|
|
797
|
+
linux: rawDebugger.linux,
|
|
798
|
+
program: rawDebugger.program,
|
|
799
|
+
args: rawDebugger.args,
|
|
800
|
+
runtime: rawDebugger.runtime,
|
|
801
|
+
runtimeArgs: rawDebugger.runtimeArgs,
|
|
802
|
+
configurationAttributes: rawDebugger.configurationAttributes
|
|
803
|
+
};
|
|
804
|
+
return result;
|
|
805
|
+
}
|
|
806
|
+
readTaskDefinition(pluginName, definitionContribution) {
|
|
807
|
+
const propertyKeys = definitionContribution.properties ? Object.keys(definitionContribution.properties) : [];
|
|
808
|
+
const schema = this.toSchema(definitionContribution);
|
|
809
|
+
return {
|
|
810
|
+
taskType: definitionContribution.type,
|
|
811
|
+
source: pluginName,
|
|
812
|
+
properties: {
|
|
813
|
+
required: definitionContribution.required || [],
|
|
814
|
+
all: propertyKeys,
|
|
815
|
+
schema
|
|
816
|
+
}
|
|
817
|
+
};
|
|
818
|
+
}
|
|
819
|
+
toSchema(definition) {
|
|
820
|
+
const reconciliation = { ...definition, type: 'object' };
|
|
821
|
+
const schema = (0, objects_1.deepClone)(reconciliation);
|
|
822
|
+
if (schema.properties === undefined) {
|
|
823
|
+
schema.properties = Object.create(null);
|
|
824
|
+
}
|
|
825
|
+
schema.type = 'object';
|
|
826
|
+
schema.properties.type = { type: 'string', const: definition.type };
|
|
827
|
+
return schema;
|
|
828
|
+
}
|
|
829
|
+
extractValidAutoClosingPairs(langId, configuration) {
|
|
830
|
+
const source = configuration.autoClosingPairs;
|
|
831
|
+
if (typeof source === 'undefined') {
|
|
832
|
+
return undefined;
|
|
833
|
+
}
|
|
834
|
+
if (!Array.isArray(source)) {
|
|
835
|
+
console.warn(`[${langId}]: language configuration: expected \`autoClosingPairs\` to be an array.`);
|
|
836
|
+
return undefined;
|
|
837
|
+
}
|
|
838
|
+
let result = undefined;
|
|
839
|
+
for (let i = 0, len = source.length; i < len; i++) {
|
|
840
|
+
const pair = source[i];
|
|
841
|
+
if (Array.isArray(pair)) {
|
|
842
|
+
if (!isCharacterPair(pair)) {
|
|
843
|
+
console.warn(`[${langId}]: language configuration: expected \`autoClosingPairs[${i}]\` to be an array of two strings or an object.`);
|
|
844
|
+
continue;
|
|
845
|
+
}
|
|
846
|
+
result = result || [];
|
|
847
|
+
result.push({ open: pair[0], close: pair[1] });
|
|
848
|
+
}
|
|
849
|
+
else {
|
|
850
|
+
if (!(0, types_1.isObject)(pair)) {
|
|
851
|
+
console.warn(`[${langId}]: language configuration: expected \`autoClosingPairs[${i}]\` to be an array of two strings or an object.`);
|
|
852
|
+
continue;
|
|
853
|
+
}
|
|
854
|
+
if (typeof pair.open !== 'string') {
|
|
855
|
+
console.warn(`[${langId}]: language configuration: expected \`autoClosingPairs[${i}].open\` to be a string.`);
|
|
856
|
+
continue;
|
|
857
|
+
}
|
|
858
|
+
if (typeof pair.close !== 'string') {
|
|
859
|
+
console.warn(`[${langId}]: language configuration: expected \`autoClosingPairs[${i}].close\` to be a string.`);
|
|
860
|
+
continue;
|
|
861
|
+
}
|
|
862
|
+
if (typeof pair.notIn !== 'undefined') {
|
|
863
|
+
if (!(0, types_1.isStringArray)(pair.notIn)) {
|
|
864
|
+
console.warn(`[${langId}]: language configuration: expected \`autoClosingPairs[${i}].notIn\` to be a string array.`);
|
|
865
|
+
continue;
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
result = result || [];
|
|
869
|
+
result.push({ open: pair.open, close: pair.close, notIn: pair.notIn });
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
return result;
|
|
873
|
+
}
|
|
874
|
+
extractValidSurroundingPairs(langId, configuration) {
|
|
875
|
+
const source = configuration.surroundingPairs;
|
|
876
|
+
if (typeof source === 'undefined') {
|
|
877
|
+
return undefined;
|
|
878
|
+
}
|
|
879
|
+
if (!Array.isArray(source)) {
|
|
880
|
+
console.warn(`[${langId}]: language configuration: expected \`surroundingPairs\` to be an array.`);
|
|
881
|
+
return undefined;
|
|
882
|
+
}
|
|
883
|
+
let result = undefined;
|
|
884
|
+
for (let i = 0, len = source.length; i < len; i++) {
|
|
885
|
+
const pair = source[i];
|
|
886
|
+
if (Array.isArray(pair)) {
|
|
887
|
+
if (!isCharacterPair(pair)) {
|
|
888
|
+
console.warn(`[${langId}]: language configuration: expected \`surroundingPairs[${i}]\` to be an array of two strings or an object.`);
|
|
889
|
+
continue;
|
|
890
|
+
}
|
|
891
|
+
result = result || [];
|
|
892
|
+
result.push({ open: pair[0], close: pair[1] });
|
|
893
|
+
}
|
|
894
|
+
else {
|
|
895
|
+
if (!(0, types_1.isObject)(pair)) {
|
|
896
|
+
console.warn(`[${langId}]: language configuration: expected \`surroundingPairs[${i}]\` to be an array of two strings or an object.`);
|
|
897
|
+
continue;
|
|
898
|
+
}
|
|
899
|
+
if (typeof pair.open !== 'string') {
|
|
900
|
+
console.warn(`[${langId}]: language configuration: expected \`surroundingPairs[${i}].open\` to be a string.`);
|
|
901
|
+
continue;
|
|
902
|
+
}
|
|
903
|
+
if (typeof pair.close !== 'string') {
|
|
904
|
+
console.warn(`[${langId}]: language configuration: expected \`surroundingPairs[${i}].close\` to be a string.`);
|
|
905
|
+
continue;
|
|
906
|
+
}
|
|
907
|
+
result = result || [];
|
|
908
|
+
result.push({ open: pair.open, close: pair.close });
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
return result;
|
|
912
|
+
}
|
|
913
|
+
};
|
|
914
|
+
exports.TheiaPluginScanner = TheiaPluginScanner;
|
|
915
|
+
exports.TheiaPluginScanner = TheiaPluginScanner = TheiaPluginScanner_1 = tslib_1.__decorate([
|
|
916
|
+
(0, inversify_1.injectable)(),
|
|
917
|
+
tslib_1.__metadata("design:paramtypes", [])
|
|
918
|
+
], TheiaPluginScanner);
|
|
919
|
+
function isCharacterPair(something) {
|
|
920
|
+
return ((0, types_1.isStringArray)(something)
|
|
921
|
+
&& something.length === 2);
|
|
922
|
+
}
|
|
923
|
+
//# sourceMappingURL=scanner-theia.js.map
|