@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,2220 @@
|
|
|
1
|
+
import { RPCProtocol } from './rpc-protocol';
|
|
2
|
+
import * as theia from '@theia/plugin';
|
|
3
|
+
import { PluginLifecycle, PluginModel, PluginMetadata, PluginPackage, IconUrl, PluginJsonValidationContribution } from './plugin-protocol';
|
|
4
|
+
import { QueryParameters } from './env';
|
|
5
|
+
import { TextEditorCursorStyle } from './editor-options';
|
|
6
|
+
import { ConfigurationTarget, TextEditorLineNumbersStyle, EndOfLine, OverviewRulerLane, FileOperationOptions, TextDocumentChangeReason, IndentAction, NotebookRendererScript } from '../plugin/types-impl';
|
|
7
|
+
import { UriComponents } from './uri-components';
|
|
8
|
+
import { SerializedDocumentFilter, CompletionContext, MarkdownString, Range, Completion, CompletionResultDto, MarkerData, SignatureHelp, Hover, EvaluatableExpression, InlineValue, InlineValueContext, DocumentHighlight, FormattingOptions, ChainedCacheId, Definition, DocumentLink, CodeLensSymbol, Command, TextEdit, DocumentSymbol, ReferenceContext, TextDocumentShowOptions, WorkspaceRootsChangeEvent, Location, Breakpoint, ColorPresentation, RenameLocation, SignatureHelpContext, CodeAction, CodeActionContext, FoldingContext, FoldingRange, SelectionRange, SearchInWorkspaceResult, CallHierarchyItem, CallHierarchyIncomingCall, CallHierarchyOutgoingCall, Comment, CommentOptions, CommentThreadState, CommentThreadCollapsibleState, CommentThread, CommentThreadChangedEvent, CodeActionProviderDocumentation, LinkedEditingRanges, ProvidedTerminalLink, InlayHint, CachedSession, CachedSessionItem, TypeHierarchyItem, InlineCompletion, InlineCompletions, InlineCompletionContext, DocumentDropEdit, DataTransferDTO, DocumentDropEditProviderMetadata, DebugStackFrameDTO, DebugThreadDTO } from './plugin-api-rpc-model';
|
|
9
|
+
import { ExtPluginApi } from './plugin-ext-api-contribution';
|
|
10
|
+
import { KeysToAnyValues, KeysToKeysToAnyValue } from './types';
|
|
11
|
+
import { AuthenticationProviderAuthenticationSessionsChangeEvent, CancellationToken, Progress, ProgressOptions } from '@theia/plugin';
|
|
12
|
+
import { DebuggerDescription } from '@theia/debug/lib/common/debug-service';
|
|
13
|
+
import { DebugProtocol } from '@vscode/debugprotocol';
|
|
14
|
+
import { SymbolInformation } from '@theia/core/shared/vscode-languageserver-protocol';
|
|
15
|
+
import * as files from '@theia/filesystem/lib/common/files';
|
|
16
|
+
import { BinaryBuffer } from '@theia/core/lib/common/buffer';
|
|
17
|
+
import { ResourceLabelFormatter } from '@theia/core/lib/common/label-protocol';
|
|
18
|
+
import type { InternalTimelineOptions, Timeline, TimelineChangeEvent, TimelineProviderDescriptor } from '@theia/timeline/lib/common/timeline-model';
|
|
19
|
+
import { SerializableEnvironmentVariableCollection } from '@theia/terminal/lib/common/shell-terminal-protocol';
|
|
20
|
+
import { ThemeType } from '@theia/core/lib/common/theme';
|
|
21
|
+
import { Disposable } from '@theia/core/lib/common/disposable';
|
|
22
|
+
import { QuickInputButtonHandle } from '@theia/core/lib/common';
|
|
23
|
+
import { Severity } from '@theia/core/lib/common/severity';
|
|
24
|
+
import { DebugConfiguration, DebugSessionOptions } from '@theia/debug/lib/common/debug-configuration';
|
|
25
|
+
import * as notebookCommon from '@theia/notebook/lib/common';
|
|
26
|
+
import { CellExecutionUpdateType, CellRange, NotebookCellExecutionState } from '@theia/notebook/lib/common';
|
|
27
|
+
import { LanguagePackBundle } from './language-pack-service';
|
|
28
|
+
import { AccessibilityInformation } from '@theia/core/lib/common/accessibility';
|
|
29
|
+
import { TreeDelta } from '@theia/test/lib/common/tree-delta';
|
|
30
|
+
import { TestItemDTO, TestOutputDTO, TestRunDTO, TestRunProfileDTO, TestRunRequestDTO, TestStateChangeDTO } from './test-types';
|
|
31
|
+
import { ArgumentProcessor } from './commands';
|
|
32
|
+
import { McpServerDefinitionRegistryMain, McpServerDefinitionRegistryExt } from './lm-protocol';
|
|
33
|
+
export interface PreferenceData {
|
|
34
|
+
[scope: number]: any;
|
|
35
|
+
}
|
|
36
|
+
export interface Plugin {
|
|
37
|
+
pluginPath: string | undefined;
|
|
38
|
+
pluginFolder: string;
|
|
39
|
+
pluginUri: string;
|
|
40
|
+
model: PluginModel;
|
|
41
|
+
rawModel: PluginPackage;
|
|
42
|
+
lifecycle: PluginLifecycle;
|
|
43
|
+
isUnderDevelopment: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface ConfigStorage {
|
|
46
|
+
hostLogPath: string;
|
|
47
|
+
hostStoragePath?: string;
|
|
48
|
+
hostGlobalStoragePath: string;
|
|
49
|
+
}
|
|
50
|
+
export declare enum UIKind {
|
|
51
|
+
/**
|
|
52
|
+
* Extensions are accessed from a desktop application.
|
|
53
|
+
*/
|
|
54
|
+
Desktop = 1,
|
|
55
|
+
/**
|
|
56
|
+
* Extensions are accessed from a web browser.
|
|
57
|
+
*/
|
|
58
|
+
Web = 2
|
|
59
|
+
}
|
|
60
|
+
export declare enum ExtensionKind {
|
|
61
|
+
/**
|
|
62
|
+
* Extension runs where the UI runs.
|
|
63
|
+
*/
|
|
64
|
+
UI = 1,
|
|
65
|
+
/**
|
|
66
|
+
* Extension runs where the remote extension host runs.
|
|
67
|
+
*/
|
|
68
|
+
Workspace = 2
|
|
69
|
+
}
|
|
70
|
+
export interface EnvInit {
|
|
71
|
+
queryParams: QueryParameters;
|
|
72
|
+
language: string;
|
|
73
|
+
shell: string;
|
|
74
|
+
uiKind: UIKind;
|
|
75
|
+
appName: string;
|
|
76
|
+
appHost: string;
|
|
77
|
+
appRoot: string;
|
|
78
|
+
appUriScheme: string;
|
|
79
|
+
}
|
|
80
|
+
export interface PluginAPI {
|
|
81
|
+
}
|
|
82
|
+
export declare const PluginManager: unique symbol;
|
|
83
|
+
export interface PluginManager {
|
|
84
|
+
getAllPlugins(): Plugin[];
|
|
85
|
+
getPluginById(pluginId: string): Plugin | undefined;
|
|
86
|
+
getPluginExport(pluginId: string): PluginAPI | undefined;
|
|
87
|
+
getPluginKind(): theia.ExtensionKind;
|
|
88
|
+
isRunning(pluginId: string): boolean;
|
|
89
|
+
isActive(pluginId: string): boolean;
|
|
90
|
+
activatePlugin(pluginId: string): PromiseLike<void>;
|
|
91
|
+
onDidChange: theia.Event<void>;
|
|
92
|
+
}
|
|
93
|
+
export interface PluginAPIFactory {
|
|
94
|
+
(plugin: Plugin): typeof theia;
|
|
95
|
+
}
|
|
96
|
+
export declare const emptyPlugin: Plugin;
|
|
97
|
+
export interface PluginManagerInitializeParams {
|
|
98
|
+
preferences: PreferenceData;
|
|
99
|
+
globalState: KeysToKeysToAnyValue;
|
|
100
|
+
workspaceState: KeysToKeysToAnyValue;
|
|
101
|
+
env: EnvInit;
|
|
102
|
+
pluginKind: ExtensionKind;
|
|
103
|
+
extApi?: ExtPluginApi[];
|
|
104
|
+
webview: WebviewInitData;
|
|
105
|
+
jsonValidation: PluginJsonValidationContribution[];
|
|
106
|
+
supportedActivationEvents?: string[];
|
|
107
|
+
}
|
|
108
|
+
export interface PluginManagerStartParams {
|
|
109
|
+
plugins: PluginMetadata[];
|
|
110
|
+
configStorage: ConfigStorage;
|
|
111
|
+
activationEvents: string[];
|
|
112
|
+
}
|
|
113
|
+
export interface AbstractPluginManagerExt<P extends Record<string, any>> {
|
|
114
|
+
/** initialize the manager, should be called only once */
|
|
115
|
+
$init(params: P): Promise<void>;
|
|
116
|
+
/** load and activate plugins */
|
|
117
|
+
$start(params: PluginManagerStartParams): Promise<void>;
|
|
118
|
+
/** deactivate the plugin */
|
|
119
|
+
$stop(pluginId: string): Promise<void>;
|
|
120
|
+
/** deactivate all plugins */
|
|
121
|
+
$stop(): Promise<void>;
|
|
122
|
+
$updateStoragePath(path: string | undefined): Promise<void>;
|
|
123
|
+
$activateByEvent(event: string): Promise<void>;
|
|
124
|
+
$activatePlugin(id: string): Promise<void>;
|
|
125
|
+
}
|
|
126
|
+
export interface PluginManagerExt extends AbstractPluginManagerExt<PluginManagerInitializeParams> {
|
|
127
|
+
}
|
|
128
|
+
export interface CommandRegistryMain {
|
|
129
|
+
$registerCommand(command: theia.CommandDescription): void;
|
|
130
|
+
$unregisterCommand(id: string): void;
|
|
131
|
+
$registerHandler(id: string): void;
|
|
132
|
+
$unregisterHandler(id: string): void;
|
|
133
|
+
$executeCommand<T>(id: string, ...args: any[]): PromiseLike<T | undefined>;
|
|
134
|
+
$getCommands(): PromiseLike<string[]>;
|
|
135
|
+
$getKeyBinding(commandId: string): PromiseLike<theia.CommandKeyBinding[] | undefined>;
|
|
136
|
+
registerArgumentProcessor(processor: ArgumentProcessor): void;
|
|
137
|
+
}
|
|
138
|
+
export interface CommandRegistryExt {
|
|
139
|
+
$executeCommand<T>(id: string, ...ars: any[]): PromiseLike<T | undefined>;
|
|
140
|
+
registerArgumentProcessor(processor: ArgumentProcessor): void;
|
|
141
|
+
}
|
|
142
|
+
export interface TerminalServiceExt {
|
|
143
|
+
$startProfile(providerId: string, cancellationToken: theia.CancellationToken): Promise<string>;
|
|
144
|
+
$terminalCreated(id: string, name: string): void;
|
|
145
|
+
$terminalNameChanged(id: string, name: string): void;
|
|
146
|
+
$terminalOpened(id: string, processId: number, terminalId: number, cols: number, rows: number): void;
|
|
147
|
+
$terminalClosed(id: string, exitStatus: theia.TerminalExitStatus | undefined): void;
|
|
148
|
+
$terminalOnInput(id: string, data: string): void;
|
|
149
|
+
$terminalSizeChanged(id: string, cols: number, rows: number): void;
|
|
150
|
+
$currentTerminalChanged(id: string | undefined): void;
|
|
151
|
+
$terminalOnInteraction(id: string): void;
|
|
152
|
+
$terminalShellTypeChanged(id: string, newShellType: string): void;
|
|
153
|
+
$initEnvironmentVariableCollections(collections: [string, string, boolean, SerializableEnvironmentVariableCollection][]): void;
|
|
154
|
+
$provideTerminalLinks(line: string, terminalId: string, token: theia.CancellationToken): Promise<ProvidedTerminalLink[]>;
|
|
155
|
+
$handleTerminalLink(link: ProvidedTerminalLink): Promise<void>;
|
|
156
|
+
getEnvironmentVariableCollection(extensionIdentifier: string): theia.GlobalEnvironmentVariableCollection;
|
|
157
|
+
$setShell(shell: string): void;
|
|
158
|
+
$reportOutputMatch(observerId: string, groups: string[]): void;
|
|
159
|
+
}
|
|
160
|
+
export interface OutputChannelRegistryExt {
|
|
161
|
+
createOutputChannel(name: string, pluginInfo: PluginInfo): theia.OutputChannel;
|
|
162
|
+
createOutputChannel(name: string, pluginInfo: PluginInfo, options: {
|
|
163
|
+
log: true;
|
|
164
|
+
}): theia.LogOutputChannel;
|
|
165
|
+
}
|
|
166
|
+
export interface ConnectionMain {
|
|
167
|
+
$createConnection(id: string): Promise<void>;
|
|
168
|
+
$deleteConnection(id: string): Promise<void>;
|
|
169
|
+
$sendMessage(id: string, message: string): void;
|
|
170
|
+
}
|
|
171
|
+
export interface ConnectionExt {
|
|
172
|
+
$createConnection(id: string): Promise<void>;
|
|
173
|
+
$deleteConnection(id: string): Promise<void>;
|
|
174
|
+
$sendMessage(id: string, message: string): void;
|
|
175
|
+
}
|
|
176
|
+
export interface TerminalServiceMain {
|
|
177
|
+
/**
|
|
178
|
+
* Create new Terminal with Terminal options.
|
|
179
|
+
* @param options - object with parameters to create new terminal.
|
|
180
|
+
*/
|
|
181
|
+
$createTerminal(id: string, options: TerminalOptions, parentId?: string, isPseudoTerminal?: boolean): Promise<string>;
|
|
182
|
+
/**
|
|
183
|
+
* Send text to the terminal by id.
|
|
184
|
+
* @param id - terminal widget id.
|
|
185
|
+
* @param text - text content.
|
|
186
|
+
* @param shouldExecute - in case true - Indicates that the text being sent should be executed rather than just inserted in the terminal.
|
|
187
|
+
*/
|
|
188
|
+
$sendText(id: string, text: string, shouldExecute?: boolean): void;
|
|
189
|
+
/**
|
|
190
|
+
* Write data to the terminal by id.
|
|
191
|
+
* @param id - terminal widget id.
|
|
192
|
+
* @param data - data.
|
|
193
|
+
*/
|
|
194
|
+
$write(id: string, data: string): void;
|
|
195
|
+
/**
|
|
196
|
+
* Resize the terminal by id.
|
|
197
|
+
* @param id - terminal widget id.
|
|
198
|
+
* @param cols - columns.
|
|
199
|
+
* @param rows - rows.
|
|
200
|
+
*/
|
|
201
|
+
$resize(id: string, cols: number, rows: number): void;
|
|
202
|
+
/**
|
|
203
|
+
* Show terminal on the UI panel.
|
|
204
|
+
* @param id - terminal widget id.
|
|
205
|
+
* @param preserveFocus - set terminal focus in case true value, and don't set focus otherwise.
|
|
206
|
+
*/
|
|
207
|
+
$show(id: string, preserveFocus?: boolean): void;
|
|
208
|
+
/**
|
|
209
|
+
* Hide UI panel where is located terminal widget.
|
|
210
|
+
* @param id - terminal widget id.
|
|
211
|
+
*/
|
|
212
|
+
$hide(id: string): void;
|
|
213
|
+
/**
|
|
214
|
+
* Destroy terminal.
|
|
215
|
+
* @param id - terminal widget id.
|
|
216
|
+
*/
|
|
217
|
+
$dispose(id: string): void;
|
|
218
|
+
/**
|
|
219
|
+
* Set the terminal widget name.
|
|
220
|
+
* @param id terminal widget id.
|
|
221
|
+
* @param name new terminal widget name.
|
|
222
|
+
*/
|
|
223
|
+
$setName(id: string, name: string): void;
|
|
224
|
+
/**
|
|
225
|
+
* Send text to the terminal by id.
|
|
226
|
+
* @param id - terminal id.
|
|
227
|
+
* @param text - text content.
|
|
228
|
+
* @param addNewLine - in case true - add new line after the text, otherwise - don't apply new line.
|
|
229
|
+
*/
|
|
230
|
+
$sendTextByTerminalId(id: number, text: string, addNewLine?: boolean): void;
|
|
231
|
+
/**
|
|
232
|
+
* Write data to the terminal by id.
|
|
233
|
+
* @param id - terminal id.
|
|
234
|
+
* @param data - data.
|
|
235
|
+
*/
|
|
236
|
+
$writeByTerminalId(id: number, data: string): void;
|
|
237
|
+
/**
|
|
238
|
+
* Resize the terminal by id.
|
|
239
|
+
* @param id - terminal id.
|
|
240
|
+
* @param cols - columns.
|
|
241
|
+
* @param rows - rows.
|
|
242
|
+
*/
|
|
243
|
+
$resizeByTerminalId(id: number, cols: number, rows: number): void;
|
|
244
|
+
/**
|
|
245
|
+
* Show terminal on the UI panel.
|
|
246
|
+
* @param id - terminal id.
|
|
247
|
+
* @param preserveFocus - set terminal focus in case true value, and don't set focus otherwise.
|
|
248
|
+
*/
|
|
249
|
+
$showByTerminalId(id: number, preserveFocus?: boolean): void;
|
|
250
|
+
/**
|
|
251
|
+
* Hide UI panel where is located terminal widget.
|
|
252
|
+
* @param id - terminal id.
|
|
253
|
+
*/
|
|
254
|
+
$hideByTerminalId(id: number): void;
|
|
255
|
+
/**
|
|
256
|
+
* Destroy terminal.
|
|
257
|
+
* @param id - terminal id.
|
|
258
|
+
* @param waitOnExit - Whether to wait for a key press before closing the terminal.
|
|
259
|
+
*/
|
|
260
|
+
$disposeByTerminalId(id: number, waitOnExit?: boolean | string): void;
|
|
261
|
+
$setEnvironmentVariableCollection(persistent: boolean, extensionIdentifier: string, rootUri: string, collection: SerializableEnvironmentVariableCollection): void;
|
|
262
|
+
/**
|
|
263
|
+
* Set the terminal widget name.
|
|
264
|
+
* @param id terminal id.
|
|
265
|
+
* @param name new terminal widget name.
|
|
266
|
+
*/
|
|
267
|
+
$setNameByTerminalId(id: number, name: string): void;
|
|
268
|
+
/**
|
|
269
|
+
* Register a new terminal link provider.
|
|
270
|
+
* @param providerId id of the terminal link provider to be registered.
|
|
271
|
+
*/
|
|
272
|
+
$registerTerminalLinkProvider(providerId: string): Promise<void>;
|
|
273
|
+
/**
|
|
274
|
+
* Unregister the terminal link provider with the specified id.
|
|
275
|
+
* @param providerId id of the terminal link provider to be unregistered.
|
|
276
|
+
*/
|
|
277
|
+
$unregisterTerminalLinkProvider(providerId: string): Promise<void>;
|
|
278
|
+
/**
|
|
279
|
+
* Register a new terminal observer.
|
|
280
|
+
* @param providerId id of the terminal link provider to be registered.
|
|
281
|
+
* @param nrOfLinesToMatch the number of lines to match the outputMatcherRegex against
|
|
282
|
+
* @param outputMatcherRegex the regex to match the output to
|
|
283
|
+
*/
|
|
284
|
+
$registerTerminalObserver(id: string, nrOfLinesToMatch: number, outputMatcherRegex: string): unknown;
|
|
285
|
+
/**
|
|
286
|
+
* Unregister the terminal observer with the specified id.
|
|
287
|
+
* @param providerId id of the terminal observer to be unregistered.
|
|
288
|
+
*/
|
|
289
|
+
$unregisterTerminalObserver(id: string): unknown;
|
|
290
|
+
}
|
|
291
|
+
export interface TerminalOptions extends theia.TerminalOptions {
|
|
292
|
+
iconUrl?: string | {
|
|
293
|
+
light: string;
|
|
294
|
+
dark: string;
|
|
295
|
+
} | ThemeIcon;
|
|
296
|
+
}
|
|
297
|
+
export interface AutoFocus {
|
|
298
|
+
autoFocusFirstEntry?: boolean;
|
|
299
|
+
}
|
|
300
|
+
export declare enum MainMessageType {
|
|
301
|
+
Error = 0,
|
|
302
|
+
Warning = 1,
|
|
303
|
+
Info = 2
|
|
304
|
+
}
|
|
305
|
+
export interface MainMessageOptions {
|
|
306
|
+
detail?: string;
|
|
307
|
+
modal?: boolean;
|
|
308
|
+
onCloseActionHandle?: number;
|
|
309
|
+
}
|
|
310
|
+
export interface MainMessageItem {
|
|
311
|
+
title: string;
|
|
312
|
+
isCloseAffordance?: boolean;
|
|
313
|
+
handle?: number;
|
|
314
|
+
}
|
|
315
|
+
export interface MessageRegistryMain {
|
|
316
|
+
$showMessage(type: MainMessageType, message: string, options: MainMessageOptions, actions: MainMessageItem[]): PromiseLike<number | undefined>;
|
|
317
|
+
}
|
|
318
|
+
export interface StatusBarMessageRegistryMain {
|
|
319
|
+
$setMessage(id: string, name: string | undefined, text: string | undefined, priority: number, alignment: theia.StatusBarAlignment, color: string | undefined, backgroundColor: string | undefined,
|
|
320
|
+
/** Value true indicates that the tooltip can be retrieved asynchronously */
|
|
321
|
+
tooltip: string | theia.MarkdownString | true | undefined, command: string | undefined, accessibilityInformation: theia.AccessibilityInformation, args: any[] | undefined): PromiseLike<void>;
|
|
322
|
+
$dispose(id: string): void;
|
|
323
|
+
}
|
|
324
|
+
export interface StatusBarMessageRegistryExt {
|
|
325
|
+
$getMessage(id: string, cancellation: CancellationToken): theia.ProviderResult<string | MarkdownString>;
|
|
326
|
+
}
|
|
327
|
+
export interface QuickOpenExt {
|
|
328
|
+
$onItemSelected(handle: number): void;
|
|
329
|
+
$validateInput(input: string): Promise<string | {
|
|
330
|
+
content: string;
|
|
331
|
+
severity: Severity;
|
|
332
|
+
} | null | undefined>;
|
|
333
|
+
$acceptOnDidAccept(sessionId: number): Promise<void>;
|
|
334
|
+
$acceptDidChangeValue(sessionId: number, changedValue: string): Promise<void>;
|
|
335
|
+
$acceptOnDidHide(sessionId: number): Promise<void>;
|
|
336
|
+
$acceptOnDidTriggerButton(sessionId: number, btn: QuickInputButtonHandle): Promise<void>;
|
|
337
|
+
$onDidTriggerItemButton(sessionId: number, itemHandle: number, buttonHandle: number): void;
|
|
338
|
+
$onDidChangeActive(sessionId: number, handles: number[]): void;
|
|
339
|
+
$onDidChangeSelection(sessionId: number, handles: number[]): void;
|
|
340
|
+
showQuickPick(plugin: Plugin, itemsOrItemsPromise: Array<theia.QuickPickItem> | Promise<Array<theia.QuickPickItem>>, options: theia.QuickPickOptions & {
|
|
341
|
+
canPickMany: true;
|
|
342
|
+
}, token?: theia.CancellationToken): Promise<Array<theia.QuickPickItem> | undefined>;
|
|
343
|
+
showQuickPick(plugin: Plugin, itemsOrItemsPromise: string[] | Promise<string[]>, options?: theia.QuickPickOptions, token?: theia.CancellationToken): Promise<string | undefined>;
|
|
344
|
+
showQuickPick(plugin: Plugin, itemsOrItemsPromise: Array<theia.QuickPickItem> | Promise<Array<theia.QuickPickItem>>, options?: theia.QuickPickOptions, token?: theia.CancellationToken): Promise<theia.QuickPickItem | undefined>;
|
|
345
|
+
showInput(options?: theia.InputBoxOptions, token?: theia.CancellationToken): PromiseLike<string | undefined>;
|
|
346
|
+
createQuickPick<T extends theia.QuickPickItem>(plugin: Plugin): theia.QuickPick<T>;
|
|
347
|
+
createInputBox(plugin: Plugin): theia.InputBox;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Options to configure the behaviour of a file open dialog.
|
|
351
|
+
*/
|
|
352
|
+
export interface OpenDialogOptionsMain {
|
|
353
|
+
/**
|
|
354
|
+
* Dialog title.
|
|
355
|
+
* This parameter might be ignored, as not all operating systems display a title on open dialogs.
|
|
356
|
+
*/
|
|
357
|
+
title?: string;
|
|
358
|
+
/**
|
|
359
|
+
* The resource the dialog shows when opened.
|
|
360
|
+
*/
|
|
361
|
+
defaultUri?: string;
|
|
362
|
+
/**
|
|
363
|
+
* A human-readable string for the open button.
|
|
364
|
+
*/
|
|
365
|
+
openLabel?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Allow to select files, defaults to `true`.
|
|
368
|
+
*/
|
|
369
|
+
canSelectFiles?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Allow to select folders, defaults to `false`.
|
|
372
|
+
*/
|
|
373
|
+
canSelectFolders?: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* Allow to select many files or folders.
|
|
376
|
+
*/
|
|
377
|
+
canSelectMany?: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* A set of file filters that are used by the dialog. Each entry is a human readable label,
|
|
380
|
+
* like "TypeScript", and an array of extensions, e.g.
|
|
381
|
+
* ```ts
|
|
382
|
+
* {
|
|
383
|
+
* 'Images': ['png', 'jpg']
|
|
384
|
+
* 'TypeScript': ['ts', 'tsx']
|
|
385
|
+
* }
|
|
386
|
+
* ```
|
|
387
|
+
*/
|
|
388
|
+
filters?: {
|
|
389
|
+
[name: string]: string[];
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Options to configure the behaviour of a file save dialog.
|
|
394
|
+
*/
|
|
395
|
+
export interface SaveDialogOptionsMain {
|
|
396
|
+
/**
|
|
397
|
+
* Dialog title.
|
|
398
|
+
* This parameter might be ignored, as not all operating systems display a title on save dialogs.
|
|
399
|
+
*/
|
|
400
|
+
title?: string;
|
|
401
|
+
/**
|
|
402
|
+
* The resource the dialog shows when opened.
|
|
403
|
+
*/
|
|
404
|
+
defaultUri?: string;
|
|
405
|
+
/**
|
|
406
|
+
* A human-readable string for the save button.
|
|
407
|
+
*/
|
|
408
|
+
saveLabel?: string;
|
|
409
|
+
/**
|
|
410
|
+
* A set of file filters that are used by the dialog. Each entry is a human readable label,
|
|
411
|
+
* like "TypeScript", and an array of extensions, e.g.
|
|
412
|
+
* ```ts
|
|
413
|
+
* {
|
|
414
|
+
* 'Images': ['png', 'jpg']
|
|
415
|
+
* 'TypeScript': ['ts', 'tsx']
|
|
416
|
+
* }
|
|
417
|
+
* ```
|
|
418
|
+
*/
|
|
419
|
+
filters?: {
|
|
420
|
+
[name: string]: string[];
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Options to configure the behaviour of a file upload dialog.
|
|
425
|
+
*/
|
|
426
|
+
export interface UploadDialogOptionsMain {
|
|
427
|
+
/**
|
|
428
|
+
* The resource, where files should be uploaded.
|
|
429
|
+
*/
|
|
430
|
+
defaultUri?: string;
|
|
431
|
+
}
|
|
432
|
+
export interface FileUploadResultMain {
|
|
433
|
+
uploaded: string[];
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Options to configure the behaviour of the [workspace folder](#WorkspaceFolder) pick UI.
|
|
437
|
+
*/
|
|
438
|
+
export interface WorkspaceFolderPickOptionsMain {
|
|
439
|
+
/**
|
|
440
|
+
* An optional string to show as place holder in the input box to guide the user what to pick on.
|
|
441
|
+
*/
|
|
442
|
+
placeHolder?: string;
|
|
443
|
+
/**
|
|
444
|
+
* Set to `true` to keep the picker open when focus moves to another part of the editor or to another window.
|
|
445
|
+
*/
|
|
446
|
+
ignoreFocusOut?: boolean;
|
|
447
|
+
}
|
|
448
|
+
export interface TransferQuickPickItem {
|
|
449
|
+
handle: number;
|
|
450
|
+
kind: 'item' | 'separator';
|
|
451
|
+
label: string;
|
|
452
|
+
iconUrl?: string | {
|
|
453
|
+
light: string;
|
|
454
|
+
dark: string;
|
|
455
|
+
} | ThemeIcon;
|
|
456
|
+
description?: string;
|
|
457
|
+
detail?: string;
|
|
458
|
+
picked?: boolean;
|
|
459
|
+
alwaysShow?: boolean;
|
|
460
|
+
buttons?: readonly TransferQuickInputButton[];
|
|
461
|
+
}
|
|
462
|
+
export interface TransferQuickPickOptions<T extends TransferQuickPickItem> {
|
|
463
|
+
title?: string;
|
|
464
|
+
placeHolder?: string;
|
|
465
|
+
matchOnDescription?: boolean;
|
|
466
|
+
matchOnDetail?: boolean;
|
|
467
|
+
matchOnLabel?: boolean;
|
|
468
|
+
autoFocusOnList?: boolean;
|
|
469
|
+
ignoreFocusLost?: boolean;
|
|
470
|
+
canPickMany?: boolean;
|
|
471
|
+
contextKey?: string;
|
|
472
|
+
activeItem?: Promise<T> | T;
|
|
473
|
+
onDidFocus?: (entry: T) => void;
|
|
474
|
+
}
|
|
475
|
+
export interface TransferQuickInputButton {
|
|
476
|
+
handle?: number;
|
|
477
|
+
readonly iconUrl?: string | {
|
|
478
|
+
light: string;
|
|
479
|
+
dark: string;
|
|
480
|
+
} | ThemeIcon;
|
|
481
|
+
readonly tooltip?: string | undefined;
|
|
482
|
+
}
|
|
483
|
+
export type TransferQuickInput = TransferQuickPick | TransferInputBox;
|
|
484
|
+
export interface BaseTransferQuickInput {
|
|
485
|
+
[key: string]: any;
|
|
486
|
+
id: number;
|
|
487
|
+
type?: 'quickPick' | 'inputBox';
|
|
488
|
+
enabled?: boolean;
|
|
489
|
+
busy?: boolean;
|
|
490
|
+
visible?: boolean;
|
|
491
|
+
}
|
|
492
|
+
export interface TransferQuickPick extends BaseTransferQuickInput {
|
|
493
|
+
type?: 'quickPick';
|
|
494
|
+
value?: string;
|
|
495
|
+
placeholder?: string;
|
|
496
|
+
buttons?: TransferQuickInputButton[];
|
|
497
|
+
items?: TransferQuickPickItem[];
|
|
498
|
+
activeItems?: ReadonlyArray<theia.QuickPickItem>;
|
|
499
|
+
selectedItems?: ReadonlyArray<theia.QuickPickItem>;
|
|
500
|
+
canSelectMany?: boolean;
|
|
501
|
+
ignoreFocusOut?: boolean;
|
|
502
|
+
matchOnDescription?: boolean;
|
|
503
|
+
matchOnDetail?: boolean;
|
|
504
|
+
sortByLabel?: boolean;
|
|
505
|
+
}
|
|
506
|
+
export interface TransferInputBox extends BaseTransferQuickInput {
|
|
507
|
+
type?: 'inputBox';
|
|
508
|
+
value?: string;
|
|
509
|
+
placeholder?: string;
|
|
510
|
+
password?: boolean;
|
|
511
|
+
buttons?: TransferQuickInputButton[];
|
|
512
|
+
prompt?: string;
|
|
513
|
+
validationMessage?: string;
|
|
514
|
+
}
|
|
515
|
+
export interface IInputBoxOptions {
|
|
516
|
+
value?: string;
|
|
517
|
+
valueSelection?: [number, number];
|
|
518
|
+
prompt?: string;
|
|
519
|
+
placeHolder?: string;
|
|
520
|
+
password?: boolean;
|
|
521
|
+
ignoreFocusOut?: boolean;
|
|
522
|
+
}
|
|
523
|
+
export interface QuickOpenMain {
|
|
524
|
+
$show(instance: number, options: TransferQuickPickOptions<TransferQuickPickItem>, token: CancellationToken): Promise<number | number[] | undefined>;
|
|
525
|
+
$setItems(instance: number, items: TransferQuickPickItem[]): Promise<any>;
|
|
526
|
+
$setError(instance: number, error: Error): Promise<void>;
|
|
527
|
+
$input(options: theia.InputBoxOptions, validateInput: boolean, token: CancellationToken): Promise<string | undefined>;
|
|
528
|
+
$createOrUpdate<T extends theia.QuickPickItem>(params: TransferQuickInput): Promise<void>;
|
|
529
|
+
$dispose(id: number): Promise<void>;
|
|
530
|
+
$hide(): void;
|
|
531
|
+
$showInputBox(options: TransferInputBox, validateInput: boolean): Promise<string | undefined>;
|
|
532
|
+
}
|
|
533
|
+
export interface FindFilesOptions {
|
|
534
|
+
exclude?: string;
|
|
535
|
+
useDefaultExcludes?: boolean;
|
|
536
|
+
useDefaultSearchExcludes?: boolean;
|
|
537
|
+
maxResults?: number;
|
|
538
|
+
useIgnoreFiles?: boolean;
|
|
539
|
+
fuzzy?: boolean;
|
|
540
|
+
}
|
|
541
|
+
export interface WorkspaceMain {
|
|
542
|
+
$pickWorkspaceFolder(options: WorkspaceFolderPickOptionsMain): Promise<theia.WorkspaceFolder | undefined>;
|
|
543
|
+
$startFileSearch(includePattern: string, includeFolder: string | undefined, options: FindFilesOptions, token: theia.CancellationToken): PromiseLike<UriComponents[]>;
|
|
544
|
+
$findTextInFiles(query: theia.TextSearchQuery, options: theia.FindTextInFilesOptions, searchRequestId: number, token?: theia.CancellationToken): Promise<theia.TextSearchComplete>;
|
|
545
|
+
$registerTextDocumentContentProvider(scheme: string): Promise<void>;
|
|
546
|
+
$unregisterTextDocumentContentProvider(scheme: string): void;
|
|
547
|
+
$onTextDocumentContentChange(uri: string, content: string): void;
|
|
548
|
+
$updateWorkspaceFolders(start: number, deleteCount?: number, ...rootsToAdd: string[]): Promise<void>;
|
|
549
|
+
$getWorkspace(): Promise<files.FileStat | undefined>;
|
|
550
|
+
$requestWorkspaceTrust(options?: theia.WorkspaceTrustRequestOptions): Promise<boolean | undefined>;
|
|
551
|
+
$resolveProxy(url: string): Promise<string | undefined>;
|
|
552
|
+
$registerCanonicalUriProvider(scheme: string): Promise<void | undefined>;
|
|
553
|
+
$unregisterCanonicalUriProvider(scheme: string): void;
|
|
554
|
+
$getCanonicalUri(uri: string, targetScheme: string, token: theia.CancellationToken): Promise<string | undefined>;
|
|
555
|
+
$resolveDecoding(resource: UriComponents | undefined, options?: {
|
|
556
|
+
encoding?: string;
|
|
557
|
+
}): Promise<{
|
|
558
|
+
preferredEncoding: string;
|
|
559
|
+
guessEncoding: boolean;
|
|
560
|
+
}>;
|
|
561
|
+
$resolveEncoding(resource: UriComponents | undefined, options?: {
|
|
562
|
+
encoding?: string;
|
|
563
|
+
}): Promise<{
|
|
564
|
+
encoding: string;
|
|
565
|
+
hasBOM: boolean;
|
|
566
|
+
}>;
|
|
567
|
+
$getValidEncoding(uri: UriComponents | undefined, detectedEncoding: string | undefined, opts: {
|
|
568
|
+
encoding: string;
|
|
569
|
+
} | undefined): Promise<string>;
|
|
570
|
+
}
|
|
571
|
+
export interface WorkspaceExt {
|
|
572
|
+
$onWorkspaceFoldersChanged(event: WorkspaceRootsChangeEvent): void;
|
|
573
|
+
$onWorkspaceLocationChanged(event: files.FileStat | undefined): void;
|
|
574
|
+
$provideTextDocumentContent(uri: string): Promise<string | undefined | null>;
|
|
575
|
+
$onTextSearchResult(searchRequestId: number, done: boolean, result?: SearchInWorkspaceResult): void;
|
|
576
|
+
$onWorkspaceTrustChanged(trust: boolean | undefined): void;
|
|
577
|
+
$registerEditSessionIdentityProvider(scheme: string, provider: theia.EditSessionIdentityProvider): theia.Disposable;
|
|
578
|
+
registerCanonicalUriProvider(scheme: string, provider: theia.CanonicalUriProvider): theia.Disposable;
|
|
579
|
+
$disposeCanonicalUriProvider(scheme: string): void;
|
|
580
|
+
getCanonicalUri(uri: theia.Uri, options: theia.CanonicalUriRequestOptions, token: CancellationToken): theia.ProviderResult<theia.Uri>;
|
|
581
|
+
$provideCanonicalUri(uri: string, targetScheme: string, token: CancellationToken): Promise<string | undefined>;
|
|
582
|
+
}
|
|
583
|
+
export interface TimelineExt {
|
|
584
|
+
$getTimeline(source: string, uri: UriComponents, options: theia.TimelineOptions, internalOptions?: InternalTimelineOptions): Promise<Timeline | undefined>;
|
|
585
|
+
}
|
|
586
|
+
export interface TimelineMain {
|
|
587
|
+
$registerTimelineProvider(provider: TimelineProviderDescriptor): Promise<void>;
|
|
588
|
+
$fireTimelineChanged(e: TimelineChangeEvent): Promise<void>;
|
|
589
|
+
$unregisterTimelineProvider(source: string): Promise<void>;
|
|
590
|
+
}
|
|
591
|
+
export interface ThemingExt {
|
|
592
|
+
$onColorThemeChange(type: ThemeType): void;
|
|
593
|
+
}
|
|
594
|
+
export interface ThemingMain extends Disposable {
|
|
595
|
+
}
|
|
596
|
+
export interface DialogsMain {
|
|
597
|
+
$showOpenDialog(options: OpenDialogOptionsMain): Promise<string[] | undefined>;
|
|
598
|
+
$showSaveDialog(options: SaveDialogOptionsMain): Promise<string | undefined>;
|
|
599
|
+
$showUploadDialog(options: UploadDialogOptionsMain): Promise<string[] | undefined>;
|
|
600
|
+
}
|
|
601
|
+
export interface RegisterTreeDataProviderOptions {
|
|
602
|
+
manageCheckboxStateManually?: boolean;
|
|
603
|
+
showCollapseAll?: boolean;
|
|
604
|
+
canSelectMany?: boolean;
|
|
605
|
+
dragMimeTypes?: string[];
|
|
606
|
+
dropMimeTypes?: string[];
|
|
607
|
+
}
|
|
608
|
+
export interface TreeViewRevealOptions {
|
|
609
|
+
readonly select: boolean;
|
|
610
|
+
readonly focus: boolean;
|
|
611
|
+
readonly expand: boolean | number;
|
|
612
|
+
}
|
|
613
|
+
export interface TreeViewsMain {
|
|
614
|
+
$registerTreeDataProvider(treeViewId: string, options?: RegisterTreeDataProviderOptions): void;
|
|
615
|
+
$readDroppedFile(contentId: string): Promise<BinaryBuffer>;
|
|
616
|
+
$unregisterTreeDataProvider(treeViewId: string): void;
|
|
617
|
+
$refresh(treeViewId: string, itemIds?: string[]): Promise<void>;
|
|
618
|
+
$reveal(treeViewId: string, elementParentChain: string[], options: TreeViewRevealOptions): Promise<any>;
|
|
619
|
+
$setMessage(treeViewId: string, message: string): void;
|
|
620
|
+
$setTitle(treeViewId: string, title: string): void;
|
|
621
|
+
$setDescription(treeViewId: string, description: string): void;
|
|
622
|
+
$setBadge(treeViewId: string, badge: theia.ViewBadge | undefined): void;
|
|
623
|
+
}
|
|
624
|
+
export declare class DataTransferFileDTO {
|
|
625
|
+
readonly name: string;
|
|
626
|
+
readonly contentId: string;
|
|
627
|
+
readonly uri?: UriComponents | undefined;
|
|
628
|
+
constructor(name: string, contentId: string, uri?: UriComponents | undefined);
|
|
629
|
+
static is(value: string | DataTransferFileDTO): value is DataTransferFileDTO;
|
|
630
|
+
}
|
|
631
|
+
export interface TreeViewsExt {
|
|
632
|
+
$checkStateChanged(treeViewId: string, itemIds: {
|
|
633
|
+
id: string;
|
|
634
|
+
checked: boolean;
|
|
635
|
+
}[]): Promise<void>;
|
|
636
|
+
$dragStarted(treeViewId: string, treeItemIds: string[], token: CancellationToken): Promise<UriComponents[] | undefined>;
|
|
637
|
+
$dragEnd(treeViewId: string): Promise<void>;
|
|
638
|
+
$drop(treeViewId: string, treeItemId: string | undefined, dataTransferItems: [string, string | DataTransferFileDTO][], token: CancellationToken): Promise<void>;
|
|
639
|
+
$getChildren(treeViewId: string, treeItemId: string | undefined): Promise<TreeViewItem[] | undefined>;
|
|
640
|
+
$hasResolveTreeItem(treeViewId: string): Promise<boolean>;
|
|
641
|
+
$resolveTreeItem(treeViewId: string, treeItemId: string, token: CancellationToken): Promise<TreeViewItem | undefined>;
|
|
642
|
+
$setExpanded(treeViewId: string, treeItemId: string, expanded: boolean): Promise<any>;
|
|
643
|
+
$setSelection(treeViewId: string, treeItemIds: string[]): Promise<void>;
|
|
644
|
+
$setVisible(treeViewId: string, visible: boolean): Promise<void>;
|
|
645
|
+
}
|
|
646
|
+
export interface TreeViewItemCheckboxInfo {
|
|
647
|
+
checked: boolean;
|
|
648
|
+
tooltip?: string;
|
|
649
|
+
accessibilityInformation?: AccessibilityInformation;
|
|
650
|
+
}
|
|
651
|
+
export interface TreeViewItem {
|
|
652
|
+
id: string;
|
|
653
|
+
label: string;
|
|
654
|
+
/** Label highlights given as tuples of inclusive start index and exclusive end index. */
|
|
655
|
+
highlights?: [number, number][];
|
|
656
|
+
description?: string | boolean;
|
|
657
|
+
icon?: string;
|
|
658
|
+
iconUrl?: IconUrl;
|
|
659
|
+
themeIcon?: ThemeIcon;
|
|
660
|
+
resourceUri?: UriComponents;
|
|
661
|
+
tooltip?: string | MarkdownString;
|
|
662
|
+
collapsibleState?: TreeViewItemCollapsibleState;
|
|
663
|
+
checkboxInfo?: TreeViewItemCheckboxInfo;
|
|
664
|
+
contextValue?: string;
|
|
665
|
+
command?: Command;
|
|
666
|
+
accessibilityInformation?: theia.AccessibilityInformation;
|
|
667
|
+
}
|
|
668
|
+
export interface TreeViewItemReference {
|
|
669
|
+
viewId: string;
|
|
670
|
+
itemId: string;
|
|
671
|
+
}
|
|
672
|
+
export declare namespace TreeViewItemReference {
|
|
673
|
+
function is(arg: unknown): arg is TreeViewItemReference;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Collapsible state of the tree item
|
|
677
|
+
*/
|
|
678
|
+
export declare enum TreeViewItemCollapsibleState {
|
|
679
|
+
/**
|
|
680
|
+
* Determines an item can be neither collapsed nor expanded. Implies it has no children.
|
|
681
|
+
*/
|
|
682
|
+
None = 0,
|
|
683
|
+
/**
|
|
684
|
+
* Determines an item is collapsed
|
|
685
|
+
*/
|
|
686
|
+
Collapsed = 1,
|
|
687
|
+
/**
|
|
688
|
+
* Determines an item is expanded
|
|
689
|
+
*/
|
|
690
|
+
Expanded = 2
|
|
691
|
+
}
|
|
692
|
+
export interface WindowMain {
|
|
693
|
+
$openUri(uri: UriComponents): Promise<boolean>;
|
|
694
|
+
$asExternalUri(uri: UriComponents): Promise<UriComponents>;
|
|
695
|
+
}
|
|
696
|
+
export interface WindowStateExt {
|
|
697
|
+
$onDidChangeWindowFocus(focused: boolean): void;
|
|
698
|
+
$onDidChangeWindowActive(active: boolean): void;
|
|
699
|
+
}
|
|
700
|
+
export interface NotificationExt {
|
|
701
|
+
withProgress<R>(options: ProgressOptions, task: (progress: Progress<{
|
|
702
|
+
message?: string;
|
|
703
|
+
increment?: number;
|
|
704
|
+
}>, token: CancellationToken) => PromiseLike<R>): PromiseLike<R>;
|
|
705
|
+
$acceptProgressCanceled(progressId: string): void;
|
|
706
|
+
}
|
|
707
|
+
export interface ScmCommandArg {
|
|
708
|
+
sourceControlHandle: number;
|
|
709
|
+
resourceGroupHandle?: number;
|
|
710
|
+
resourceStateHandle?: number;
|
|
711
|
+
}
|
|
712
|
+
export declare namespace ScmCommandArg {
|
|
713
|
+
function is(arg: unknown): arg is ScmCommandArg;
|
|
714
|
+
}
|
|
715
|
+
export interface ScmExt {
|
|
716
|
+
createSourceControl(plugin: Plugin, id: string, label: string, rootUri?: theia.Uri): theia.SourceControl;
|
|
717
|
+
getLastInputBox(plugin: Plugin): theia.SourceControlInputBox | undefined;
|
|
718
|
+
$onInputBoxValueChange(sourceControlHandle: number, message: string): Promise<void>;
|
|
719
|
+
$executeResourceCommand(sourceControlHandle: number, groupHandle: number, resourceHandle: number): Promise<void>;
|
|
720
|
+
$validateInput(sourceControlHandle: number, value: string, cursorPosition: number): Promise<[string, number] | undefined>;
|
|
721
|
+
$setSelectedSourceControl(selectedSourceControlHandle: number | undefined): Promise<void>;
|
|
722
|
+
$provideOriginalResource(sourceControlHandle: number, uri: string, token: theia.CancellationToken): Promise<UriComponents | undefined>;
|
|
723
|
+
}
|
|
724
|
+
export declare namespace TimelineCommandArg {
|
|
725
|
+
function is(arg: unknown): arg is TimelineCommandArg;
|
|
726
|
+
}
|
|
727
|
+
export interface TimelineCommandArg {
|
|
728
|
+
timelineHandle: string;
|
|
729
|
+
source: string;
|
|
730
|
+
uri: string;
|
|
731
|
+
}
|
|
732
|
+
export interface DecorationRequest {
|
|
733
|
+
readonly id: number;
|
|
734
|
+
readonly uri: UriComponents;
|
|
735
|
+
}
|
|
736
|
+
export type DecorationData = [boolean, string, string, ThemeColor];
|
|
737
|
+
export interface DecorationReply {
|
|
738
|
+
[id: number]: DecorationData;
|
|
739
|
+
}
|
|
740
|
+
export declare namespace CommentsCommandArg {
|
|
741
|
+
function is(arg: unknown): arg is CommentsCommandArg;
|
|
742
|
+
}
|
|
743
|
+
export interface CommentsCommandArg {
|
|
744
|
+
commentControlHandle: number;
|
|
745
|
+
commentThreadHandle: number;
|
|
746
|
+
text: string;
|
|
747
|
+
}
|
|
748
|
+
export declare namespace CommentsContextCommandArg {
|
|
749
|
+
function is(arg: unknown): arg is CommentsContextCommandArg;
|
|
750
|
+
}
|
|
751
|
+
export interface CommentsContextCommandArg {
|
|
752
|
+
commentControlHandle: number;
|
|
753
|
+
commentThreadHandle: number;
|
|
754
|
+
commentUniqueId: number;
|
|
755
|
+
}
|
|
756
|
+
export declare namespace CommentsEditCommandArg {
|
|
757
|
+
function is(arg: unknown): arg is CommentsEditCommandArg;
|
|
758
|
+
}
|
|
759
|
+
export interface CommentsEditCommandArg {
|
|
760
|
+
commentControlHandle: number;
|
|
761
|
+
commentThreadHandle: number;
|
|
762
|
+
commentUniqueId: number;
|
|
763
|
+
text: string;
|
|
764
|
+
}
|
|
765
|
+
export interface DecorationsExt {
|
|
766
|
+
registerFileDecorationProvider(provider: theia.FileDecorationProvider, pluginInfo: PluginInfo): theia.Disposable;
|
|
767
|
+
$provideDecorations(handle: number, requests: DecorationRequest[], token: CancellationToken): Promise<DecorationReply>;
|
|
768
|
+
}
|
|
769
|
+
export interface DecorationsMain {
|
|
770
|
+
$registerDecorationProvider(handle: number): Promise<void>;
|
|
771
|
+
$unregisterDecorationProvider(handle: number): void;
|
|
772
|
+
$onDidChange(handle: number, resources: UriComponents[] | null): void;
|
|
773
|
+
}
|
|
774
|
+
export interface ScmMain {
|
|
775
|
+
$registerSourceControl(sourceControlHandle: number, id: string, label: string, rootUri?: UriComponents): Promise<void>;
|
|
776
|
+
$updateSourceControl(sourceControlHandle: number, features: SourceControlProviderFeatures): Promise<void>;
|
|
777
|
+
$unregisterSourceControl(sourceControlHandle: number): Promise<void>;
|
|
778
|
+
$registerGroups(sourceControlHandle: number, groups: ScmRawResourceGroup[], splices: ScmRawResourceSplices[]): void;
|
|
779
|
+
$updateGroup(sourceControlHandle: number, groupHandle: number, features: SourceControlGroupFeatures): void;
|
|
780
|
+
$updateGroupLabel(sourceControlHandle: number, groupHandle: number, label: string): void;
|
|
781
|
+
$unregisterGroup(sourceControlHandle: number, groupHandle: number): void;
|
|
782
|
+
$spliceResourceStates(sourceControlHandle: number, splices: ScmRawResourceSplices[]): void;
|
|
783
|
+
$setInputBoxValue(sourceControlHandle: number, value: string): void;
|
|
784
|
+
$setInputBoxPlaceholder(sourceControlHandle: number, placeholder: string): void;
|
|
785
|
+
$setInputBoxVisible(sourceControlHandle: number, visible: boolean): void;
|
|
786
|
+
$setInputBoxEnabled(sourceControlHandle: number, enabled: boolean): void;
|
|
787
|
+
}
|
|
788
|
+
export interface SourceControlProviderFeatures {
|
|
789
|
+
hasQuickDiffProvider?: boolean;
|
|
790
|
+
count?: number;
|
|
791
|
+
commitTemplate?: string;
|
|
792
|
+
acceptInputCommand?: Command;
|
|
793
|
+
statusBarCommands?: Command[];
|
|
794
|
+
}
|
|
795
|
+
export interface SourceControlGroupFeatures {
|
|
796
|
+
hideWhenEmpty: boolean | undefined;
|
|
797
|
+
contextValue: string | undefined;
|
|
798
|
+
}
|
|
799
|
+
export interface ScmRawResource {
|
|
800
|
+
handle: number;
|
|
801
|
+
sourceUri: UriComponents;
|
|
802
|
+
icons: (IconUrl | ThemeIcon | undefined)[];
|
|
803
|
+
tooltip: string;
|
|
804
|
+
strikeThrough: boolean;
|
|
805
|
+
faded: boolean;
|
|
806
|
+
contextValue: string;
|
|
807
|
+
command: Command | undefined;
|
|
808
|
+
}
|
|
809
|
+
export interface ScmRawResourceGroup {
|
|
810
|
+
handle: number;
|
|
811
|
+
id: string;
|
|
812
|
+
label: string;
|
|
813
|
+
features: SourceControlGroupFeatures;
|
|
814
|
+
}
|
|
815
|
+
export interface ScmRawResourceSplice {
|
|
816
|
+
start: number;
|
|
817
|
+
deleteCount: number;
|
|
818
|
+
rawResources: ScmRawResource[];
|
|
819
|
+
}
|
|
820
|
+
export interface ScmRawResourceSplices {
|
|
821
|
+
handle: number;
|
|
822
|
+
splices: ScmRawResourceSplice[];
|
|
823
|
+
}
|
|
824
|
+
export interface SourceControlResourceState {
|
|
825
|
+
readonly handle: number;
|
|
826
|
+
/**
|
|
827
|
+
* The uri of the underlying resource inside the workspace.
|
|
828
|
+
*/
|
|
829
|
+
readonly resourceUri: string;
|
|
830
|
+
/**
|
|
831
|
+
* The command which should be run when the resource
|
|
832
|
+
* state is open in the Source Control viewlet.
|
|
833
|
+
*/
|
|
834
|
+
readonly command?: Command;
|
|
835
|
+
/**
|
|
836
|
+
* The decorations for this source control
|
|
837
|
+
* resource state.
|
|
838
|
+
*/
|
|
839
|
+
readonly decorations?: SourceControlResourceDecorations;
|
|
840
|
+
readonly letter?: string;
|
|
841
|
+
readonly colorId?: string;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* The decorations for a [source control resource state](#SourceControlResourceState).
|
|
845
|
+
* Can be independently specified for light and dark themes.
|
|
846
|
+
*/
|
|
847
|
+
export interface SourceControlResourceDecorations {
|
|
848
|
+
/**
|
|
849
|
+
* Whether the source control resource state should be striked-through in the UI.
|
|
850
|
+
*/
|
|
851
|
+
readonly strikeThrough?: boolean;
|
|
852
|
+
/**
|
|
853
|
+
* Whether the source control resource state should be faded in the UI.
|
|
854
|
+
*/
|
|
855
|
+
readonly faded?: boolean;
|
|
856
|
+
/**
|
|
857
|
+
* The title for a specific source control resource state.
|
|
858
|
+
*/
|
|
859
|
+
readonly tooltip?: string;
|
|
860
|
+
/**
|
|
861
|
+
* The icon path for a specific source control resource state.
|
|
862
|
+
*/
|
|
863
|
+
readonly iconPath?: string;
|
|
864
|
+
}
|
|
865
|
+
export interface NotificationMain {
|
|
866
|
+
$startProgress(options: NotificationMain.StartProgressOptions): Promise<string>;
|
|
867
|
+
$stopProgress(id: string): void;
|
|
868
|
+
$updateProgress(id: string, report: NotificationMain.ProgressReport): void;
|
|
869
|
+
}
|
|
870
|
+
export declare namespace NotificationMain {
|
|
871
|
+
interface StartProgressOptions {
|
|
872
|
+
title: string;
|
|
873
|
+
location?: string;
|
|
874
|
+
cancellable?: boolean;
|
|
875
|
+
}
|
|
876
|
+
interface ProgressReport {
|
|
877
|
+
message?: string;
|
|
878
|
+
increment?: number;
|
|
879
|
+
total?: number;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
export declare enum EditorPosition {
|
|
883
|
+
ONE = 0,
|
|
884
|
+
TWO = 1,
|
|
885
|
+
THREE = 2,
|
|
886
|
+
FOUR = 3,
|
|
887
|
+
FIVE = 4,
|
|
888
|
+
SIX = 5,
|
|
889
|
+
SEVEN = 6,
|
|
890
|
+
EIGHT = 7,
|
|
891
|
+
NINE = 8
|
|
892
|
+
}
|
|
893
|
+
export interface Position {
|
|
894
|
+
readonly lineNumber: number;
|
|
895
|
+
readonly column: number;
|
|
896
|
+
}
|
|
897
|
+
export interface Selection {
|
|
898
|
+
/**
|
|
899
|
+
* The line number on which the selection has started.
|
|
900
|
+
*/
|
|
901
|
+
readonly selectionStartLineNumber: number;
|
|
902
|
+
/**
|
|
903
|
+
* The column on `selectionStartLineNumber` where the selection has started.
|
|
904
|
+
*/
|
|
905
|
+
readonly selectionStartColumn: number;
|
|
906
|
+
/**
|
|
907
|
+
* The line number on which the selection has ended.
|
|
908
|
+
*/
|
|
909
|
+
readonly positionLineNumber: number;
|
|
910
|
+
/**
|
|
911
|
+
* The column on `positionLineNumber` where the selection has ended.
|
|
912
|
+
*/
|
|
913
|
+
readonly positionColumn: number;
|
|
914
|
+
}
|
|
915
|
+
export interface TextEditorConfiguration {
|
|
916
|
+
tabSize: number;
|
|
917
|
+
indentSize: number;
|
|
918
|
+
insertSpaces: boolean;
|
|
919
|
+
cursorStyle: TextEditorCursorStyle;
|
|
920
|
+
lineNumbers: TextEditorLineNumbersStyle;
|
|
921
|
+
}
|
|
922
|
+
export interface TextEditorConfigurationUpdate {
|
|
923
|
+
tabSize?: number | 'auto';
|
|
924
|
+
indentSize?: number | 'tabSize';
|
|
925
|
+
insertSpaces?: boolean | 'auto';
|
|
926
|
+
cursorStyle?: TextEditorCursorStyle;
|
|
927
|
+
lineNumbers?: TextEditorLineNumbersStyle;
|
|
928
|
+
}
|
|
929
|
+
export declare enum TextEditorRevealType {
|
|
930
|
+
Default = 0,
|
|
931
|
+
InCenter = 1,
|
|
932
|
+
InCenterIfOutsideViewport = 2,
|
|
933
|
+
AtTop = 3
|
|
934
|
+
}
|
|
935
|
+
export interface SelectionChangeEvent {
|
|
936
|
+
selections: Selection[];
|
|
937
|
+
source?: string;
|
|
938
|
+
}
|
|
939
|
+
export interface EditorChangedPropertiesData {
|
|
940
|
+
options?: TextEditorConfiguration;
|
|
941
|
+
selections?: SelectionChangeEvent;
|
|
942
|
+
visibleRanges?: Range[];
|
|
943
|
+
}
|
|
944
|
+
export interface TextEditorPositionData {
|
|
945
|
+
[id: string]: EditorPosition;
|
|
946
|
+
}
|
|
947
|
+
export interface TextEditorsExt {
|
|
948
|
+
$acceptEditorPropertiesChanged(id: string, props: EditorChangedPropertiesData): void;
|
|
949
|
+
$acceptEditorPositionData(data: TextEditorPositionData): void;
|
|
950
|
+
}
|
|
951
|
+
export interface SingleEditOperation {
|
|
952
|
+
range?: Range;
|
|
953
|
+
text?: string;
|
|
954
|
+
forceMoveMarkers?: boolean;
|
|
955
|
+
}
|
|
956
|
+
export interface UndoStopOptions {
|
|
957
|
+
undoStopBefore: boolean;
|
|
958
|
+
undoStopAfter: boolean;
|
|
959
|
+
}
|
|
960
|
+
export interface ApplyEditsOptions extends UndoStopOptions {
|
|
961
|
+
setEndOfLine: EndOfLine | undefined;
|
|
962
|
+
}
|
|
963
|
+
export interface SnippetEditOptions extends UndoStopOptions {
|
|
964
|
+
keepWhitespace?: boolean;
|
|
965
|
+
}
|
|
966
|
+
export interface ThemeColor {
|
|
967
|
+
id: string;
|
|
968
|
+
}
|
|
969
|
+
export interface ThemeIcon {
|
|
970
|
+
id: string;
|
|
971
|
+
color?: ThemeColor;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Describes the behavior of decorations when typing/editing near their edges.
|
|
975
|
+
*/
|
|
976
|
+
export declare enum TrackedRangeStickiness {
|
|
977
|
+
AlwaysGrowsWhenTypingAtEdges = 0,
|
|
978
|
+
NeverGrowsWhenTypingAtEdges = 1,
|
|
979
|
+
GrowsOnlyWhenTypingBefore = 2,
|
|
980
|
+
GrowsOnlyWhenTypingAfter = 3
|
|
981
|
+
}
|
|
982
|
+
export interface ContentDecorationRenderOptions {
|
|
983
|
+
contentText?: string;
|
|
984
|
+
contentIconPath?: UriComponents;
|
|
985
|
+
border?: string;
|
|
986
|
+
borderColor?: string | ThemeColor;
|
|
987
|
+
fontStyle?: string;
|
|
988
|
+
fontWeight?: string;
|
|
989
|
+
textDecoration?: string;
|
|
990
|
+
color?: string | ThemeColor;
|
|
991
|
+
backgroundColor?: string | ThemeColor;
|
|
992
|
+
margin?: string;
|
|
993
|
+
width?: string;
|
|
994
|
+
height?: string;
|
|
995
|
+
}
|
|
996
|
+
export interface ThemeDecorationRenderOptions {
|
|
997
|
+
backgroundColor?: string | ThemeColor;
|
|
998
|
+
outline?: string;
|
|
999
|
+
outlineColor?: string | ThemeColor;
|
|
1000
|
+
outlineStyle?: string;
|
|
1001
|
+
outlineWidth?: string;
|
|
1002
|
+
border?: string;
|
|
1003
|
+
borderColor?: string | ThemeColor;
|
|
1004
|
+
borderRadius?: string;
|
|
1005
|
+
borderSpacing?: string;
|
|
1006
|
+
borderStyle?: string;
|
|
1007
|
+
borderWidth?: string;
|
|
1008
|
+
fontStyle?: string;
|
|
1009
|
+
fontWeight?: string;
|
|
1010
|
+
textDecoration?: string;
|
|
1011
|
+
cursor?: string;
|
|
1012
|
+
color?: string | ThemeColor;
|
|
1013
|
+
opacity?: string;
|
|
1014
|
+
letterSpacing?: string;
|
|
1015
|
+
gutterIconPath?: UriComponents;
|
|
1016
|
+
gutterIconSize?: string;
|
|
1017
|
+
overviewRulerColor?: string | ThemeColor;
|
|
1018
|
+
before?: ContentDecorationRenderOptions;
|
|
1019
|
+
after?: ContentDecorationRenderOptions;
|
|
1020
|
+
}
|
|
1021
|
+
export interface DecorationRenderOptions extends ThemeDecorationRenderOptions {
|
|
1022
|
+
isWholeLine?: boolean;
|
|
1023
|
+
rangeBehavior?: TrackedRangeStickiness;
|
|
1024
|
+
overviewRulerLane?: OverviewRulerLane;
|
|
1025
|
+
light?: ThemeDecorationRenderOptions;
|
|
1026
|
+
dark?: ThemeDecorationRenderOptions;
|
|
1027
|
+
}
|
|
1028
|
+
export interface ThemeDecorationInstanceRenderOptions {
|
|
1029
|
+
before?: ContentDecorationRenderOptions;
|
|
1030
|
+
after?: ContentDecorationRenderOptions;
|
|
1031
|
+
}
|
|
1032
|
+
export interface DecorationInstanceRenderOptions extends ThemeDecorationInstanceRenderOptions {
|
|
1033
|
+
light?: ThemeDecorationInstanceRenderOptions;
|
|
1034
|
+
dark?: ThemeDecorationInstanceRenderOptions;
|
|
1035
|
+
}
|
|
1036
|
+
export interface DecorationOptions {
|
|
1037
|
+
range: Range;
|
|
1038
|
+
hoverMessage?: MarkdownString | MarkdownString[];
|
|
1039
|
+
renderOptions?: DecorationInstanceRenderOptions;
|
|
1040
|
+
}
|
|
1041
|
+
export interface TextEditorsMain {
|
|
1042
|
+
$tryShowTextDocument(uri: UriComponents, options?: TextDocumentShowOptions): Promise<void>;
|
|
1043
|
+
$registerTextEditorDecorationType(key: string, options: DecorationRenderOptions): void;
|
|
1044
|
+
$removeTextEditorDecorationType(key: string): void;
|
|
1045
|
+
$tryHideEditor(id: string): Promise<void>;
|
|
1046
|
+
$trySetOptions(id: string, options: TextEditorConfigurationUpdate): Promise<void>;
|
|
1047
|
+
$trySetDecorations(id: string, key: string, ranges: DecorationOptions[]): Promise<void>;
|
|
1048
|
+
$trySetDecorationsFast(id: string, key: string, ranges: number[]): Promise<void>;
|
|
1049
|
+
$tryRevealRange(id: string, range: Range, revealType: TextEditorRevealType): Promise<void>;
|
|
1050
|
+
$trySetSelections(id: string, selections: Selection[]): Promise<void>;
|
|
1051
|
+
$tryApplyEdits(id: string, modelVersionId: number, edits: SingleEditOperation[], opts: ApplyEditsOptions): Promise<boolean>;
|
|
1052
|
+
$tryApplyWorkspaceEdit(workspaceEditDto: WorkspaceEditDto, metadata?: WorkspaceEditMetadataDto): Promise<boolean>;
|
|
1053
|
+
$tryInsertSnippet(id: string, template: string, selections: Range[], opts: SnippetEditOptions): Promise<boolean>;
|
|
1054
|
+
$save(uri: UriComponents): PromiseLike<UriComponents | undefined>;
|
|
1055
|
+
$saveAs(uri: UriComponents): PromiseLike<UriComponents | undefined>;
|
|
1056
|
+
$saveAll(includeUntitled?: boolean): Promise<boolean>;
|
|
1057
|
+
$getDiffInformation(id: string): Promise<theia.LineChange[]>;
|
|
1058
|
+
}
|
|
1059
|
+
export interface ModelAddedData {
|
|
1060
|
+
uri: UriComponents;
|
|
1061
|
+
versionId: number;
|
|
1062
|
+
lines: string[];
|
|
1063
|
+
languageId?: string;
|
|
1064
|
+
EOL: string;
|
|
1065
|
+
modeId: string;
|
|
1066
|
+
isDirty: boolean;
|
|
1067
|
+
encoding: string;
|
|
1068
|
+
}
|
|
1069
|
+
export interface TextEditorAddData {
|
|
1070
|
+
id: string;
|
|
1071
|
+
documentUri: UriComponents;
|
|
1072
|
+
options: TextEditorConfiguration;
|
|
1073
|
+
selections: Selection[];
|
|
1074
|
+
visibleRanges: Range[];
|
|
1075
|
+
editorPosition?: EditorPosition;
|
|
1076
|
+
}
|
|
1077
|
+
export interface EditorsAndDocumentsDelta {
|
|
1078
|
+
removedDocuments?: UriComponents[];
|
|
1079
|
+
addedDocuments?: ModelAddedData[];
|
|
1080
|
+
removedEditors?: string[];
|
|
1081
|
+
addedEditors?: TextEditorAddData[];
|
|
1082
|
+
/**
|
|
1083
|
+
* undefined means no changes
|
|
1084
|
+
* null means no active
|
|
1085
|
+
* string means id of active
|
|
1086
|
+
*/
|
|
1087
|
+
newActiveEditor?: string | null;
|
|
1088
|
+
}
|
|
1089
|
+
export interface EditorsAndDocumentsExt {
|
|
1090
|
+
$acceptEditorsAndDocumentsDelta(delta: EditorsAndDocumentsDelta): void;
|
|
1091
|
+
}
|
|
1092
|
+
export interface ModelContentChange {
|
|
1093
|
+
readonly range: Range;
|
|
1094
|
+
readonly rangeOffset: number;
|
|
1095
|
+
readonly rangeLength: number;
|
|
1096
|
+
readonly text: string;
|
|
1097
|
+
}
|
|
1098
|
+
export interface ModelChangedEvent {
|
|
1099
|
+
readonly changes: ModelContentChange[];
|
|
1100
|
+
readonly eol: string;
|
|
1101
|
+
readonly versionId: number;
|
|
1102
|
+
readonly reason: TextDocumentChangeReason | undefined;
|
|
1103
|
+
}
|
|
1104
|
+
export interface DocumentsExt {
|
|
1105
|
+
$acceptModelModeChanged(startUrl: UriComponents, oldModeId: string, newModeId: string): void;
|
|
1106
|
+
$acceptModelSaved(strUrl: UriComponents): void;
|
|
1107
|
+
$acceptModelWillSave(strUrl: UriComponents, reason: theia.TextDocumentSaveReason, saveTimeout: number): Promise<SingleEditOperation[]>;
|
|
1108
|
+
$acceptDirtyStateChanged(strUrl: UriComponents, isDirty: boolean): void;
|
|
1109
|
+
$acceptEncodingChanged(strUrl: UriComponents, encoding: string): void;
|
|
1110
|
+
$acceptModelChanged(strUrl: UriComponents, e: ModelChangedEvent, isDirty: boolean): void;
|
|
1111
|
+
}
|
|
1112
|
+
export interface DocumentsMain {
|
|
1113
|
+
$tryCreateDocument(options?: {
|
|
1114
|
+
language?: string;
|
|
1115
|
+
content?: string;
|
|
1116
|
+
encoding?: string;
|
|
1117
|
+
}): Promise<UriComponents>;
|
|
1118
|
+
$tryShowDocument(uri: UriComponents, options?: TextDocumentShowOptions): Promise<void>;
|
|
1119
|
+
$tryOpenDocument(uri: UriComponents, encoding?: string): Promise<boolean>;
|
|
1120
|
+
$trySaveDocument(uri: UriComponents): Promise<boolean>;
|
|
1121
|
+
}
|
|
1122
|
+
export interface EnvMain {
|
|
1123
|
+
$getEnvVariable(envVarName: string): Promise<string | undefined>;
|
|
1124
|
+
$getClientOperatingSystem(): Promise<theia.OperatingSystem>;
|
|
1125
|
+
}
|
|
1126
|
+
export interface PreferenceRegistryMain {
|
|
1127
|
+
$updateConfigurationOption(target: boolean | ConfigurationTarget | undefined, key: string, value: any, resource?: string, withLanguageOverride?: boolean): PromiseLike<void>;
|
|
1128
|
+
$removeConfigurationOption(target: boolean | ConfigurationTarget | undefined, key: string, resource?: string, withLanguageOverride?: boolean): PromiseLike<void>;
|
|
1129
|
+
}
|
|
1130
|
+
export interface PreferenceChangeExt {
|
|
1131
|
+
preferenceName: string;
|
|
1132
|
+
newValue: any;
|
|
1133
|
+
/**
|
|
1134
|
+
* The URI the folder affected, or undefined if User scope.
|
|
1135
|
+
*/
|
|
1136
|
+
scope?: string;
|
|
1137
|
+
}
|
|
1138
|
+
export interface TerminalOptionsExt {
|
|
1139
|
+
attributes?: {
|
|
1140
|
+
[key: string]: string;
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
export interface PreferenceRegistryExt {
|
|
1144
|
+
$acceptConfigurationChanged(data: {
|
|
1145
|
+
[key: string]: any;
|
|
1146
|
+
}, eventData: PreferenceChangeExt[]): void;
|
|
1147
|
+
}
|
|
1148
|
+
export interface OutputChannelRegistryMain {
|
|
1149
|
+
$append(channelName: string, value: string, pluginInfo: PluginInfo): PromiseLike<void>;
|
|
1150
|
+
$clear(channelName: string): PromiseLike<void>;
|
|
1151
|
+
$dispose(channelName: string): PromiseLike<void>;
|
|
1152
|
+
$reveal(channelName: string, preserveFocus: boolean): PromiseLike<void>;
|
|
1153
|
+
$close(channelName: string): PromiseLike<void>;
|
|
1154
|
+
}
|
|
1155
|
+
export type CharacterPair = [string, string];
|
|
1156
|
+
export interface CommentRule {
|
|
1157
|
+
lineComment?: string;
|
|
1158
|
+
blockComment?: CharacterPair;
|
|
1159
|
+
}
|
|
1160
|
+
export interface SerializedRegExp {
|
|
1161
|
+
pattern: string;
|
|
1162
|
+
flags?: string;
|
|
1163
|
+
}
|
|
1164
|
+
export interface SerializedIndentationRule {
|
|
1165
|
+
decreaseIndentPattern?: SerializedRegExp;
|
|
1166
|
+
increaseIndentPattern?: SerializedRegExp;
|
|
1167
|
+
indentNextLinePattern?: SerializedRegExp;
|
|
1168
|
+
unIndentedLinePattern?: SerializedRegExp;
|
|
1169
|
+
}
|
|
1170
|
+
export interface SerializedOnEnterRule {
|
|
1171
|
+
beforeText: SerializedRegExp;
|
|
1172
|
+
afterText?: SerializedRegExp;
|
|
1173
|
+
previousLineText?: SerializedRegExp;
|
|
1174
|
+
action: SerializedEnterAction;
|
|
1175
|
+
}
|
|
1176
|
+
export interface SerializedEnterAction {
|
|
1177
|
+
indentAction: IndentAction;
|
|
1178
|
+
outdentCurrentLine?: boolean;
|
|
1179
|
+
appendText?: string;
|
|
1180
|
+
removeText?: number;
|
|
1181
|
+
}
|
|
1182
|
+
export interface SerializedAutoClosingPair {
|
|
1183
|
+
open: string;
|
|
1184
|
+
close: string;
|
|
1185
|
+
notIn?: string[];
|
|
1186
|
+
}
|
|
1187
|
+
export interface SerializedLanguageConfiguration {
|
|
1188
|
+
comments?: CommentRule;
|
|
1189
|
+
brackets?: CharacterPair[];
|
|
1190
|
+
wordPattern?: SerializedRegExp;
|
|
1191
|
+
indentationRules?: SerializedIndentationRule;
|
|
1192
|
+
onEnterRules?: SerializedOnEnterRule[];
|
|
1193
|
+
autoClosingPairs?: SerializedAutoClosingPair[];
|
|
1194
|
+
}
|
|
1195
|
+
export interface CodeActionDto {
|
|
1196
|
+
title: string;
|
|
1197
|
+
edit?: WorkspaceEditDto;
|
|
1198
|
+
diagnostics?: MarkerData[];
|
|
1199
|
+
command?: Command;
|
|
1200
|
+
kind?: string;
|
|
1201
|
+
isPreferred?: boolean;
|
|
1202
|
+
disabled?: string;
|
|
1203
|
+
}
|
|
1204
|
+
export interface WorkspaceEditEntryMetadataDto {
|
|
1205
|
+
needsConfirmation: boolean;
|
|
1206
|
+
label: string;
|
|
1207
|
+
description?: string;
|
|
1208
|
+
iconPath?: UriComponents | ThemeIcon | {
|
|
1209
|
+
light: UriComponents;
|
|
1210
|
+
dark: UriComponents;
|
|
1211
|
+
};
|
|
1212
|
+
}
|
|
1213
|
+
export interface WorkspaceFileEditDto {
|
|
1214
|
+
oldResource?: UriComponents;
|
|
1215
|
+
newResource?: UriComponents;
|
|
1216
|
+
options?: FileOperationOptions;
|
|
1217
|
+
metadata?: WorkspaceEditEntryMetadataDto;
|
|
1218
|
+
}
|
|
1219
|
+
export interface WorkspaceTextEditDto {
|
|
1220
|
+
resource: UriComponents;
|
|
1221
|
+
modelVersionId?: number;
|
|
1222
|
+
textEdit: TextEdit & {
|
|
1223
|
+
insertAsSnippet?: boolean;
|
|
1224
|
+
keepWhitespace?: boolean;
|
|
1225
|
+
};
|
|
1226
|
+
metadata?: WorkspaceEditEntryMetadataDto;
|
|
1227
|
+
}
|
|
1228
|
+
export declare namespace WorkspaceTextEditDto {
|
|
1229
|
+
function is(arg: WorkspaceTextEditDto | WorkspaceFileEditDto): arg is WorkspaceTextEditDto;
|
|
1230
|
+
}
|
|
1231
|
+
export interface WorkspaceEditMetadataDto {
|
|
1232
|
+
isRefactoring?: boolean;
|
|
1233
|
+
}
|
|
1234
|
+
export type CellEditOperationDto = {
|
|
1235
|
+
editType: notebookCommon.CellEditType.Metadata;
|
|
1236
|
+
index: number;
|
|
1237
|
+
metadata: Record<string, unknown>;
|
|
1238
|
+
} | {
|
|
1239
|
+
editType: notebookCommon.CellEditType.DocumentMetadata;
|
|
1240
|
+
metadata: Record<string, unknown>;
|
|
1241
|
+
} | {
|
|
1242
|
+
editType: notebookCommon.CellEditType.Replace;
|
|
1243
|
+
index: number;
|
|
1244
|
+
count: number;
|
|
1245
|
+
cells: NotebookCellDataDto[];
|
|
1246
|
+
};
|
|
1247
|
+
export interface NotebookWorkspaceEditMetadataDto {
|
|
1248
|
+
needsConfirmation: boolean;
|
|
1249
|
+
label: string;
|
|
1250
|
+
description?: string;
|
|
1251
|
+
}
|
|
1252
|
+
export interface WorkspaceNotebookCellEditDto {
|
|
1253
|
+
metadata?: NotebookWorkspaceEditMetadataDto;
|
|
1254
|
+
resource: UriComponents;
|
|
1255
|
+
cellEdit: CellEditOperationDto;
|
|
1256
|
+
}
|
|
1257
|
+
export declare namespace WorkspaceNotebookCellEditDto {
|
|
1258
|
+
function is(arg: WorkspaceNotebookCellEditDto | WorkspaceFileEditDto | WorkspaceTextEditDto): arg is WorkspaceNotebookCellEditDto;
|
|
1259
|
+
}
|
|
1260
|
+
export interface WorkspaceEditDto {
|
|
1261
|
+
edits: Array<WorkspaceTextEditDto | WorkspaceFileEditDto | WorkspaceNotebookCellEditDto>;
|
|
1262
|
+
}
|
|
1263
|
+
export interface CommandProperties {
|
|
1264
|
+
command: string;
|
|
1265
|
+
args?: string[];
|
|
1266
|
+
options?: {
|
|
1267
|
+
cwd?: string;
|
|
1268
|
+
[key: string]: any;
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
export type TaskGroupKind = 'build' | 'test' | 'rebuild' | 'clean';
|
|
1272
|
+
export interface TaskDto {
|
|
1273
|
+
type: string;
|
|
1274
|
+
executionType?: 'shell' | 'process' | 'customExecution';
|
|
1275
|
+
executionId?: string;
|
|
1276
|
+
label: string;
|
|
1277
|
+
source?: string;
|
|
1278
|
+
scope: string | number;
|
|
1279
|
+
problemMatcher?: any;
|
|
1280
|
+
group?: {
|
|
1281
|
+
kind: TaskGroupKind;
|
|
1282
|
+
isDefault: boolean;
|
|
1283
|
+
};
|
|
1284
|
+
detail?: string;
|
|
1285
|
+
presentation?: TaskPresentationOptionsDTO;
|
|
1286
|
+
runOptions?: RunOptionsDTO;
|
|
1287
|
+
[key: string]: any;
|
|
1288
|
+
}
|
|
1289
|
+
export interface RunOptionsDTO {
|
|
1290
|
+
reevaluateOnRerun?: boolean;
|
|
1291
|
+
}
|
|
1292
|
+
export interface TaskPresentationOptionsDTO {
|
|
1293
|
+
reveal?: number;
|
|
1294
|
+
focus?: boolean;
|
|
1295
|
+
echo?: boolean;
|
|
1296
|
+
panel?: number;
|
|
1297
|
+
showReuseMessage?: boolean;
|
|
1298
|
+
clear?: boolean;
|
|
1299
|
+
close?: boolean;
|
|
1300
|
+
}
|
|
1301
|
+
export interface TaskExecutionDto {
|
|
1302
|
+
id: number;
|
|
1303
|
+
task: TaskDto;
|
|
1304
|
+
}
|
|
1305
|
+
export interface ProcessTaskDto extends TaskDto, CommandProperties {
|
|
1306
|
+
windows?: CommandProperties;
|
|
1307
|
+
}
|
|
1308
|
+
export interface PluginInfo {
|
|
1309
|
+
id: string;
|
|
1310
|
+
name: string;
|
|
1311
|
+
displayName?: string;
|
|
1312
|
+
}
|
|
1313
|
+
export interface LanguageStatus {
|
|
1314
|
+
readonly id: string;
|
|
1315
|
+
readonly name: string;
|
|
1316
|
+
readonly selector: SerializedDocumentFilter[];
|
|
1317
|
+
readonly severity: Severity;
|
|
1318
|
+
readonly label: string;
|
|
1319
|
+
readonly detail: string;
|
|
1320
|
+
readonly busy: boolean;
|
|
1321
|
+
readonly source: string;
|
|
1322
|
+
readonly command: Command | undefined;
|
|
1323
|
+
readonly accessibilityInfo: theia.AccessibilityInformation | undefined;
|
|
1324
|
+
}
|
|
1325
|
+
export interface LanguagesExt {
|
|
1326
|
+
$provideCompletionItems(handle: number, resource: UriComponents, position: Position, context: CompletionContext, token: CancellationToken): Promise<CompletionResultDto | undefined>;
|
|
1327
|
+
$resolveCompletionItem(handle: number, chainedId: ChainedCacheId, token: CancellationToken): Promise<Completion | undefined>;
|
|
1328
|
+
$releaseCompletionItems(handle: number, id: number): void;
|
|
1329
|
+
$provideImplementation(handle: number, resource: UriComponents, position: Position, token: CancellationToken): Promise<Definition | undefined>;
|
|
1330
|
+
$provideTypeDefinition(handle: number, resource: UriComponents, position: Position, token: CancellationToken): Promise<Definition | undefined>;
|
|
1331
|
+
$provideDefinition(handle: number, resource: UriComponents, position: Position, token: CancellationToken): Promise<Definition | undefined>;
|
|
1332
|
+
$provideDeclaration(handle: number, resource: UriComponents, position: Position, token: CancellationToken): Promise<Definition | undefined>;
|
|
1333
|
+
$provideReferences(handle: number, resource: UriComponents, position: Position, context: ReferenceContext, token: CancellationToken): Promise<Location[] | undefined>;
|
|
1334
|
+
$provideSignatureHelp(handle: number, resource: UriComponents, position: Position, context: SignatureHelpContext, token: CancellationToken): Promise<SignatureHelp | undefined>;
|
|
1335
|
+
$releaseSignatureHelp(handle: number, id: number): void;
|
|
1336
|
+
$provideHover(handle: number, resource: UriComponents, position: Position, token: CancellationToken): Promise<Hover | undefined>;
|
|
1337
|
+
$provideEvaluatableExpression(handle: number, resource: UriComponents, position: Position, token: CancellationToken): Promise<EvaluatableExpression | undefined>;
|
|
1338
|
+
$provideInlineValues(handle: number, resource: UriComponents, range: Range, context: InlineValueContext, token: CancellationToken): Promise<InlineValue[] | undefined>;
|
|
1339
|
+
$provideDocumentHighlights(handle: number, resource: UriComponents, position: Position, token: CancellationToken): Promise<DocumentHighlight[] | undefined>;
|
|
1340
|
+
$provideDocumentFormattingEdits(handle: number, resource: UriComponents, options: FormattingOptions, token: CancellationToken): Promise<TextEdit[] | undefined>;
|
|
1341
|
+
$provideDocumentRangeFormattingEdits(handle: number, resource: UriComponents, range: Range, options: FormattingOptions, token: CancellationToken): Promise<TextEdit[] | undefined>;
|
|
1342
|
+
$provideOnTypeFormattingEdits(handle: number, resource: UriComponents, position: Position, ch: string, options: FormattingOptions, token: CancellationToken): Promise<TextEdit[] | undefined>;
|
|
1343
|
+
$provideDocumentDropEdits(handle: number, resource: UriComponents, position: Position, dataTransfer: DataTransferDTO, token: CancellationToken): Promise<DocumentDropEdit | undefined>;
|
|
1344
|
+
$provideDocumentLinks(handle: number, resource: UriComponents, token: CancellationToken): Promise<DocumentLink[] | undefined>;
|
|
1345
|
+
$resolveDocumentLink(handle: number, link: DocumentLink, token: CancellationToken): Promise<DocumentLink | undefined>;
|
|
1346
|
+
$releaseDocumentLinks(handle: number, ids: number[]): void;
|
|
1347
|
+
$provideCodeLenses(handle: number, resource: UriComponents, token: CancellationToken): Promise<CodeLensSymbol[] | undefined>;
|
|
1348
|
+
$resolveCodeLens(handle: number, resource: UriComponents, symbol: CodeLensSymbol, token: CancellationToken): Promise<CodeLensSymbol | undefined>;
|
|
1349
|
+
$releaseCodeLenses(handle: number, ids: number[]): void;
|
|
1350
|
+
$provideCodeActions(handle: number, resource: UriComponents, rangeOrSelection: Range | Selection, context: CodeActionContext, token: CancellationToken): Promise<CodeAction[] | undefined>;
|
|
1351
|
+
$releaseCodeActions(handle: number, cacheIds: number[]): void;
|
|
1352
|
+
$resolveCodeAction(handle: number, cacheId: number, token: CancellationToken): Promise<WorkspaceEditDto | undefined>;
|
|
1353
|
+
$provideDocumentSymbols(handle: number, resource: UriComponents, token: CancellationToken): Promise<DocumentSymbol[] | undefined>;
|
|
1354
|
+
$provideWorkspaceSymbols(handle: number, query: string, token: CancellationToken): PromiseLike<SymbolInformation[]>;
|
|
1355
|
+
$resolveWorkspaceSymbol(handle: number, symbol: SymbolInformation, token: CancellationToken): PromiseLike<SymbolInformation | undefined>;
|
|
1356
|
+
$provideFoldingRange(handle: number, resource: UriComponents, context: FoldingContext, token: CancellationToken): PromiseLike<FoldingRange[] | undefined>;
|
|
1357
|
+
$provideSelectionRanges(handle: number, resource: UriComponents, positions: Position[], token: CancellationToken): PromiseLike<SelectionRange[][]>;
|
|
1358
|
+
$provideDocumentColors(handle: number, resource: UriComponents, token: CancellationToken): PromiseLike<RawColorInfo[]>;
|
|
1359
|
+
$provideColorPresentations(handle: number, resource: UriComponents, colorInfo: RawColorInfo, token: CancellationToken): PromiseLike<ColorPresentation[]>;
|
|
1360
|
+
$provideInlayHints(handle: number, resource: UriComponents, range: Range, token: CancellationToken): Promise<InlayHintsDto | undefined>;
|
|
1361
|
+
$resolveInlayHint(handle: number, id: ChainedCacheId, token: CancellationToken): Promise<InlayHintDto | undefined>;
|
|
1362
|
+
$releaseInlayHints(handle: number, id: number): void;
|
|
1363
|
+
$provideRenameEdits(handle: number, resource: UriComponents, position: Position, newName: string, token: CancellationToken): PromiseLike<WorkspaceEditDto | undefined>;
|
|
1364
|
+
$resolveRenameLocation(handle: number, resource: UriComponents, position: Position, token: CancellationToken): PromiseLike<RenameLocation | undefined>;
|
|
1365
|
+
$provideDocumentSemanticTokens(handle: number, resource: UriComponents, previousResultId: number, token: CancellationToken): Promise<BinaryBuffer | null>;
|
|
1366
|
+
$releaseDocumentSemanticTokens(handle: number, semanticColoringResultId: number): void;
|
|
1367
|
+
$provideDocumentRangeSemanticTokens(handle: number, resource: UriComponents, range: Range, token: CancellationToken): Promise<BinaryBuffer | null>;
|
|
1368
|
+
$provideRootDefinition(handle: number, resource: UriComponents, location: Position, token: CancellationToken): Promise<CallHierarchyItem[] | undefined>;
|
|
1369
|
+
$provideCallers(handle: number, definition: CallHierarchyItem, token: CancellationToken): Promise<CallHierarchyIncomingCall[] | undefined>;
|
|
1370
|
+
$provideCallees(handle: number, definition: CallHierarchyItem, token: CancellationToken): Promise<CallHierarchyOutgoingCall[] | undefined>;
|
|
1371
|
+
$provideLinkedEditingRanges(handle: number, resource: UriComponents, position: Position, token: CancellationToken): Promise<LinkedEditingRanges | undefined>;
|
|
1372
|
+
$releaseCallHierarchy(handle: number, session?: string): Promise<boolean>;
|
|
1373
|
+
$prepareTypeHierarchy(handle: number, resource: UriComponents, location: Position, token: theia.CancellationToken): Promise<TypeHierarchyItem[] | undefined>;
|
|
1374
|
+
$provideSuperTypes(handle: number, sessionId: string, itemId: string, token: theia.CancellationToken): Promise<TypeHierarchyItem[] | undefined>;
|
|
1375
|
+
$provideSubTypes(handle: number, sessionId: string, itemId: string, token: theia.CancellationToken): Promise<TypeHierarchyItem[] | undefined>;
|
|
1376
|
+
$releaseTypeHierarchy(handle: number, session?: string): Promise<boolean>;
|
|
1377
|
+
$provideInlineCompletions(handle: number, resource: UriComponents, position: Position, context: InlineCompletionContext, token: CancellationToken): Promise<IdentifiableInlineCompletions | undefined>;
|
|
1378
|
+
$freeInlineCompletionsList(handle: number, pid: number): void;
|
|
1379
|
+
}
|
|
1380
|
+
export declare const LanguagesMainFactory: unique symbol;
|
|
1381
|
+
export interface LanguagesMainFactory {
|
|
1382
|
+
(proxy: RPCProtocol): LanguagesMain;
|
|
1383
|
+
}
|
|
1384
|
+
export declare const OutputChannelRegistryFactory: unique symbol;
|
|
1385
|
+
export interface OutputChannelRegistryFactory {
|
|
1386
|
+
(): OutputChannelRegistryMain;
|
|
1387
|
+
}
|
|
1388
|
+
export interface LanguagesMain {
|
|
1389
|
+
$getLanguages(): Promise<string[]>;
|
|
1390
|
+
$changeLanguage(resource: UriComponents, languageId: string): Promise<void>;
|
|
1391
|
+
$setLanguageConfiguration(handle: number, languageId: string, configuration: SerializedLanguageConfiguration): void;
|
|
1392
|
+
$unregister(handle: number): void;
|
|
1393
|
+
$registerCompletionSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], triggerCharacters: string[], supportsResolveDetails: boolean): void;
|
|
1394
|
+
$registerImplementationProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1395
|
+
$registerTypeDefinitionProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1396
|
+
$registerDefinitionProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1397
|
+
$registerDeclarationProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1398
|
+
$registerReferenceProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1399
|
+
$registerSignatureHelpProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], metadata: theia.SignatureHelpProviderMetadata): void;
|
|
1400
|
+
$registerHoverProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1401
|
+
$registerEvaluatableExpressionProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1402
|
+
$registerInlineValuesProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1403
|
+
$emitInlineValuesEvent(eventHandle: number, event?: any): void;
|
|
1404
|
+
$registerDocumentHighlightProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1405
|
+
$registerQuickFixProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], codeActionKinds?: string[], documentation?: CodeActionProviderDocumentation): void;
|
|
1406
|
+
$clearDiagnostics(id: string): void;
|
|
1407
|
+
$changeDiagnostics(id: string, delta: [string, MarkerData[]][]): void;
|
|
1408
|
+
$registerDocumentFormattingSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1409
|
+
$registerDocumentDropEditProvider(handle: number, selector: SerializedDocumentFilter[], metadata?: DocumentDropEditProviderMetadata): void;
|
|
1410
|
+
$registerRangeFormattingSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1411
|
+
$registerOnTypeFormattingProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], autoFormatTriggerCharacters: string[]): void;
|
|
1412
|
+
$registerDocumentLinkProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1413
|
+
$registerCodeLensSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], eventHandle?: number): void;
|
|
1414
|
+
$emitCodeLensEvent(eventHandle: number, event?: any): void;
|
|
1415
|
+
$registerOutlineSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], displayName?: string): void;
|
|
1416
|
+
$registerWorkspaceSymbolProvider(handle: number, pluginInfo: PluginInfo): void;
|
|
1417
|
+
$registerFoldingRangeProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], eventHandle?: number): void;
|
|
1418
|
+
$emitFoldingRangeEvent(handle: number, event?: any): void;
|
|
1419
|
+
$registerSelectionRangeProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1420
|
+
$registerDocumentColorProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void;
|
|
1421
|
+
$registerInlayHintsProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], displayName?: string, eventHandle?: number): void;
|
|
1422
|
+
$emitInlayHintsEvent(eventHandle: number, event?: any): void;
|
|
1423
|
+
$registerRenameProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], supportsResolveInitialValues: boolean): void;
|
|
1424
|
+
$registerDocumentSemanticTokensProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], legend: theia.SemanticTokensLegend, eventHandle: number | undefined): void;
|
|
1425
|
+
$emitDocumentSemanticTokensEvent(eventHandle: number): void;
|
|
1426
|
+
$registerDocumentRangeSemanticTokensProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], legend: theia.SemanticTokensLegend, eventHandle: number | undefined): void;
|
|
1427
|
+
$registerCallHierarchyProvider(handle: number, selector: SerializedDocumentFilter[]): void;
|
|
1428
|
+
$registerLinkedEditingRangeProvider(handle: number, selector: SerializedDocumentFilter[]): void;
|
|
1429
|
+
$registerTypeHierarchyProvider(handle: number, selector: SerializedDocumentFilter[]): void;
|
|
1430
|
+
$setLanguageStatus(handle: number, status: LanguageStatus): void;
|
|
1431
|
+
$removeLanguageStatus(handle: number): void;
|
|
1432
|
+
$registerInlineCompletionsSupport(handle: number, selector: SerializedDocumentFilter[]): void;
|
|
1433
|
+
}
|
|
1434
|
+
export interface WebviewInitData {
|
|
1435
|
+
webviewResourceRoot: string;
|
|
1436
|
+
webviewCspSource: string;
|
|
1437
|
+
}
|
|
1438
|
+
export interface WebviewPanelViewState {
|
|
1439
|
+
readonly active: boolean;
|
|
1440
|
+
readonly visible: boolean;
|
|
1441
|
+
readonly position: number;
|
|
1442
|
+
}
|
|
1443
|
+
export interface WebviewsExt {
|
|
1444
|
+
$onMessage(handle: string, message: any): void;
|
|
1445
|
+
$onDidChangeWebviewPanelViewState(handle: string, newState: WebviewPanelViewState): void;
|
|
1446
|
+
$onDidDisposeWebviewPanel(handle: string): PromiseLike<void>;
|
|
1447
|
+
$deserializeWebviewPanel(newWebviewHandle: string, viewType: string, title: string, state: any, viewState: WebviewPanelViewState, options: theia.WebviewOptions & theia.WebviewPanelOptions): PromiseLike<void>;
|
|
1448
|
+
}
|
|
1449
|
+
export interface WebviewsMain {
|
|
1450
|
+
$createWebviewPanel(handle: string, viewType: string, title: string, showOptions: theia.WebviewPanelShowOptions, options: theia.WebviewPanelOptions & theia.WebviewOptions): void;
|
|
1451
|
+
$disposeWebview(handle: string): void;
|
|
1452
|
+
$reveal(handle: string, showOptions: theia.WebviewPanelShowOptions): void;
|
|
1453
|
+
$setTitle(handle: string, value: string): void;
|
|
1454
|
+
$setIconPath(handle: string, value: IconUrl | undefined): void;
|
|
1455
|
+
$setHtml(handle: string, value: string): void;
|
|
1456
|
+
$setOptions(handle: string, options: theia.WebviewOptions): void;
|
|
1457
|
+
$postMessage(handle: string, value: any): Thenable<boolean>;
|
|
1458
|
+
$registerSerializer(viewType: string): void;
|
|
1459
|
+
$unregisterSerializer(viewType: string): void;
|
|
1460
|
+
}
|
|
1461
|
+
export interface WebviewViewsExt {
|
|
1462
|
+
$resolveWebviewView(handle: string, viewType: string, title: string | undefined, state: any, cancellation: CancellationToken): Promise<void>;
|
|
1463
|
+
$onDidChangeWebviewViewVisibility(handle: string, visible: boolean): void;
|
|
1464
|
+
$disposeWebviewView(handle: string): void;
|
|
1465
|
+
}
|
|
1466
|
+
export interface WebviewViewsMain extends Disposable {
|
|
1467
|
+
$registerWebviewViewProvider(viewType: string, options: {
|
|
1468
|
+
retainContextWhenHidden?: boolean;
|
|
1469
|
+
serializeBuffersForPostMessage: boolean;
|
|
1470
|
+
}): void;
|
|
1471
|
+
$unregisterWebviewViewProvider(viewType: string): void;
|
|
1472
|
+
$setWebviewViewTitle(handle: string, value: string | undefined): void;
|
|
1473
|
+
$setWebviewViewDescription(handle: string, value: string | undefined): void;
|
|
1474
|
+
$setBadge(handle: string, badge: theia.ViewBadge | undefined): void;
|
|
1475
|
+
$show(handle: string, preserveFocus: boolean): void;
|
|
1476
|
+
}
|
|
1477
|
+
export interface CustomEditorsExt {
|
|
1478
|
+
$resolveWebviewEditor(resource: UriComponents, newWebviewHandle: string, viewType: string, title: string, position: number, options: theia.WebviewPanelOptions, cancellation: CancellationToken): Promise<void>;
|
|
1479
|
+
$createCustomDocument(resource: UriComponents, viewType: string, openContext: theia.CustomDocumentOpenContext, cancellation: CancellationToken): Promise<{
|
|
1480
|
+
editable: boolean;
|
|
1481
|
+
}>;
|
|
1482
|
+
$disposeCustomDocument(resource: UriComponents, viewType: string): Promise<void>;
|
|
1483
|
+
$undo(resource: UriComponents, viewType: string, editId: number, isDirty: boolean): Promise<void>;
|
|
1484
|
+
$redo(resource: UriComponents, viewType: string, editId: number, isDirty: boolean): Promise<void>;
|
|
1485
|
+
$revert(resource: UriComponents, viewType: string, cancellation: CancellationToken): Promise<void>;
|
|
1486
|
+
$disposeEdits(resourceComponents: UriComponents, viewType: string, editIds: number[]): void;
|
|
1487
|
+
$save(resource: UriComponents, viewType: string, cancellation: CancellationToken): Promise<void>;
|
|
1488
|
+
$saveAs(resource: UriComponents, viewType: string, targetResource: UriComponents, cancellation: CancellationToken): Promise<void>;
|
|
1489
|
+
$onMoveCustomEditor(handle: string, newResource: UriComponents, viewType: string): Promise<void>;
|
|
1490
|
+
}
|
|
1491
|
+
export interface CustomTextEditorCapabilities {
|
|
1492
|
+
readonly supportsMove?: boolean;
|
|
1493
|
+
}
|
|
1494
|
+
export interface CustomEditorsMain {
|
|
1495
|
+
$registerTextEditorProvider(viewType: string, options: theia.WebviewPanelOptions, capabilities: CustomTextEditorCapabilities): void;
|
|
1496
|
+
$registerCustomEditorProvider(viewType: string, options: theia.WebviewPanelOptions, supportsMultipleEditorsPerDocument: boolean): void;
|
|
1497
|
+
$unregisterEditorProvider(viewType: string): void;
|
|
1498
|
+
$onDidEdit(resource: UriComponents, viewType: string, editId: number, label: string | undefined): void;
|
|
1499
|
+
$onContentChange(resource: UriComponents, viewType: string): void;
|
|
1500
|
+
}
|
|
1501
|
+
export interface StorageMain {
|
|
1502
|
+
$set(key: string, value: KeysToAnyValues, isGlobal: boolean): Promise<boolean>;
|
|
1503
|
+
$get(key: string, isGlobal: boolean): Promise<KeysToAnyValues>;
|
|
1504
|
+
$getAll(isGlobal: boolean): Promise<KeysToKeysToAnyValue>;
|
|
1505
|
+
}
|
|
1506
|
+
export interface StorageExt {
|
|
1507
|
+
$updatePluginsWorkspaceData(data: KeysToKeysToAnyValue): void;
|
|
1508
|
+
}
|
|
1509
|
+
/**
|
|
1510
|
+
* A DebugConfigurationProviderTriggerKind specifies when the `provideDebugConfigurations` method of a `DebugConfigurationProvider` should be called.
|
|
1511
|
+
* Currently there are two situations:
|
|
1512
|
+
* (1) providing debug configurations to populate a newly created `launch.json`
|
|
1513
|
+
* (2) providing dynamically generated configurations when the user asks for them through the UI (e.g. via the "Select and Start Debugging" command).
|
|
1514
|
+
* A trigger kind is used when registering a `DebugConfigurationProvider` with {@link debug.registerDebugConfigurationProvider}.
|
|
1515
|
+
*/
|
|
1516
|
+
export declare enum DebugConfigurationProviderTriggerKind {
|
|
1517
|
+
/**
|
|
1518
|
+
* `DebugConfigurationProvider.provideDebugConfigurations` is called to provide the initial debug
|
|
1519
|
+
* configurations for a newly created launch.json.
|
|
1520
|
+
*/
|
|
1521
|
+
Initial = 1,
|
|
1522
|
+
/**
|
|
1523
|
+
* `DebugConfigurationProvider.provideDebugConfigurations` is called to provide dynamically generated debug configurations when the user asks for them through the UI
|
|
1524
|
+
* (e.g. via the "Select and Start Debugging" command).
|
|
1525
|
+
*/
|
|
1526
|
+
Dynamic = 2
|
|
1527
|
+
}
|
|
1528
|
+
export interface DebugConfigurationProvider {
|
|
1529
|
+
readonly handle: number;
|
|
1530
|
+
readonly type: string;
|
|
1531
|
+
readonly triggerKind: DebugConfigurationProviderTriggerKind;
|
|
1532
|
+
provideDebugConfigurations?(folder: string | undefined): Promise<theia.DebugConfiguration[]>;
|
|
1533
|
+
resolveDebugConfiguration?(folder: string | undefined, debugConfiguration: theia.DebugConfiguration): Promise<theia.DebugConfiguration | undefined | null>;
|
|
1534
|
+
resolveDebugConfigurationWithSubstitutedVariables?(folder: string | undefined, debugConfiguration: theia.DebugConfiguration): Promise<theia.DebugConfiguration | undefined | null>;
|
|
1535
|
+
}
|
|
1536
|
+
export interface DebugConfigurationProviderDescriptor {
|
|
1537
|
+
readonly handle: number;
|
|
1538
|
+
readonly type: string;
|
|
1539
|
+
readonly trigger: DebugConfigurationProviderTriggerKind;
|
|
1540
|
+
readonly provideDebugConfiguration: boolean;
|
|
1541
|
+
readonly resolveDebugConfigurations: boolean;
|
|
1542
|
+
readonly resolveDebugConfigurationWithSubstitutedVariables: boolean;
|
|
1543
|
+
}
|
|
1544
|
+
export interface DebugExt {
|
|
1545
|
+
$onSessionCustomEvent(sessionId: string, event: string, body?: any): void;
|
|
1546
|
+
$breakpointsDidChange(added: Breakpoint[], removed: string[], changed: Breakpoint[]): void;
|
|
1547
|
+
$sessionDidCreate(sessionId: string): void;
|
|
1548
|
+
$sessionDidStart(sessionId: string): void;
|
|
1549
|
+
$sessionDidDestroy(sessionId: string): void;
|
|
1550
|
+
$sessionDidChange(sessionId: string | undefined): void;
|
|
1551
|
+
$provideDebugConfigurationsByHandle(handle: number, workspaceFolder: string | undefined): Promise<theia.DebugConfiguration[]>;
|
|
1552
|
+
$resolveDebugConfigurationByHandle(handle: number, workspaceFolder: string | undefined, debugConfiguration: theia.DebugConfiguration): Promise<theia.DebugConfiguration | undefined | null>;
|
|
1553
|
+
$resolveDebugConfigurationWithSubstitutedVariablesByHandle(handle: number, workspaceFolder: string | undefined, debugConfiguration: DebugConfiguration): Promise<theia.DebugConfiguration | undefined | null>;
|
|
1554
|
+
$onDidChangeActiveFrame(frame: DebugStackFrameDTO | undefined): void;
|
|
1555
|
+
$onDidChangeActiveThread(thread: DebugThreadDTO | undefined): void;
|
|
1556
|
+
$createDebugSession(debugConfiguration: DebugConfiguration, workspaceFolder: string | undefined): Promise<string>;
|
|
1557
|
+
$terminateDebugSession(sessionId: string): Promise<void>;
|
|
1558
|
+
$getTerminalCreationOptions(debugType: string): Promise<TerminalOptionsExt | undefined>;
|
|
1559
|
+
}
|
|
1560
|
+
export interface DebugMain {
|
|
1561
|
+
$appendToDebugConsole(value: string): Promise<void>;
|
|
1562
|
+
$appendLineToDebugConsole(value: string): Promise<void>;
|
|
1563
|
+
$registerDebuggerContribution(description: DebuggerDescription): Promise<void>;
|
|
1564
|
+
$unregisterDebuggerConfiguration(debugType: string): Promise<void>;
|
|
1565
|
+
$registerDebugConfigurationProvider(description: DebugConfigurationProviderDescriptor): void;
|
|
1566
|
+
$unregisterDebugConfigurationProvider(handle: number): Promise<void>;
|
|
1567
|
+
$addBreakpoints(breakpoints: Breakpoint[]): Promise<void>;
|
|
1568
|
+
$removeBreakpoints(breakpoints: string[]): Promise<void>;
|
|
1569
|
+
$startDebugging(folder: theia.WorkspaceFolder | undefined, nameOrConfiguration: string | theia.DebugConfiguration, options: DebugSessionOptions): Promise<boolean>;
|
|
1570
|
+
$stopDebugging(sessionId?: string): Promise<void>;
|
|
1571
|
+
$customRequest(sessionId: string, command: string, args?: any): Promise<DebugProtocol.Response>;
|
|
1572
|
+
$getDebugProtocolBreakpoint(sessionId: string, breakpointId: string): Promise<theia.DebugProtocolBreakpoint | undefined>;
|
|
1573
|
+
}
|
|
1574
|
+
export interface FileSystemExt {
|
|
1575
|
+
$acceptProviderInfos(scheme: string, capabilities?: files.FileSystemProviderCapabilities): void;
|
|
1576
|
+
$stat(handle: number, resource: UriComponents): Promise<files.Stat>;
|
|
1577
|
+
$readdir(handle: number, resource: UriComponents): Promise<[string, files.FileType][]>;
|
|
1578
|
+
$readFile(handle: number, resource: UriComponents): Promise<BinaryBuffer>;
|
|
1579
|
+
$writeFile(handle: number, resource: UriComponents, content: BinaryBuffer, opts: files.FileWriteOptions): Promise<void>;
|
|
1580
|
+
$rename(handle: number, resource: UriComponents, target: UriComponents, opts: files.FileOverwriteOptions): Promise<void>;
|
|
1581
|
+
$copy(handle: number, resource: UriComponents, target: UriComponents, opts: files.FileOverwriteOptions): Promise<void>;
|
|
1582
|
+
$mkdir(handle: number, resource: UriComponents): Promise<void>;
|
|
1583
|
+
$delete(handle: number, resource: UriComponents, opts: files.FileDeleteOptions): Promise<void>;
|
|
1584
|
+
$watch(handle: number, session: number, resource: UriComponents, opts: files.WatchOptions): void;
|
|
1585
|
+
$unwatch(handle: number, session: number): void;
|
|
1586
|
+
$open(handle: number, resource: UriComponents, opts: files.FileOpenOptions): Promise<number>;
|
|
1587
|
+
$close(handle: number, fd: number): Promise<void>;
|
|
1588
|
+
$read(handle: number, fd: number, pos: number, length: number): Promise<BinaryBuffer>;
|
|
1589
|
+
$write(handle: number, fd: number, pos: number, data: BinaryBuffer): Promise<number>;
|
|
1590
|
+
}
|
|
1591
|
+
export interface IFileChangeDto {
|
|
1592
|
+
resource: UriComponents;
|
|
1593
|
+
type: files.FileChangeType;
|
|
1594
|
+
}
|
|
1595
|
+
export interface FileSystemMain {
|
|
1596
|
+
$registerFileSystemProvider(handle: number, scheme: string, capabilities: files.FileSystemProviderCapabilities, readonlyMessage?: MarkdownString): void;
|
|
1597
|
+
$unregisterProvider(handle: number): void;
|
|
1598
|
+
$onFileSystemChange(handle: number, resource: IFileChangeDto[]): void;
|
|
1599
|
+
$stat(uri: UriComponents): Promise<files.Stat>;
|
|
1600
|
+
$readdir(resource: UriComponents): Promise<[string, files.FileType][]>;
|
|
1601
|
+
$readFile(resource: UriComponents): Promise<BinaryBuffer>;
|
|
1602
|
+
$writeFile(resource: UriComponents, content: BinaryBuffer): Promise<void>;
|
|
1603
|
+
$rename(resource: UriComponents, target: UriComponents, opts: files.FileOverwriteOptions): Promise<void>;
|
|
1604
|
+
$copy(resource: UriComponents, target: UriComponents, opts: files.FileOverwriteOptions): Promise<void>;
|
|
1605
|
+
$mkdir(resource: UriComponents): Promise<void>;
|
|
1606
|
+
$delete(resource: UriComponents, opts: files.FileDeleteOptions): Promise<void>;
|
|
1607
|
+
}
|
|
1608
|
+
export interface FileSystemEvents {
|
|
1609
|
+
created: UriComponents[];
|
|
1610
|
+
changed: UriComponents[];
|
|
1611
|
+
deleted: UriComponents[];
|
|
1612
|
+
}
|
|
1613
|
+
export interface ExtHostFileSystemEventServiceShape {
|
|
1614
|
+
$onFileEvent(events: FileSystemEvents): void;
|
|
1615
|
+
$onWillRunFileOperation(operation: files.FileOperation, target: UriComponents, source: UriComponents | undefined, timeout: number, token: CancellationToken): Promise<any>;
|
|
1616
|
+
$onDidRunFileOperation(operation: files.FileOperation, target: UriComponents, source: UriComponents | undefined): void;
|
|
1617
|
+
}
|
|
1618
|
+
export interface ClipboardMain {
|
|
1619
|
+
$readText(): Promise<string>;
|
|
1620
|
+
$writeText(value: string): Promise<void>;
|
|
1621
|
+
}
|
|
1622
|
+
export interface CommentsExt {
|
|
1623
|
+
$createCommentThreadTemplate(commentControllerHandle: number, uriComponents: UriComponents, range: Range | undefined): void;
|
|
1624
|
+
$updateCommentThreadTemplate(commentControllerHandle: number, threadHandle: number, range: Range): Promise<void>;
|
|
1625
|
+
$deleteCommentThread(commentControllerHandle: number, commentThreadHandle: number): Promise<void>;
|
|
1626
|
+
$provideCommentingRanges(commentControllerHandle: number, uriComponents: UriComponents, token: CancellationToken): Promise<{
|
|
1627
|
+
ranges: Range[];
|
|
1628
|
+
fileComments: boolean;
|
|
1629
|
+
} | undefined>;
|
|
1630
|
+
}
|
|
1631
|
+
export interface CommentProviderFeatures {
|
|
1632
|
+
options?: CommentOptions;
|
|
1633
|
+
}
|
|
1634
|
+
export type CommentThreadChanges = Partial<{
|
|
1635
|
+
range: Range;
|
|
1636
|
+
label: string;
|
|
1637
|
+
contextValue: string;
|
|
1638
|
+
comments: Comment[];
|
|
1639
|
+
collapseState: CommentThreadCollapsibleState;
|
|
1640
|
+
state: CommentThreadState;
|
|
1641
|
+
canReply: boolean | theia.CommentAuthorInformation;
|
|
1642
|
+
}>;
|
|
1643
|
+
export interface CommentsMain {
|
|
1644
|
+
$registerCommentController(handle: number, id: string, label: string): void;
|
|
1645
|
+
$unregisterCommentController(handle: number): void;
|
|
1646
|
+
$updateCommentControllerFeatures(handle: number, features: CommentProviderFeatures): void;
|
|
1647
|
+
$createCommentThread(handle: number, commentThreadHandle: number, threadId: string, resource: UriComponents, range: Range | undefined, extensionId: string): CommentThread | undefined;
|
|
1648
|
+
$updateCommentThread(handle: number, commentThreadHandle: number, threadId: string, resource: UriComponents, changes: CommentThreadChanges): void;
|
|
1649
|
+
$deleteCommentThread(handle: number, commentThreadHandle: number): void;
|
|
1650
|
+
$onDidCommentThreadsChange(handle: number, event: CommentThreadChangedEvent): void;
|
|
1651
|
+
}
|
|
1652
|
+
export declare const enum TabInputKind {
|
|
1653
|
+
UnknownInput = 0,
|
|
1654
|
+
TextInput = 1,
|
|
1655
|
+
TextDiffInput = 2,
|
|
1656
|
+
TextMergeInput = 3,
|
|
1657
|
+
NotebookInput = 4,
|
|
1658
|
+
NotebookDiffInput = 5,
|
|
1659
|
+
CustomEditorInput = 6,
|
|
1660
|
+
WebviewEditorInput = 7,
|
|
1661
|
+
TerminalEditorInput = 8,
|
|
1662
|
+
InteractiveEditorInput = 9
|
|
1663
|
+
}
|
|
1664
|
+
export interface UnknownInputDto {
|
|
1665
|
+
kind: TabInputKind.UnknownInput;
|
|
1666
|
+
}
|
|
1667
|
+
export interface TextInputDto {
|
|
1668
|
+
kind: TabInputKind.TextInput;
|
|
1669
|
+
uri: UriComponents;
|
|
1670
|
+
}
|
|
1671
|
+
export interface TextDiffInputDto {
|
|
1672
|
+
kind: TabInputKind.TextDiffInput;
|
|
1673
|
+
original: UriComponents;
|
|
1674
|
+
modified: UriComponents;
|
|
1675
|
+
}
|
|
1676
|
+
export interface TextMergeInputDto {
|
|
1677
|
+
kind: TabInputKind.TextMergeInput;
|
|
1678
|
+
base: UriComponents;
|
|
1679
|
+
input1: UriComponents;
|
|
1680
|
+
input2: UriComponents;
|
|
1681
|
+
result: UriComponents;
|
|
1682
|
+
}
|
|
1683
|
+
export interface NotebookInputDto {
|
|
1684
|
+
kind: TabInputKind.NotebookInput;
|
|
1685
|
+
notebookType: string;
|
|
1686
|
+
uri: UriComponents;
|
|
1687
|
+
}
|
|
1688
|
+
export interface NotebookDiffInputDto {
|
|
1689
|
+
kind: TabInputKind.NotebookDiffInput;
|
|
1690
|
+
notebookType: string;
|
|
1691
|
+
original: UriComponents;
|
|
1692
|
+
modified: UriComponents;
|
|
1693
|
+
}
|
|
1694
|
+
export interface CustomInputDto {
|
|
1695
|
+
kind: TabInputKind.CustomEditorInput;
|
|
1696
|
+
viewType: string;
|
|
1697
|
+
uri: UriComponents;
|
|
1698
|
+
}
|
|
1699
|
+
export interface WebviewInputDto {
|
|
1700
|
+
kind: TabInputKind.WebviewEditorInput;
|
|
1701
|
+
viewType: string;
|
|
1702
|
+
}
|
|
1703
|
+
export interface InteractiveEditorInputDto {
|
|
1704
|
+
kind: TabInputKind.InteractiveEditorInput;
|
|
1705
|
+
uri: UriComponents;
|
|
1706
|
+
inputBoxUri: UriComponents;
|
|
1707
|
+
}
|
|
1708
|
+
export interface TabInputDto {
|
|
1709
|
+
kind: TabInputKind.TerminalEditorInput;
|
|
1710
|
+
}
|
|
1711
|
+
export type EditorGroupColumn = number;
|
|
1712
|
+
export type AnyInputDto = UnknownInputDto | TextInputDto | TextDiffInputDto | TextMergeInputDto | NotebookInputDto | NotebookDiffInputDto | CustomInputDto | WebviewInputDto | InteractiveEditorInputDto | TabInputDto;
|
|
1713
|
+
export interface TabGroupDto {
|
|
1714
|
+
isActive: boolean;
|
|
1715
|
+
viewColumn: EditorGroupColumn;
|
|
1716
|
+
tabs: TabDto[];
|
|
1717
|
+
groupId: number;
|
|
1718
|
+
}
|
|
1719
|
+
export declare const enum TabModelOperationKind {
|
|
1720
|
+
TAB_OPEN = 0,
|
|
1721
|
+
TAB_CLOSE = 1,
|
|
1722
|
+
TAB_UPDATE = 2,
|
|
1723
|
+
TAB_MOVE = 3
|
|
1724
|
+
}
|
|
1725
|
+
export interface TabOperation {
|
|
1726
|
+
readonly kind: TabModelOperationKind.TAB_OPEN | TabModelOperationKind.TAB_CLOSE | TabModelOperationKind.TAB_UPDATE | TabModelOperationKind.TAB_MOVE;
|
|
1727
|
+
readonly index: number;
|
|
1728
|
+
readonly tabDto: TabDto;
|
|
1729
|
+
readonly groupId: number;
|
|
1730
|
+
readonly oldIndex?: number;
|
|
1731
|
+
}
|
|
1732
|
+
export interface TabDto {
|
|
1733
|
+
id: string;
|
|
1734
|
+
label: string;
|
|
1735
|
+
input: AnyInputDto;
|
|
1736
|
+
editorId?: string;
|
|
1737
|
+
isActive: boolean;
|
|
1738
|
+
isPinned: boolean;
|
|
1739
|
+
isPreview: boolean;
|
|
1740
|
+
isDirty: boolean;
|
|
1741
|
+
}
|
|
1742
|
+
export interface TabsExt {
|
|
1743
|
+
$acceptEditorTabModel(tabGroups: TabGroupDto[]): void;
|
|
1744
|
+
$acceptTabGroupUpdate(groupDto: TabGroupDto): void;
|
|
1745
|
+
$acceptTabOperation(operation: TabOperation): void;
|
|
1746
|
+
}
|
|
1747
|
+
export interface TabsMain {
|
|
1748
|
+
$moveTab(tabId: string, index: number, viewColumn: EditorGroupColumn, preserveFocus?: boolean): void;
|
|
1749
|
+
$closeTab(tabIds: string[], preserveFocus?: boolean): Promise<boolean>;
|
|
1750
|
+
$closeGroup(groupIds: number[], preserveFocus?: boolean): Promise<boolean>;
|
|
1751
|
+
}
|
|
1752
|
+
export interface TelemetryMain {
|
|
1753
|
+
}
|
|
1754
|
+
export interface TelemetryExt {
|
|
1755
|
+
}
|
|
1756
|
+
export declare const enum TestingResourceExt {
|
|
1757
|
+
Workspace = 0,
|
|
1758
|
+
TextDocument = 1
|
|
1759
|
+
}
|
|
1760
|
+
export interface TestingExt {
|
|
1761
|
+
$onCancelTestRun(controllerId: string, runId: string): void;
|
|
1762
|
+
/** Configures a test run config. */
|
|
1763
|
+
$onConfigureRunProfile(controllerId: string, profileId: string): void;
|
|
1764
|
+
/** Sets the default on a given run profile */
|
|
1765
|
+
$onDidChangeDefault(controllerId: string, profileId: string, isDefault: boolean): void;
|
|
1766
|
+
$onRunControllerTests(reqs: TestRunRequestDTO[]): void;
|
|
1767
|
+
/** Asks the controller to refresh its tests */
|
|
1768
|
+
$refreshTests(controllerId: string, token: CancellationToken): Promise<void>;
|
|
1769
|
+
$onResolveChildren(controllerId: string, path: string[]): void;
|
|
1770
|
+
}
|
|
1771
|
+
export interface UriExt {
|
|
1772
|
+
registerUriHandler(handler: theia.UriHandler, plugin: PluginInfo): theia.Disposable;
|
|
1773
|
+
$handleExternalUri(uri: UriComponents): Promise<void>;
|
|
1774
|
+
}
|
|
1775
|
+
export interface UriMain {
|
|
1776
|
+
$registerUriHandler(extensionId: string, extensionName: string): void;
|
|
1777
|
+
$unregisterUriHandler(extensionId: string): void;
|
|
1778
|
+
}
|
|
1779
|
+
export interface TestControllerUpdate {
|
|
1780
|
+
label: string;
|
|
1781
|
+
canRefresh: boolean;
|
|
1782
|
+
canResolve: boolean;
|
|
1783
|
+
}
|
|
1784
|
+
export interface TestingMain {
|
|
1785
|
+
/** Registers that there's a test controller with the given ID */
|
|
1786
|
+
$registerTestController(controllerId: string, label: string): void;
|
|
1787
|
+
/** Updates the label of an existing test controller. */
|
|
1788
|
+
$updateController(controllerId: string, patch: Partial<TestControllerUpdate>): void;
|
|
1789
|
+
/** Disposes of the test controller with the given ID */
|
|
1790
|
+
$unregisterTestController(controllerId: string): void;
|
|
1791
|
+
$notifyDelta(controllerId: string, diff: TreeDelta<string, TestItemDTO>[]): void;
|
|
1792
|
+
/** Called when a new test run profile is available */
|
|
1793
|
+
$notifyTestRunProfileCreated(controllerId: string, profile: TestRunProfileDTO): void;
|
|
1794
|
+
/** Updates an existing test run profile */
|
|
1795
|
+
$updateTestRunProfile(controllerId: string, profileId: string, update: Partial<TestRunProfileDTO>): void;
|
|
1796
|
+
/** Removes a previously-published test run profile */
|
|
1797
|
+
$removeTestRunProfile(controllerId: string, profileId: string): void;
|
|
1798
|
+
$notifyTestRunCreated(controllerId: string, run: TestRunDTO, preserveFocus: boolean): void;
|
|
1799
|
+
$notifyTestStateChanged(controllerId: string, runId: string, stateChanges: TestStateChangeDTO[], outputChanges: TestOutputDTO[]): void;
|
|
1800
|
+
$notifyTestRunEnded(controllerId: string, runId: string): void;
|
|
1801
|
+
}
|
|
1802
|
+
export declare const PLUGIN_RPC_CONTEXT: {
|
|
1803
|
+
LOGGER_MAIN: import("./rpc-protocol").ProxyIdentifier<LoggerMain>;
|
|
1804
|
+
AUTHENTICATION_MAIN: import("./rpc-protocol").ProxyIdentifier<AuthenticationMain>;
|
|
1805
|
+
COMMAND_REGISTRY_MAIN: import("./rpc-protocol").ProxyIdentifier<CommandRegistryMain>;
|
|
1806
|
+
QUICK_OPEN_MAIN: import("./rpc-protocol").ProxyIdentifier<QuickOpenMain>;
|
|
1807
|
+
DIALOGS_MAIN: import("./rpc-protocol").ProxyIdentifier<DialogsMain>;
|
|
1808
|
+
WORKSPACE_MAIN: import("./rpc-protocol").ProxyIdentifier<WorkspaceMain>;
|
|
1809
|
+
MESSAGE_REGISTRY_MAIN: import("./rpc-protocol").ProxyIdentifier<MessageRegistryMain>;
|
|
1810
|
+
TEXT_EDITORS_MAIN: import("./rpc-protocol").ProxyIdentifier<TextEditorsMain>;
|
|
1811
|
+
DOCUMENTS_MAIN: import("./rpc-protocol").ProxyIdentifier<DocumentsMain>;
|
|
1812
|
+
NOTEBOOKS_MAIN: import("./rpc-protocol").ProxyIdentifier<NotebooksMain>;
|
|
1813
|
+
NOTEBOOK_DOCUMENTS_MAIN: import("./rpc-protocol").ProxyIdentifier<NotebookDocumentsMain>;
|
|
1814
|
+
NOTEBOOK_EDITORS_MAIN: import("./rpc-protocol").ProxyIdentifier<NotebookEditorsMain>;
|
|
1815
|
+
NOTEBOOK_DOCUMENTS_AND_EDITORS_MAIN: import("./rpc-protocol").ProxyIdentifier<NotebookDocumentsAndEditorsMain>;
|
|
1816
|
+
NOTEBOOK_RENDERERS_MAIN: import("./rpc-protocol").ProxyIdentifier<NotebookRenderersMain>;
|
|
1817
|
+
NOTEBOOK_KERNELS_MAIN: import("./rpc-protocol").ProxyIdentifier<NotebookKernelsMain>;
|
|
1818
|
+
STATUS_BAR_MESSAGE_REGISTRY_MAIN: import("./rpc-protocol").ProxyIdentifier<StatusBarMessageRegistryMain>;
|
|
1819
|
+
ENV_MAIN: import("./rpc-protocol").ProxyIdentifier<EnvMain>;
|
|
1820
|
+
NOTIFICATION_MAIN: import("./rpc-protocol").ProxyIdentifier<NotificationMain>;
|
|
1821
|
+
TERMINAL_MAIN: import("./rpc-protocol").ProxyIdentifier<TerminalServiceMain>;
|
|
1822
|
+
TREE_VIEWS_MAIN: import("./rpc-protocol").ProxyIdentifier<TreeViewsMain>;
|
|
1823
|
+
PREFERENCE_REGISTRY_MAIN: import("./rpc-protocol").ProxyIdentifier<PreferenceRegistryMain>;
|
|
1824
|
+
OUTPUT_CHANNEL_REGISTRY_MAIN: import("./rpc-protocol").ProxyIdentifier<OutputChannelRegistryMain>;
|
|
1825
|
+
LANGUAGES_MAIN: import("./rpc-protocol").ProxyIdentifier<LanguagesMain>;
|
|
1826
|
+
CONNECTION_MAIN: import("./rpc-protocol").ProxyIdentifier<ConnectionMain>;
|
|
1827
|
+
WEBVIEWS_MAIN: import("./rpc-protocol").ProxyIdentifier<WebviewsMain>;
|
|
1828
|
+
CUSTOM_EDITORS_MAIN: import("./rpc-protocol").ProxyIdentifier<CustomEditorsMain>;
|
|
1829
|
+
WEBVIEW_VIEWS_MAIN: import("./rpc-protocol").ProxyIdentifier<WebviewViewsMain>;
|
|
1830
|
+
STORAGE_MAIN: import("./rpc-protocol").ProxyIdentifier<StorageMain>;
|
|
1831
|
+
TASKS_MAIN: import("./rpc-protocol").ProxyIdentifier<TasksMain>;
|
|
1832
|
+
DEBUG_MAIN: import("./rpc-protocol").ProxyIdentifier<DebugMain>;
|
|
1833
|
+
FILE_SYSTEM_MAIN: import("./rpc-protocol").ProxyIdentifier<FileSystemMain>;
|
|
1834
|
+
SCM_MAIN: import("./rpc-protocol").ProxyIdentifier<ScmMain>;
|
|
1835
|
+
SECRETS_MAIN: import("./rpc-protocol").ProxyIdentifier<SecretsMain>;
|
|
1836
|
+
DECORATIONS_MAIN: import("./rpc-protocol").ProxyIdentifier<DecorationsMain>;
|
|
1837
|
+
WINDOW_MAIN: import("./rpc-protocol").ProxyIdentifier<WindowMain>;
|
|
1838
|
+
CLIPBOARD_MAIN: import("./rpc-protocol").ProxyIdentifier<ClipboardMain>;
|
|
1839
|
+
LABEL_SERVICE_MAIN: import("./rpc-protocol").ProxyIdentifier<LabelServiceMain>;
|
|
1840
|
+
TIMELINE_MAIN: import("./rpc-protocol").ProxyIdentifier<TimelineMain>;
|
|
1841
|
+
THEMING_MAIN: import("./rpc-protocol").ProxyIdentifier<ThemingMain>;
|
|
1842
|
+
COMMENTS_MAIN: import("./rpc-protocol").ProxyIdentifier<CommentsMain>;
|
|
1843
|
+
TABS_MAIN: import("./rpc-protocol").ProxyIdentifier<TabsMain>;
|
|
1844
|
+
TELEMETRY_MAIN: import("./rpc-protocol").ProxyIdentifier<TelemetryMain>;
|
|
1845
|
+
LOCALIZATION_MAIN: import("./rpc-protocol").ProxyIdentifier<LocalizationMain>;
|
|
1846
|
+
TESTING_MAIN: import("./rpc-protocol").ProxyIdentifier<TestingMain>;
|
|
1847
|
+
URI_MAIN: import("./rpc-protocol").ProxyIdentifier<UriMain>;
|
|
1848
|
+
MCP_SERVER_DEFINITION_REGISTRY_MAIN: import("./rpc-protocol").ProxyIdentifier<McpServerDefinitionRegistryMain>;
|
|
1849
|
+
};
|
|
1850
|
+
export declare const MAIN_RPC_CONTEXT: {
|
|
1851
|
+
AUTHENTICATION_EXT: import("./rpc-protocol").ProxyIdentifier<AuthenticationExt>;
|
|
1852
|
+
HOSTED_PLUGIN_MANAGER_EXT: import("./rpc-protocol").ProxyIdentifier<PluginManagerExt>;
|
|
1853
|
+
COMMAND_REGISTRY_EXT: import("./rpc-protocol").ProxyIdentifier<CommandRegistryExt>;
|
|
1854
|
+
QUICK_OPEN_EXT: import("./rpc-protocol").ProxyIdentifier<QuickOpenExt>;
|
|
1855
|
+
WINDOW_STATE_EXT: import("./rpc-protocol").ProxyIdentifier<WindowStateExt>;
|
|
1856
|
+
NOTIFICATION_EXT: import("./rpc-protocol").ProxyIdentifier<NotificationExt>;
|
|
1857
|
+
WORKSPACE_EXT: import("./rpc-protocol").ProxyIdentifier<WorkspaceExt>;
|
|
1858
|
+
TEXT_EDITORS_EXT: import("./rpc-protocol").ProxyIdentifier<TextEditorsExt>;
|
|
1859
|
+
EDITORS_AND_DOCUMENTS_EXT: import("./rpc-protocol").ProxyIdentifier<EditorsAndDocumentsExt>;
|
|
1860
|
+
DOCUMENTS_EXT: import("./rpc-protocol").ProxyIdentifier<DocumentsExt>;
|
|
1861
|
+
NOTEBOOKS_EXT: import("./rpc-protocol").ProxyIdentifier<NotebooksExt>;
|
|
1862
|
+
NOTEBOOK_DOCUMENTS_EXT: import("./rpc-protocol").ProxyIdentifier<NotebookDocumentsExt>;
|
|
1863
|
+
NOTEBOOK_EDITORS_EXT: import("./rpc-protocol").ProxyIdentifier<NotebookEditorsExt>;
|
|
1864
|
+
NOTEBOOK_RENDERERS_EXT: import("./rpc-protocol").ProxyIdentifier<NotebookRenderersExt>;
|
|
1865
|
+
NOTEBOOK_KERNELS_EXT: import("./rpc-protocol").ProxyIdentifier<NotebookKernelsExt>;
|
|
1866
|
+
TERMINAL_EXT: import("./rpc-protocol").ProxyIdentifier<TerminalServiceExt>;
|
|
1867
|
+
OUTPUT_CHANNEL_REGISTRY_EXT: import("./rpc-protocol").ProxyIdentifier<OutputChannelRegistryExt>;
|
|
1868
|
+
TREE_VIEWS_EXT: import("./rpc-protocol").ProxyIdentifier<TreeViewsExt>;
|
|
1869
|
+
PREFERENCE_REGISTRY_EXT: import("./rpc-protocol").ProxyIdentifier<PreferenceRegistryExt>;
|
|
1870
|
+
LANGUAGES_EXT: import("./rpc-protocol").ProxyIdentifier<LanguagesExt>;
|
|
1871
|
+
CONNECTION_EXT: import("./rpc-protocol").ProxyIdentifier<ConnectionExt>;
|
|
1872
|
+
WEBVIEWS_EXT: import("./rpc-protocol").ProxyIdentifier<WebviewsExt>;
|
|
1873
|
+
CUSTOM_EDITORS_EXT: import("./rpc-protocol").ProxyIdentifier<CustomEditorsExt>;
|
|
1874
|
+
WEBVIEW_VIEWS_EXT: import("./rpc-protocol").ProxyIdentifier<WebviewViewsExt>;
|
|
1875
|
+
STORAGE_EXT: import("./rpc-protocol").ProxyIdentifier<StorageExt>;
|
|
1876
|
+
TASKS_EXT: import("./rpc-protocol").ProxyIdentifier<TasksExt>;
|
|
1877
|
+
DEBUG_EXT: import("./rpc-protocol").ProxyIdentifier<DebugExt>;
|
|
1878
|
+
FILE_SYSTEM_EXT: import("./rpc-protocol").ProxyIdentifier<FileSystemExt>;
|
|
1879
|
+
ExtHostFileSystemEventService: import("./rpc-protocol").ProxyIdentifier<ExtHostFileSystemEventServiceShape>;
|
|
1880
|
+
SCM_EXT: import("./rpc-protocol").ProxyIdentifier<ScmExt>;
|
|
1881
|
+
SECRETS_EXT: import("./rpc-protocol").ProxyIdentifier<SecretsExt>;
|
|
1882
|
+
DECORATIONS_EXT: import("./rpc-protocol").ProxyIdentifier<DecorationsExt>;
|
|
1883
|
+
LABEL_SERVICE_EXT: import("./rpc-protocol").ProxyIdentifier<LabelServiceExt>;
|
|
1884
|
+
STATUS_BAR_MESSAGE_REGISTRY_EXT: import("./rpc-protocol").ProxyIdentifier<StatusBarMessageRegistryExt>;
|
|
1885
|
+
TIMELINE_EXT: import("./rpc-protocol").ProxyIdentifier<TimelineExt>;
|
|
1886
|
+
THEMING_EXT: import("./rpc-protocol").ProxyIdentifier<ThemingExt>;
|
|
1887
|
+
COMMENTS_EXT: import("./rpc-protocol").ProxyIdentifier<CommentsExt>;
|
|
1888
|
+
TABS_EXT: import("./rpc-protocol").ProxyIdentifier<TabsExt>;
|
|
1889
|
+
TELEMETRY_EXT: import("./rpc-protocol").ProxyIdentifier<TelemetryExt>;
|
|
1890
|
+
TESTING_EXT: import("./rpc-protocol").ProxyIdentifier<TestingExt>;
|
|
1891
|
+
URI_EXT: import("./rpc-protocol").ProxyIdentifier<UriExt>;
|
|
1892
|
+
MCP_SERVER_DEFINITION_REGISTRY_EXT: import("./rpc-protocol").ProxyIdentifier<McpServerDefinitionRegistryExt>;
|
|
1893
|
+
};
|
|
1894
|
+
export interface TasksExt {
|
|
1895
|
+
$initLoadedTasks(executions: TaskExecutionDto[]): Promise<void>;
|
|
1896
|
+
$provideTasks(handle: number): Promise<TaskDto[]>;
|
|
1897
|
+
$resolveTask(handle: number, task: TaskDto, token?: CancellationToken): Promise<TaskDto>;
|
|
1898
|
+
$onDidStartTask(execution: TaskExecutionDto, terminalId: number): void;
|
|
1899
|
+
$onDidEndTask(id: number): void;
|
|
1900
|
+
$onDidStartTaskProcess(processId: number | undefined, execution: TaskExecutionDto): void;
|
|
1901
|
+
$onDidEndTaskProcess(exitCode: number | undefined, taskId: number): void;
|
|
1902
|
+
}
|
|
1903
|
+
export interface TasksMain {
|
|
1904
|
+
$registerTaskProvider(handle: number, type: string): void;
|
|
1905
|
+
$fetchTasks(taskVersion: string | undefined, taskType: string | undefined): Promise<TaskDto[]>;
|
|
1906
|
+
$executeTask(taskDto: TaskDto): Promise<TaskExecutionDto | undefined>;
|
|
1907
|
+
$taskExecutions(): Promise<TaskExecutionDto[]>;
|
|
1908
|
+
$unregister(handle: number): void;
|
|
1909
|
+
$terminateTask(id: number): void;
|
|
1910
|
+
$customExecutionComplete(id: number, exitCode: number | undefined): void;
|
|
1911
|
+
}
|
|
1912
|
+
export interface AuthenticationExt {
|
|
1913
|
+
$getSessions(providerId: string, scopes: string[] | undefined, options: theia.AuthenticationProviderSessionOptions): Promise<ReadonlyArray<theia.AuthenticationSession>>;
|
|
1914
|
+
$createSession(id: string, scopes: string[], options: theia.AuthenticationProviderSessionOptions): Promise<theia.AuthenticationSession>;
|
|
1915
|
+
$removeSession(id: string, sessionId: string): Promise<void>;
|
|
1916
|
+
$onDidChangeAuthenticationSessions(provider: theia.AuthenticationProviderInformation): Promise<void>;
|
|
1917
|
+
}
|
|
1918
|
+
export interface AuthenticationMain {
|
|
1919
|
+
$getAccounts(providerId: string): Thenable<readonly theia.AuthenticationSessionAccountInformation[]>;
|
|
1920
|
+
$registerAuthenticationProvider(id: string, label: string, supportsMultipleAccounts: boolean): void;
|
|
1921
|
+
$unregisterAuthenticationProvider(id: string): void;
|
|
1922
|
+
$onDidChangeSessions(providerId: string, event: AuthenticationProviderAuthenticationSessionsChangeEvent): void;
|
|
1923
|
+
$getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | theia.AuthenticationWwwAuthenticateRequest, extensionId: string, extensionName: string, options: theia.AuthenticationGetSessionOptions): Promise<theia.AuthenticationSession | undefined>;
|
|
1924
|
+
}
|
|
1925
|
+
export interface NotebookOutputItemDto {
|
|
1926
|
+
readonly mime: string;
|
|
1927
|
+
readonly valueBytes: BinaryBuffer;
|
|
1928
|
+
}
|
|
1929
|
+
export interface NotebookOutputDto {
|
|
1930
|
+
outputId: string;
|
|
1931
|
+
items: NotebookOutputItemDto[];
|
|
1932
|
+
metadata?: Record<string, unknown>;
|
|
1933
|
+
}
|
|
1934
|
+
export interface NotebookCellDataDto {
|
|
1935
|
+
source: string;
|
|
1936
|
+
language: string;
|
|
1937
|
+
cellKind: notebookCommon.CellKind;
|
|
1938
|
+
outputs: NotebookOutputDto[];
|
|
1939
|
+
metadata?: notebookCommon.NotebookCellMetadata;
|
|
1940
|
+
internalMetadata?: notebookCommon.NotebookCellInternalMetadata;
|
|
1941
|
+
}
|
|
1942
|
+
export interface NotebookDataDto {
|
|
1943
|
+
readonly cells: NotebookCellDataDto[];
|
|
1944
|
+
readonly metadata: notebookCommon.NotebookDocumentMetadata;
|
|
1945
|
+
}
|
|
1946
|
+
export interface NotebookCellDto {
|
|
1947
|
+
handle: number;
|
|
1948
|
+
uri: UriComponents;
|
|
1949
|
+
eol: string;
|
|
1950
|
+
source: string[];
|
|
1951
|
+
language: string;
|
|
1952
|
+
mime?: string;
|
|
1953
|
+
cellKind: notebookCommon.CellKind;
|
|
1954
|
+
outputs: NotebookOutputDto[];
|
|
1955
|
+
metadata?: notebookCommon.NotebookCellMetadata;
|
|
1956
|
+
internalMetadata?: notebookCommon.NotebookCellInternalMetadata;
|
|
1957
|
+
}
|
|
1958
|
+
export interface NotebookModelAddedData {
|
|
1959
|
+
uri: UriComponents;
|
|
1960
|
+
versionId: number;
|
|
1961
|
+
cells: NotebookCellDto[];
|
|
1962
|
+
viewType: string;
|
|
1963
|
+
metadata?: notebookCommon.NotebookDocumentMetadata;
|
|
1964
|
+
}
|
|
1965
|
+
export interface NotebookEditorAddData {
|
|
1966
|
+
id: string;
|
|
1967
|
+
documentUri: UriComponents;
|
|
1968
|
+
selections: CellRange[];
|
|
1969
|
+
visibleRanges: CellRange[];
|
|
1970
|
+
viewColumn?: number;
|
|
1971
|
+
}
|
|
1972
|
+
export interface NotebookDocumentsAndEditorsDelta {
|
|
1973
|
+
removedDocuments?: UriComponents[];
|
|
1974
|
+
addedDocuments?: NotebookModelAddedData[];
|
|
1975
|
+
removedEditors?: string[];
|
|
1976
|
+
addedEditors?: NotebookEditorAddData[];
|
|
1977
|
+
newActiveEditor?: string | null;
|
|
1978
|
+
visibleEditors?: string[];
|
|
1979
|
+
}
|
|
1980
|
+
export type NotebookCellStatusBarEntryDto = notebookCommon.NotebookCellStatusBarItem;
|
|
1981
|
+
export interface NotebookCellStatusBarListDto {
|
|
1982
|
+
items: NotebookCellStatusBarEntryDto[];
|
|
1983
|
+
cacheId: number;
|
|
1984
|
+
}
|
|
1985
|
+
export type NotebookRawContentEventDto = {
|
|
1986
|
+
readonly kind: notebookCommon.NotebookCellsChangeType.ModelChange;
|
|
1987
|
+
readonly changes: notebookCommon.NotebookCellTextModelSplice<NotebookCellDto>[];
|
|
1988
|
+
} | {
|
|
1989
|
+
readonly kind: notebookCommon.NotebookCellsChangeType.Move;
|
|
1990
|
+
readonly index: number;
|
|
1991
|
+
readonly length: number;
|
|
1992
|
+
readonly newIdx: number;
|
|
1993
|
+
} | {
|
|
1994
|
+
readonly kind: notebookCommon.NotebookCellsChangeType.Output;
|
|
1995
|
+
readonly index: number;
|
|
1996
|
+
readonly outputs: NotebookOutputDto[];
|
|
1997
|
+
} | {
|
|
1998
|
+
readonly kind: notebookCommon.NotebookCellsChangeType.OutputItem;
|
|
1999
|
+
readonly index: number;
|
|
2000
|
+
readonly outputId: string;
|
|
2001
|
+
readonly outputItems: NotebookOutputItemDto[];
|
|
2002
|
+
readonly append: boolean;
|
|
2003
|
+
} | {
|
|
2004
|
+
readonly kind: notebookCommon.NotebookCellsChangeType.ChangeDocumentMetadata;
|
|
2005
|
+
readonly metadata: notebookCommon.NotebookDocumentMetadata;
|
|
2006
|
+
} | notebookCommon.NotebookCellsChangeLanguageEvent | notebookCommon.NotebookCellsChangeMetadataEvent | notebookCommon.NotebookCellsChangeInternalMetadataEvent | notebookCommon.NotebookCellContentChangeEvent;
|
|
2007
|
+
export interface NotebookCellsChangedEventDto {
|
|
2008
|
+
readonly rawEvents: NotebookRawContentEventDto[];
|
|
2009
|
+
readonly versionId: number;
|
|
2010
|
+
}
|
|
2011
|
+
export interface NotebookSelectionChangeEvent {
|
|
2012
|
+
selections: CellRange[];
|
|
2013
|
+
}
|
|
2014
|
+
export interface NotebookVisibleRangesEvent {
|
|
2015
|
+
ranges: CellRange[];
|
|
2016
|
+
}
|
|
2017
|
+
export interface NotebookEditorPropertiesChangeData {
|
|
2018
|
+
visibleRanges?: NotebookVisibleRangesEvent;
|
|
2019
|
+
selections?: NotebookSelectionChangeEvent;
|
|
2020
|
+
}
|
|
2021
|
+
export declare enum NotebookEditorRevealType {
|
|
2022
|
+
Default = 0,
|
|
2023
|
+
InCenter = 1,
|
|
2024
|
+
InCenterIfOutsideViewport = 2,
|
|
2025
|
+
AtTop = 3
|
|
2026
|
+
}
|
|
2027
|
+
export interface NotebookDocumentShowOptions {
|
|
2028
|
+
position?: EditorGroupColumn;
|
|
2029
|
+
preserveFocus?: boolean;
|
|
2030
|
+
pinned?: boolean;
|
|
2031
|
+
selections?: CellRange[];
|
|
2032
|
+
}
|
|
2033
|
+
export interface NotebookKernelDto {
|
|
2034
|
+
id: string;
|
|
2035
|
+
notebookType: string;
|
|
2036
|
+
extensionId: string;
|
|
2037
|
+
extensionLocation: UriComponents;
|
|
2038
|
+
label: string;
|
|
2039
|
+
detail?: string;
|
|
2040
|
+
description?: string;
|
|
2041
|
+
supportedLanguages?: string[];
|
|
2042
|
+
supportsInterrupt?: boolean;
|
|
2043
|
+
supportsExecutionOrder?: boolean;
|
|
2044
|
+
preloads?: {
|
|
2045
|
+
uri: UriComponents;
|
|
2046
|
+
provides: readonly string[];
|
|
2047
|
+
}[];
|
|
2048
|
+
rendererScripts?: NotebookRendererScript[];
|
|
2049
|
+
}
|
|
2050
|
+
export type CellExecuteUpdateDto = CellExecuteOutputEditDto | CellExecuteOutputItemEditDto | CellExecutionStateUpdateDto;
|
|
2051
|
+
export interface CellExecuteOutputEditDto {
|
|
2052
|
+
editType: CellExecutionUpdateType.Output;
|
|
2053
|
+
cellHandle: number;
|
|
2054
|
+
append?: boolean;
|
|
2055
|
+
outputs: NotebookOutputDto[];
|
|
2056
|
+
}
|
|
2057
|
+
export interface CellExecuteOutputItemEditDto {
|
|
2058
|
+
editType: CellExecutionUpdateType.OutputItems;
|
|
2059
|
+
append?: boolean;
|
|
2060
|
+
outputId: string;
|
|
2061
|
+
items: NotebookOutputItemDto[];
|
|
2062
|
+
}
|
|
2063
|
+
export interface CellExecutionStateUpdateDto {
|
|
2064
|
+
editType: CellExecutionUpdateType.ExecutionState;
|
|
2065
|
+
executionOrder?: number;
|
|
2066
|
+
runStartTime?: number;
|
|
2067
|
+
didPause?: boolean;
|
|
2068
|
+
isPaused?: boolean;
|
|
2069
|
+
}
|
|
2070
|
+
export interface CellExecutionCompleteDto {
|
|
2071
|
+
runEndTime?: number;
|
|
2072
|
+
lastRunSuccess?: boolean;
|
|
2073
|
+
}
|
|
2074
|
+
export interface NotebookKernelSourceActionDto {
|
|
2075
|
+
readonly label: string;
|
|
2076
|
+
readonly description?: string;
|
|
2077
|
+
readonly detail?: string;
|
|
2078
|
+
readonly command?: string | Command;
|
|
2079
|
+
readonly documentation?: UriComponents | string;
|
|
2080
|
+
}
|
|
2081
|
+
export interface NotebookEditorAddData {
|
|
2082
|
+
id: string;
|
|
2083
|
+
documentUri: UriComponents;
|
|
2084
|
+
selections: CellRange[];
|
|
2085
|
+
visibleRanges: CellRange[];
|
|
2086
|
+
viewColumn?: number;
|
|
2087
|
+
}
|
|
2088
|
+
export interface NotebooksExt extends NotebookDocumentsAndEditorsExt {
|
|
2089
|
+
$provideNotebookCellStatusBarItems(handle: number, uri: UriComponents, index: number, token: CancellationToken): Promise<NotebookCellStatusBarListDto | undefined>;
|
|
2090
|
+
$releaseNotebookCellStatusBarItems(id: number): void;
|
|
2091
|
+
$dataToNotebook(handle: number, data: BinaryBuffer, token: CancellationToken): Promise<NotebookDataDto>;
|
|
2092
|
+
$notebookToData(handle: number, data: NotebookDataDto, token: CancellationToken): Promise<BinaryBuffer>;
|
|
2093
|
+
}
|
|
2094
|
+
export interface NotebooksMain extends Disposable {
|
|
2095
|
+
$registerNotebookSerializer(handle: number, viewType: string, options: notebookCommon.TransientOptions): void;
|
|
2096
|
+
$unregisterNotebookSerializer(handle: number): void;
|
|
2097
|
+
$registerNotebookCellStatusBarItemProvider(handle: number, eventHandle: number | undefined, viewType: string): Promise<void>;
|
|
2098
|
+
$unregisterNotebookCellStatusBarItemProvider(handle: number, eventHandle: number | undefined): Promise<void>;
|
|
2099
|
+
$emitCellStatusBarEvent(eventHandle: number): void;
|
|
2100
|
+
}
|
|
2101
|
+
export interface NotebookKernelsExt {
|
|
2102
|
+
$acceptNotebookAssociation(handle: number, uri: UriComponents, value: boolean): void;
|
|
2103
|
+
$executeCells(handle: number, uri: UriComponents, handles: number[]): Promise<void>;
|
|
2104
|
+
$cancelCells(handle: number, uri: UriComponents, handles: number[]): Promise<void>;
|
|
2105
|
+
$acceptKernelMessageFromRenderer(handle: number, editorId: string, message: any): void;
|
|
2106
|
+
$cellExecutionChanged(uri: UriComponents, cellHandle: number, state: NotebookCellExecutionState | undefined): void;
|
|
2107
|
+
$provideKernelSourceActions(handle: number, token: CancellationToken): Promise<NotebookKernelSourceActionDto[]>;
|
|
2108
|
+
}
|
|
2109
|
+
export interface NotebookKernelsMain extends Disposable {
|
|
2110
|
+
$postMessage(handle: number, editorId: string | undefined, message: any): Promise<boolean>;
|
|
2111
|
+
$addKernel(handle: number, data: NotebookKernelDto): Promise<void>;
|
|
2112
|
+
$updateKernel(handle: number, data: Partial<NotebookKernelDto>): void;
|
|
2113
|
+
$removeKernel(handle: number): void;
|
|
2114
|
+
$updateNotebookPriority(handle: number, uri: UriComponents, value: number | undefined): void;
|
|
2115
|
+
$createExecution(handle: number, controllerId: string, uri: UriComponents, cellHandle: number): void;
|
|
2116
|
+
$updateExecution(handle: number, data: CellExecuteUpdateDto[]): void;
|
|
2117
|
+
$completeExecution(handle: number, data: CellExecutionCompleteDto): void;
|
|
2118
|
+
$createNotebookExecution(handle: number, controllerId: string, uri: UriComponents): void;
|
|
2119
|
+
$beginNotebookExecution(handle: number): void;
|
|
2120
|
+
$completeNotebookExecution(handle: number): void;
|
|
2121
|
+
$addKernelDetectionTask(handle: number, notebookType: string): Promise<void>;
|
|
2122
|
+
$removeKernelDetectionTask(handle: number): void;
|
|
2123
|
+
$addKernelSourceActionProvider(handle: number, eventHandle: number, notebookType: string): Promise<void>;
|
|
2124
|
+
$removeKernelSourceActionProvider(handle: number, eventHandle: number): void;
|
|
2125
|
+
$emitNotebookKernelSourceActionsChangeEvent(eventHandle: number): void;
|
|
2126
|
+
}
|
|
2127
|
+
export interface NotebookDocumentsMain extends Disposable {
|
|
2128
|
+
$tryCreateNotebook(options: {
|
|
2129
|
+
viewType: string;
|
|
2130
|
+
content?: NotebookDataDto;
|
|
2131
|
+
}): Promise<UriComponents>;
|
|
2132
|
+
$tryOpenNotebook(uriComponents: UriComponents): Promise<UriComponents>;
|
|
2133
|
+
$trySaveNotebook(uri: UriComponents): Promise<boolean>;
|
|
2134
|
+
}
|
|
2135
|
+
export interface NotebookDocumentsExt {
|
|
2136
|
+
$acceptModelChanged(uriComponents: UriComponents, event: NotebookCellsChangedEventDto, isDirty: boolean, newMetadata?: notebookCommon.NotebookDocumentMetadata): void;
|
|
2137
|
+
$acceptDirtyStateChanged(uriComponents: UriComponents, isDirty: boolean): void;
|
|
2138
|
+
$acceptModelSaved(uriComponents: UriComponents): void;
|
|
2139
|
+
}
|
|
2140
|
+
export interface NotebookDocumentsAndEditorsExt {
|
|
2141
|
+
$acceptDocumentsAndEditorsDelta(delta: NotebookDocumentsAndEditorsDelta): Promise<void>;
|
|
2142
|
+
$acceptActiveCellEditorChange(newActiveEditor: string | null): void;
|
|
2143
|
+
}
|
|
2144
|
+
export interface NotebookDocumentsAndEditorsMain extends Disposable {
|
|
2145
|
+
}
|
|
2146
|
+
export type NotebookEditorViewColumnInfo = Record<string, number>;
|
|
2147
|
+
export interface NotebookEditorsExt {
|
|
2148
|
+
$acceptEditorPropertiesChanged(id: string, data: NotebookEditorPropertiesChangeData): void;
|
|
2149
|
+
$acceptEditorViewColumns(data: NotebookEditorViewColumnInfo): void;
|
|
2150
|
+
}
|
|
2151
|
+
export interface NotebookEditorsMain extends Disposable {
|
|
2152
|
+
$tryShowNotebookDocument(uriComponents: UriComponents, viewType: string, options: NotebookDocumentShowOptions): Promise<string>;
|
|
2153
|
+
$tryRevealRange(id: string, range: CellRange, revealType: NotebookEditorRevealType): Promise<void>;
|
|
2154
|
+
$trySetSelections(id: string, range: CellRange[]): void;
|
|
2155
|
+
}
|
|
2156
|
+
export interface NotebookRenderersExt {
|
|
2157
|
+
$postRendererMessage(editorId: string, rendererId: string, message: unknown): void;
|
|
2158
|
+
}
|
|
2159
|
+
export interface NotebookRenderersMain extends Disposable {
|
|
2160
|
+
$postMessage(editorId: string | undefined, rendererId: string, message: unknown): Promise<boolean>;
|
|
2161
|
+
}
|
|
2162
|
+
export interface RawColorInfo {
|
|
2163
|
+
color: [number, number, number, number];
|
|
2164
|
+
range: Range;
|
|
2165
|
+
}
|
|
2166
|
+
export interface LabelServiceExt {
|
|
2167
|
+
$registerResourceLabelFormatter(formatter: ResourceLabelFormatter): theia.Disposable;
|
|
2168
|
+
}
|
|
2169
|
+
export interface LabelServiceMain {
|
|
2170
|
+
$registerResourceLabelFormatter(handle: number, formatter: ResourceLabelFormatter): void;
|
|
2171
|
+
$unregisterResourceLabelFormatter(handle: number): void;
|
|
2172
|
+
}
|
|
2173
|
+
export interface SecretsExt {
|
|
2174
|
+
$onDidChangePassword(e: {
|
|
2175
|
+
extensionId: string;
|
|
2176
|
+
key: string;
|
|
2177
|
+
}): Promise<void>;
|
|
2178
|
+
}
|
|
2179
|
+
export interface SecretsMain {
|
|
2180
|
+
$getPassword(extensionId: string, key: string): Promise<string | undefined>;
|
|
2181
|
+
$setPassword(extensionId: string, key: string, value: string): Promise<void>;
|
|
2182
|
+
$deletePassword(extensionId: string, key: string): Promise<void>;
|
|
2183
|
+
$getKeys(extensionId: string): Promise<string[]>;
|
|
2184
|
+
}
|
|
2185
|
+
export type InlayHintDto = CachedSessionItem<InlayHint>;
|
|
2186
|
+
export type InlayHintsDto = CachedSession<{
|
|
2187
|
+
hints: InlayHint[];
|
|
2188
|
+
}>;
|
|
2189
|
+
export interface IdentifiableInlineCompletions extends InlineCompletions<IdentifiableInlineCompletion> {
|
|
2190
|
+
pid: number;
|
|
2191
|
+
}
|
|
2192
|
+
export interface IdentifiableInlineCompletion extends InlineCompletion {
|
|
2193
|
+
idx: number;
|
|
2194
|
+
}
|
|
2195
|
+
export declare const LocalizationExt: unique symbol;
|
|
2196
|
+
export interface LocalizationExt {
|
|
2197
|
+
translateMessage(pluginId: string, details: StringDetails): string;
|
|
2198
|
+
getBundle(pluginId: string): Record<string, string> | undefined;
|
|
2199
|
+
getBundleUri(pluginId: string): theia.Uri | undefined;
|
|
2200
|
+
initializeLocalizedMessages(plugin: Plugin, currentLanguage: string): Promise<void>;
|
|
2201
|
+
}
|
|
2202
|
+
export interface StringDetails {
|
|
2203
|
+
message: string;
|
|
2204
|
+
args?: Record<string | number, any>;
|
|
2205
|
+
comment?: string | string[];
|
|
2206
|
+
}
|
|
2207
|
+
export interface LocalizationMain {
|
|
2208
|
+
$fetchBundle(id: string): Promise<LanguagePackBundle | undefined>;
|
|
2209
|
+
}
|
|
2210
|
+
export declare enum LogLevel {
|
|
2211
|
+
Trace = 1,
|
|
2212
|
+
Debug = 2,
|
|
2213
|
+
Info = 3,
|
|
2214
|
+
Warn = 4,
|
|
2215
|
+
Error = 5
|
|
2216
|
+
}
|
|
2217
|
+
export interface LoggerMain {
|
|
2218
|
+
$log(level: LogLevel, name: string | undefined, message: string, params: any[]): void;
|
|
2219
|
+
}
|
|
2220
|
+
//# sourceMappingURL=plugin-api-rpc.d.ts.map
|