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