@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
package/lib/plugin/types-impl.js
DELETED
|
@@ -1,3608 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
// copied from https://github.com/microsoft/vscode/blob/1.37.0/src/vs/workbench/api/common/extHostTypes.ts
|
|
18
|
-
/*---------------------------------------------------------------------------------------------
|
|
19
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
20
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
21
|
-
*--------------------------------------------------------------------------------------------*/
|
|
22
|
-
var _a, _NotebookCellOutputItem_encoder;
|
|
23
|
-
var URI_1, Disposable_1, Position_1, Range_1, SnippetString_1, ThemeIcon_1, TextEdit_1, Location_1, NotebookEdit_1, DocumentDropOrPasteEditKind_1, CodeActionKind_1, SymbolInformation_1, DocumentSymbol_1, FileSystemError_1, TaskGroup_1, CallHierarchyItem_1, TypeHierarchyItem_1, TestMessage_1, FileCoverage_1, SemanticTokensBuilder_1;
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.NotebookEditorRevealType = exports.NotebookControllerAffinity = exports.NotebookCellStatusBarAlignment = exports.NotebookCellKind = exports.MarkerTag = exports.MarkerSeverity = exports.Diagnostic = exports.CompletionItemTag = exports.DiagnosticTag = exports.DiagnosticRelatedInformation = exports.Location = exports.DebugConsoleMode = exports.DiagnosticSeverity = exports.InlineCompletionList = exports.InlineCompletionItem = exports.InlineCompletionTriggerKind = exports.CompletionList = exports.CompletionItem = exports.CompletionItemKind = exports.CompletionTriggerKind = exports.TextEdit = exports.SyntaxTokenType = exports.IndentAction = exports.RelativePattern = exports.ConfigurationTarget = exports.OverviewRulerLane = exports.DecorationRangeBehavior = exports.TextEditorRevealType = exports.ThemeIcon = exports.ThemeColor = exports.SnippetString = exports.EnvironmentVariableMutatorType = exports.EndOfLine = exports.TextDocumentShowOptions = exports.Selection = exports.Range = exports.Position = exports.TextDocumentChangeReason = exports.TextEditorSelectionChangeKind = exports.ColorTheme = exports.ExternalUriOpenerPriority = exports.SourceControlInputBoxValidationType = exports.ExtensionKind = exports.ExtensionMode = exports.ColorThemeKind = exports.ViewColumn = exports.TextEditorLineNumbersStyle = exports.StatusBarAlignment = exports.Disposable = exports.URI = void 0;
|
|
26
|
-
exports.TerminalExitReason = exports.TerminalProfile = exports.TerminalOutputAnchor = exports.TerminalLocation = exports.TerminalLink = exports.QuickInputButtons = exports.CommentThreadCollapsibleState = exports.CommentThreadState = exports.DocumentSymbol = exports.SymbolInformation = exports.SymbolTag = exports.TreeItemCheckboxState = exports.TreeItemCollapsibleState = exports.TreeItem = exports.DataTransfer = exports.DataTransferItem = exports.WorkspaceEdit = exports.CodeAction = exports.TextDocumentSaveReason = exports.CodeActionKind = exports.CodeActionTriggerKind = exports.CodeActionTrigger = exports.CodeLens = exports.DocumentDropEdit = exports.DocumentDropOrPasteEditKind = exports.DocumentLink = exports.MultiDocumentHighlight = exports.DocumentHighlight = exports.DocumentHighlightKind = exports.InlineValueEvaluatableExpression = exports.InlineValueVariableLookup = exports.InlineValueText = exports.InlineValueContext = exports.EvaluatableExpression = exports.Hover = exports.SignatureHelp = exports.SignatureHelpTriggerKind = exports.SignatureInformation = exports.ParameterInformation = exports.NotebookRendererScript = exports.NotebookEdit = exports.SnippetTextEdit = exports.NotebookRange = exports.NotebookData = exports.NotebookCellStatusBarItem = exports.NotebookCellOutputItem = exports.NotebookCellOutput = exports.NotebookCellData = exports.NotebookKernelSourceAction = exports.NotebookCellExecutionState = void 0;
|
|
27
|
-
exports.TestRunProfileKind = exports.TestResultState = exports.LinkedEditingRanges = exports.LanguageStatusSeverity = exports.TypeHierarchyItem = exports.CallHierarchyOutgoingCall = exports.CallHierarchyIncomingCall = exports.CallHierarchyItem = exports.UIKind = exports.WebviewPanelTargetArea = exports.OperatingSystem = exports.SelectionRange = exports.FoldingRangeKind = exports.FoldingRange = exports.InlayHintKind = exports.InlayHint = exports.InlayHintLabelPart = exports.ColorFormat = exports.ColorPresentation = exports.ColorInformation = exports.Color = exports.DebugStackFrame = exports.DebugThread = exports.FunctionBreakpoint = exports.SourceBreakpoint = exports.Breakpoint = exports.LogLevel = exports.DebugAdapterInlineImplementation = exports.DebugAdapterNamedPipeServer = exports.DebugAdapterServer = exports.DebugAdapterExecutable = exports.Task2 = exports.Task = exports.TaskScope = exports.TaskGroup = exports.CustomExecution = exports.ShellExecution = exports.TaskRevealKind = exports.TaskPanelKind = exports.ShellQuoting = exports.QuickPickItemKind = exports.ProcessExecution = exports.ProgressLocation = exports.Progress = exports.ProgressOptions = exports.FileType = exports.FileSystemError = exports.FileChangeType = exports.CommentMode = exports.FileDecoration = void 0;
|
|
28
|
-
exports.LanguageModelToolResultPart = exports.LanguageModelToolCallPart = exports.LanguageModelChatToolMode = exports.LanguageModelError = exports.LanguageModelChatMessage = exports.LanguageModelChatMessageRole = exports.ChatResultFeedbackKind = exports.ChatResponseFileTreePart = exports.ChatResponseMarkdownPart = exports.ChatResponseCommandButtonPart = exports.ChatResponseReferencePart = exports.ChatResponseProgressPart = exports.ChatResponseAnchorPart = exports.ChatResponseTurn = exports.ChatRequestTurn = exports.TerminalQuickFixOpener = exports.TerminalQuickFixTerminalCommand = exports.TerminalCompletionItemKind = exports.TerminalCompletionList = exports.EditSessionIdentityMatch = exports.DocumentPasteTriggerKind = exports.DocumentPasteEdit = exports.DocumentPasteEditKind = exports.InteractiveWindowInput = exports.TerminalEditorTabInput = exports.NotebookDiffEditorTabInput = exports.NotebookEditorTabInput = exports.TelemetryLogger = exports.TelemetryTrustedValue = exports.WebviewEditorTabInput = exports.CustomEditorTabInput = exports.TextMergeTabInput = exports.TextDiffTabInput = exports.TextTabInput = exports.InputBoxValidationSeverity = exports.SemanticTokensEdits = exports.SemanticTokensEdit = exports.SemanticTokens = exports.SemanticTokensBuilder = exports.SemanticTokensLegend = exports.TimelineItem = exports.DeclarationCoverage = exports.BranchCoverage = exports.StatementCoverage = exports.FileCoverage = exports.TestMessageStackFrame = exports.TestCoverageCount = exports.TestMessage = exports.TestRunRequest = exports.TestTag = void 0;
|
|
29
|
-
exports.TextEditorChangeKind = exports.McpHttpServerDefinition = exports.McpStdioServerDefinition = exports.TerminalShellExecutionCommandLineConfidence = exports.DebugVisualization = exports.PortAttributes = exports.PortAutoForwardAction = exports.LanguageModelPromptTsxPart = exports.LanguageModelToolResult = exports.LanguageModelTextPart = void 0;
|
|
30
|
-
const tslib_1 = require("tslib");
|
|
31
|
-
/* eslint-disable no-null/no-null */
|
|
32
|
-
const coreutils_1 = require("@theia/core/shared/@lumino/coreutils");
|
|
33
|
-
const errors_1 = require("../common/errors");
|
|
34
|
-
const vscode_uri_1 = require("@theia/core/shared/vscode-uri");
|
|
35
|
-
const paths_util_1 = require("../common/paths-util");
|
|
36
|
-
const strings_1 = require("@theia/core/lib/common/strings");
|
|
37
|
-
const plugin_api_rpc_model_1 = require("../common/plugin-api-rpc-model");
|
|
38
|
-
const files_1 = require("@theia/filesystem/lib/common/files");
|
|
39
|
-
const paths = require("path");
|
|
40
|
-
const types_1 = require("../common/types");
|
|
41
|
-
const common_1 = require("@theia/core/lib/common");
|
|
42
|
-
/**
|
|
43
|
-
* This is an implementation of #theia.Uri based on vscode-uri.
|
|
44
|
-
* This is supposed to fix https://github.com/eclipse-theia/theia/issues/8752
|
|
45
|
-
* We cannot simply upgrade the dependency, because the current version 3.x
|
|
46
|
-
* is not compatible with our current codebase
|
|
47
|
-
*/
|
|
48
|
-
let URI = URI_1 = class URI extends vscode_uri_1.URI {
|
|
49
|
-
constructor(schemeOrData, authority, path, query, fragment, _strict = false) {
|
|
50
|
-
if (typeof schemeOrData === 'string') {
|
|
51
|
-
super(schemeOrData, authority, path, query, fragment, _strict);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
super(schemeOrData);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Override to create the correct class.
|
|
59
|
-
*/
|
|
60
|
-
with(change) {
|
|
61
|
-
return new URI_1(super.with(change));
|
|
62
|
-
}
|
|
63
|
-
static joinPath(uri, ...pathSegments) {
|
|
64
|
-
if (!uri.path) {
|
|
65
|
-
throw new Error('\'joinPath\' called on URI without path');
|
|
66
|
-
}
|
|
67
|
-
const newPath = paths.posix.join(uri.path, ...pathSegments);
|
|
68
|
-
return new URI_1(uri.scheme, uri.authority, newPath, uri.query, uri.fragment);
|
|
69
|
-
}
|
|
70
|
-
static revive(data) {
|
|
71
|
-
const uri = vscode_uri_1.URI.revive(data);
|
|
72
|
-
return uri ? new URI_1(uri) : undefined;
|
|
73
|
-
}
|
|
74
|
-
static parse(value, _strict) {
|
|
75
|
-
return new URI_1(vscode_uri_1.URI.parse(value, _strict));
|
|
76
|
-
}
|
|
77
|
-
static file(path) {
|
|
78
|
-
return new URI_1(vscode_uri_1.URI.file(path));
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* There is quite some magic in to vscode URI class related to
|
|
82
|
-
* transferring via JSON.stringify(). Making the CodeURI instance
|
|
83
|
-
* makes sure we transfer this object as a vscode-uri URI.
|
|
84
|
-
*/
|
|
85
|
-
toJSON() {
|
|
86
|
-
return vscode_uri_1.URI.from(this).toJSON();
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
exports.URI = URI;
|
|
90
|
-
exports.URI = URI = URI_1 = tslib_1.__decorate([
|
|
91
|
-
types_1.es5ClassCompat,
|
|
92
|
-
tslib_1.__metadata("design:paramtypes", [Object, String, String, String, String, Boolean])
|
|
93
|
-
], URI);
|
|
94
|
-
let Disposable = Disposable_1 = class Disposable {
|
|
95
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
96
|
-
static from(...disposables) {
|
|
97
|
-
return new Disposable_1(() => {
|
|
98
|
-
if (disposables) {
|
|
99
|
-
for (const disposable of disposables) {
|
|
100
|
-
if (disposable && typeof disposable.dispose === 'function') {
|
|
101
|
-
disposable.dispose();
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
constructor(func) {
|
|
108
|
-
this.disposable = func;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Dispose this object.
|
|
112
|
-
*/
|
|
113
|
-
dispose() {
|
|
114
|
-
if (this.disposable) {
|
|
115
|
-
this.disposable();
|
|
116
|
-
this.disposable = undefined;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
static create(func) {
|
|
120
|
-
return new Disposable_1(func);
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
exports.Disposable = Disposable;
|
|
124
|
-
exports.Disposable = Disposable = Disposable_1 = tslib_1.__decorate([
|
|
125
|
-
types_1.es5ClassCompat,
|
|
126
|
-
tslib_1.__metadata("design:paramtypes", [Function])
|
|
127
|
-
], Disposable);
|
|
128
|
-
var StatusBarAlignment;
|
|
129
|
-
(function (StatusBarAlignment) {
|
|
130
|
-
StatusBarAlignment[StatusBarAlignment["Left"] = 1] = "Left";
|
|
131
|
-
StatusBarAlignment[StatusBarAlignment["Right"] = 2] = "Right";
|
|
132
|
-
})(StatusBarAlignment || (exports.StatusBarAlignment = StatusBarAlignment = {}));
|
|
133
|
-
var TextEditorLineNumbersStyle;
|
|
134
|
-
(function (TextEditorLineNumbersStyle) {
|
|
135
|
-
TextEditorLineNumbersStyle[TextEditorLineNumbersStyle["Off"] = 0] = "Off";
|
|
136
|
-
TextEditorLineNumbersStyle[TextEditorLineNumbersStyle["On"] = 1] = "On";
|
|
137
|
-
TextEditorLineNumbersStyle[TextEditorLineNumbersStyle["Relative"] = 2] = "Relative";
|
|
138
|
-
TextEditorLineNumbersStyle[TextEditorLineNumbersStyle["Interval"] = 3] = "Interval";
|
|
139
|
-
})(TextEditorLineNumbersStyle || (exports.TextEditorLineNumbersStyle = TextEditorLineNumbersStyle = {}));
|
|
140
|
-
/**
|
|
141
|
-
* Denotes a column in the editor window.
|
|
142
|
-
* Columns are used to show editors side by side.
|
|
143
|
-
*/
|
|
144
|
-
var ViewColumn;
|
|
145
|
-
(function (ViewColumn) {
|
|
146
|
-
ViewColumn[ViewColumn["Active"] = -1] = "Active";
|
|
147
|
-
ViewColumn[ViewColumn["Beside"] = -2] = "Beside";
|
|
148
|
-
ViewColumn[ViewColumn["One"] = 1] = "One";
|
|
149
|
-
ViewColumn[ViewColumn["Two"] = 2] = "Two";
|
|
150
|
-
ViewColumn[ViewColumn["Three"] = 3] = "Three";
|
|
151
|
-
ViewColumn[ViewColumn["Four"] = 4] = "Four";
|
|
152
|
-
ViewColumn[ViewColumn["Five"] = 5] = "Five";
|
|
153
|
-
ViewColumn[ViewColumn["Six"] = 6] = "Six";
|
|
154
|
-
ViewColumn[ViewColumn["Seven"] = 7] = "Seven";
|
|
155
|
-
ViewColumn[ViewColumn["Eight"] = 8] = "Eight";
|
|
156
|
-
ViewColumn[ViewColumn["Nine"] = 9] = "Nine";
|
|
157
|
-
})(ViewColumn || (exports.ViewColumn = ViewColumn = {}));
|
|
158
|
-
/**
|
|
159
|
-
* Represents a color theme kind.
|
|
160
|
-
*/
|
|
161
|
-
var ColorThemeKind;
|
|
162
|
-
(function (ColorThemeKind) {
|
|
163
|
-
ColorThemeKind[ColorThemeKind["Light"] = 1] = "Light";
|
|
164
|
-
ColorThemeKind[ColorThemeKind["Dark"] = 2] = "Dark";
|
|
165
|
-
ColorThemeKind[ColorThemeKind["HighContrast"] = 3] = "HighContrast";
|
|
166
|
-
ColorThemeKind[ColorThemeKind["HighContrastLight"] = 4] = "HighContrastLight";
|
|
167
|
-
})(ColorThemeKind || (exports.ColorThemeKind = ColorThemeKind = {}));
|
|
168
|
-
var ExtensionMode;
|
|
169
|
-
(function (ExtensionMode) {
|
|
170
|
-
/**
|
|
171
|
-
* The extension is installed normally (for example, from the marketplace
|
|
172
|
-
* or VSIX) in the editor.
|
|
173
|
-
*/
|
|
174
|
-
ExtensionMode[ExtensionMode["Production"] = 1] = "Production";
|
|
175
|
-
/**
|
|
176
|
-
* The extension is running from an `--extensionDevelopmentPath` provided
|
|
177
|
-
* when launching the editor.
|
|
178
|
-
*/
|
|
179
|
-
ExtensionMode[ExtensionMode["Development"] = 2] = "Development";
|
|
180
|
-
/**
|
|
181
|
-
* The extension is running from an `--extensionTestsPath` and
|
|
182
|
-
* the extension host is running unit tests.
|
|
183
|
-
*/
|
|
184
|
-
ExtensionMode[ExtensionMode["Test"] = 3] = "Test";
|
|
185
|
-
})(ExtensionMode || (exports.ExtensionMode = ExtensionMode = {}));
|
|
186
|
-
var ExtensionKind;
|
|
187
|
-
(function (ExtensionKind) {
|
|
188
|
-
ExtensionKind[ExtensionKind["UI"] = 1] = "UI";
|
|
189
|
-
ExtensionKind[ExtensionKind["Workspace"] = 2] = "Workspace";
|
|
190
|
-
})(ExtensionKind || (exports.ExtensionKind = ExtensionKind = {}));
|
|
191
|
-
/**
|
|
192
|
-
* Represents the validation type of the Source Control input.
|
|
193
|
-
*/
|
|
194
|
-
var SourceControlInputBoxValidationType;
|
|
195
|
-
(function (SourceControlInputBoxValidationType) {
|
|
196
|
-
/**
|
|
197
|
-
* Something not allowed by the rules of a language or other means.
|
|
198
|
-
*/
|
|
199
|
-
SourceControlInputBoxValidationType[SourceControlInputBoxValidationType["Error"] = 0] = "Error";
|
|
200
|
-
/**
|
|
201
|
-
* Something suspicious but allowed.
|
|
202
|
-
*/
|
|
203
|
-
SourceControlInputBoxValidationType[SourceControlInputBoxValidationType["Warning"] = 1] = "Warning";
|
|
204
|
-
/**
|
|
205
|
-
* Something to inform about but not a problem.
|
|
206
|
-
*/
|
|
207
|
-
SourceControlInputBoxValidationType[SourceControlInputBoxValidationType["Information"] = 2] = "Information";
|
|
208
|
-
})(SourceControlInputBoxValidationType || (exports.SourceControlInputBoxValidationType = SourceControlInputBoxValidationType = {}));
|
|
209
|
-
var ExternalUriOpenerPriority;
|
|
210
|
-
(function (ExternalUriOpenerPriority) {
|
|
211
|
-
ExternalUriOpenerPriority[ExternalUriOpenerPriority["None"] = 0] = "None";
|
|
212
|
-
ExternalUriOpenerPriority[ExternalUriOpenerPriority["Option"] = 1] = "Option";
|
|
213
|
-
ExternalUriOpenerPriority[ExternalUriOpenerPriority["Default"] = 2] = "Default";
|
|
214
|
-
ExternalUriOpenerPriority[ExternalUriOpenerPriority["Preferred"] = 3] = "Preferred";
|
|
215
|
-
})(ExternalUriOpenerPriority || (exports.ExternalUriOpenerPriority = ExternalUriOpenerPriority = {}));
|
|
216
|
-
let ColorTheme = class ColorTheme {
|
|
217
|
-
constructor(kind) {
|
|
218
|
-
this.kind = kind;
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
exports.ColorTheme = ColorTheme;
|
|
222
|
-
exports.ColorTheme = ColorTheme = tslib_1.__decorate([
|
|
223
|
-
types_1.es5ClassCompat,
|
|
224
|
-
tslib_1.__metadata("design:paramtypes", [Number])
|
|
225
|
-
], ColorTheme);
|
|
226
|
-
/**
|
|
227
|
-
* Represents sources that can cause `window.onDidChangeEditorSelection`
|
|
228
|
-
*/
|
|
229
|
-
var TextEditorSelectionChangeKind;
|
|
230
|
-
(function (TextEditorSelectionChangeKind) {
|
|
231
|
-
TextEditorSelectionChangeKind[TextEditorSelectionChangeKind["Keyboard"] = 1] = "Keyboard";
|
|
232
|
-
TextEditorSelectionChangeKind[TextEditorSelectionChangeKind["Mouse"] = 2] = "Mouse";
|
|
233
|
-
TextEditorSelectionChangeKind[TextEditorSelectionChangeKind["Command"] = 3] = "Command";
|
|
234
|
-
})(TextEditorSelectionChangeKind || (exports.TextEditorSelectionChangeKind = TextEditorSelectionChangeKind = {}));
|
|
235
|
-
(function (TextEditorSelectionChangeKind) {
|
|
236
|
-
function fromValue(s) {
|
|
237
|
-
switch (s) {
|
|
238
|
-
case 'keyboard': return TextEditorSelectionChangeKind.Keyboard;
|
|
239
|
-
case 'mouse': return TextEditorSelectionChangeKind.Mouse;
|
|
240
|
-
case 'api': return TextEditorSelectionChangeKind.Command;
|
|
241
|
-
}
|
|
242
|
-
return undefined;
|
|
243
|
-
}
|
|
244
|
-
TextEditorSelectionChangeKind.fromValue = fromValue;
|
|
245
|
-
})(TextEditorSelectionChangeKind || (exports.TextEditorSelectionChangeKind = TextEditorSelectionChangeKind = {}));
|
|
246
|
-
var TextDocumentChangeReason;
|
|
247
|
-
(function (TextDocumentChangeReason) {
|
|
248
|
-
TextDocumentChangeReason[TextDocumentChangeReason["Undo"] = 1] = "Undo";
|
|
249
|
-
TextDocumentChangeReason[TextDocumentChangeReason["Redo"] = 2] = "Redo";
|
|
250
|
-
})(TextDocumentChangeReason || (exports.TextDocumentChangeReason = TextDocumentChangeReason = {}));
|
|
251
|
-
let Position = Position_1 = class Position {
|
|
252
|
-
constructor(line, char) {
|
|
253
|
-
if (line < 0) {
|
|
254
|
-
throw new Error('line number cannot be negative');
|
|
255
|
-
}
|
|
256
|
-
if (char < 0) {
|
|
257
|
-
throw new Error('char number cannot be negative');
|
|
258
|
-
}
|
|
259
|
-
this._line = line;
|
|
260
|
-
this._character = char;
|
|
261
|
-
}
|
|
262
|
-
get line() {
|
|
263
|
-
return this._line;
|
|
264
|
-
}
|
|
265
|
-
get character() {
|
|
266
|
-
return this._character;
|
|
267
|
-
}
|
|
268
|
-
isBefore(other) {
|
|
269
|
-
if (this._line < other._line) {
|
|
270
|
-
return true;
|
|
271
|
-
}
|
|
272
|
-
if (other._line < this._line) {
|
|
273
|
-
return false;
|
|
274
|
-
}
|
|
275
|
-
return this._character < other._character;
|
|
276
|
-
}
|
|
277
|
-
isBeforeOrEqual(other) {
|
|
278
|
-
if (this._line < other._line) {
|
|
279
|
-
return true;
|
|
280
|
-
}
|
|
281
|
-
if (other._line < this._line) {
|
|
282
|
-
return false;
|
|
283
|
-
}
|
|
284
|
-
return this._character <= other._character;
|
|
285
|
-
}
|
|
286
|
-
isAfter(other) {
|
|
287
|
-
return !this.isBeforeOrEqual(other);
|
|
288
|
-
}
|
|
289
|
-
isAfterOrEqual(other) {
|
|
290
|
-
return !this.isBefore(other);
|
|
291
|
-
}
|
|
292
|
-
isEqual(other) {
|
|
293
|
-
return this._line === other._line && this._character === other._character;
|
|
294
|
-
}
|
|
295
|
-
compareTo(other) {
|
|
296
|
-
if (this._line < other._line) {
|
|
297
|
-
return -1;
|
|
298
|
-
}
|
|
299
|
-
else if (this._line > other.line) {
|
|
300
|
-
return 1;
|
|
301
|
-
}
|
|
302
|
-
else {
|
|
303
|
-
// equal line
|
|
304
|
-
if (this._character < other._character) {
|
|
305
|
-
return -1;
|
|
306
|
-
}
|
|
307
|
-
else if (this._character > other._character) {
|
|
308
|
-
return 1;
|
|
309
|
-
}
|
|
310
|
-
else {
|
|
311
|
-
// equal line and character
|
|
312
|
-
return 0;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
translate(lineDeltaOrChange, characterDelta = 0) {
|
|
317
|
-
if (lineDeltaOrChange === null || characterDelta === null) {
|
|
318
|
-
throw (0, errors_1.illegalArgument)();
|
|
319
|
-
}
|
|
320
|
-
let lineDelta;
|
|
321
|
-
if (typeof lineDeltaOrChange === 'undefined') {
|
|
322
|
-
lineDelta = 0;
|
|
323
|
-
}
|
|
324
|
-
else if (typeof lineDeltaOrChange === 'number') {
|
|
325
|
-
lineDelta = lineDeltaOrChange;
|
|
326
|
-
}
|
|
327
|
-
else {
|
|
328
|
-
lineDelta = typeof lineDeltaOrChange.lineDelta === 'number' ? lineDeltaOrChange.lineDelta : 0;
|
|
329
|
-
characterDelta = typeof lineDeltaOrChange.characterDelta === 'number' ? lineDeltaOrChange.characterDelta : 0;
|
|
330
|
-
}
|
|
331
|
-
if (lineDelta === 0 && characterDelta === 0) {
|
|
332
|
-
return this;
|
|
333
|
-
}
|
|
334
|
-
return new Position_1(this.line + lineDelta, this.character + characterDelta);
|
|
335
|
-
}
|
|
336
|
-
with(lineOrChange, character = this.character) {
|
|
337
|
-
if (lineOrChange === null || character === null) {
|
|
338
|
-
throw (0, errors_1.illegalArgument)();
|
|
339
|
-
}
|
|
340
|
-
let line;
|
|
341
|
-
if (typeof lineOrChange === 'undefined') {
|
|
342
|
-
line = this.line;
|
|
343
|
-
}
|
|
344
|
-
else if (typeof lineOrChange === 'number') {
|
|
345
|
-
line = lineOrChange;
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
line = typeof lineOrChange.line === 'number' ? lineOrChange.line : this.line;
|
|
349
|
-
character = typeof lineOrChange.character === 'number' ? lineOrChange.character : this.character;
|
|
350
|
-
}
|
|
351
|
-
if (line === this.line && character === this.character) {
|
|
352
|
-
return this;
|
|
353
|
-
}
|
|
354
|
-
return new Position_1(line, character);
|
|
355
|
-
}
|
|
356
|
-
static Min(...positions) {
|
|
357
|
-
let result = positions.pop();
|
|
358
|
-
for (const p of positions) {
|
|
359
|
-
if (p.isBefore(result)) {
|
|
360
|
-
result = p;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
return result;
|
|
364
|
-
}
|
|
365
|
-
static Max(...positions) {
|
|
366
|
-
let result = positions.pop();
|
|
367
|
-
for (const p of positions) {
|
|
368
|
-
if (p.isAfter(result)) {
|
|
369
|
-
result = p;
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
return result;
|
|
373
|
-
}
|
|
374
|
-
static isPosition(other) {
|
|
375
|
-
if (!other) {
|
|
376
|
-
return false;
|
|
377
|
-
}
|
|
378
|
-
if (typeof other !== 'object' || Array.isArray(other)) {
|
|
379
|
-
return false;
|
|
380
|
-
}
|
|
381
|
-
if (other instanceof Position_1) {
|
|
382
|
-
return true;
|
|
383
|
-
}
|
|
384
|
-
const { line, character } = other;
|
|
385
|
-
if (typeof line === 'number' && typeof character === 'number') {
|
|
386
|
-
return true;
|
|
387
|
-
}
|
|
388
|
-
return false;
|
|
389
|
-
}
|
|
390
|
-
toJSON() {
|
|
391
|
-
return { line: this.line, character: this.character };
|
|
392
|
-
}
|
|
393
|
-
};
|
|
394
|
-
exports.Position = Position;
|
|
395
|
-
exports.Position = Position = Position_1 = tslib_1.__decorate([
|
|
396
|
-
types_1.es5ClassCompat,
|
|
397
|
-
tslib_1.__metadata("design:paramtypes", [Number, Number])
|
|
398
|
-
], Position);
|
|
399
|
-
let Range = Range_1 = class Range {
|
|
400
|
-
constructor(startLineOrStart, startColumnOrEnd, endLine, endColumn) {
|
|
401
|
-
let start = undefined;
|
|
402
|
-
let end = undefined;
|
|
403
|
-
if (typeof startLineOrStart === 'number' && typeof startColumnOrEnd === 'number' && typeof endLine === 'number' && typeof endColumn === 'number') {
|
|
404
|
-
start = new Position(startLineOrStart, startColumnOrEnd);
|
|
405
|
-
end = new Position(endLine, endColumn);
|
|
406
|
-
}
|
|
407
|
-
else if (startLineOrStart instanceof Position && startColumnOrEnd instanceof Position) {
|
|
408
|
-
start = startLineOrStart;
|
|
409
|
-
end = startColumnOrEnd;
|
|
410
|
-
}
|
|
411
|
-
if (!start || !end) {
|
|
412
|
-
throw new Error('Invalid arguments');
|
|
413
|
-
}
|
|
414
|
-
if (start.isBefore(end)) {
|
|
415
|
-
this._start = start;
|
|
416
|
-
this._end = end;
|
|
417
|
-
}
|
|
418
|
-
else {
|
|
419
|
-
this._start = end;
|
|
420
|
-
this._end = start;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
get start() {
|
|
424
|
-
return this._start;
|
|
425
|
-
}
|
|
426
|
-
get end() {
|
|
427
|
-
return this._end;
|
|
428
|
-
}
|
|
429
|
-
contains(positionOrRange) {
|
|
430
|
-
if (positionOrRange instanceof Range_1) {
|
|
431
|
-
return this.contains(positionOrRange._start)
|
|
432
|
-
&& this.contains(positionOrRange._end);
|
|
433
|
-
}
|
|
434
|
-
else if (positionOrRange instanceof Position) {
|
|
435
|
-
if (positionOrRange.isBefore(this._start)) {
|
|
436
|
-
return false;
|
|
437
|
-
}
|
|
438
|
-
if (this._end.isBefore(positionOrRange)) {
|
|
439
|
-
return false;
|
|
440
|
-
}
|
|
441
|
-
return true;
|
|
442
|
-
}
|
|
443
|
-
return false;
|
|
444
|
-
}
|
|
445
|
-
isEqual(other) {
|
|
446
|
-
return this._start.isEqual(other._start) && this._end.isEqual(other._end);
|
|
447
|
-
}
|
|
448
|
-
intersection(other) {
|
|
449
|
-
const start = Position.Max(other.start, this._start);
|
|
450
|
-
const end = Position.Min(other.end, this._end);
|
|
451
|
-
if (start.isAfter(end)) {
|
|
452
|
-
// this happens when there is no overlap:
|
|
453
|
-
// |-----|
|
|
454
|
-
// |----|
|
|
455
|
-
return undefined;
|
|
456
|
-
}
|
|
457
|
-
return new Range_1(start, end);
|
|
458
|
-
}
|
|
459
|
-
union(other) {
|
|
460
|
-
if (this.contains(other)) {
|
|
461
|
-
return this;
|
|
462
|
-
}
|
|
463
|
-
else if (other.contains(this)) {
|
|
464
|
-
return other;
|
|
465
|
-
}
|
|
466
|
-
const start = Position.Min(other.start, this._start);
|
|
467
|
-
const end = Position.Max(other.end, this.end);
|
|
468
|
-
return new Range_1(start, end);
|
|
469
|
-
}
|
|
470
|
-
get isEmpty() {
|
|
471
|
-
return this._start.isEqual(this._end);
|
|
472
|
-
}
|
|
473
|
-
get isSingleLine() {
|
|
474
|
-
return this._start.line === this._end.line;
|
|
475
|
-
}
|
|
476
|
-
with(startOrChange, end = this.end) {
|
|
477
|
-
if (startOrChange === null || end === null) {
|
|
478
|
-
throw (0, errors_1.illegalArgument)();
|
|
479
|
-
}
|
|
480
|
-
let start;
|
|
481
|
-
if (!startOrChange) {
|
|
482
|
-
start = this.start;
|
|
483
|
-
}
|
|
484
|
-
else if (Position.isPosition(startOrChange)) {
|
|
485
|
-
start = startOrChange;
|
|
486
|
-
}
|
|
487
|
-
else {
|
|
488
|
-
start = startOrChange.start || this.start;
|
|
489
|
-
end = startOrChange.end || this.end;
|
|
490
|
-
}
|
|
491
|
-
if (start.isEqual(this._start) && end.isEqual(this.end)) {
|
|
492
|
-
return this;
|
|
493
|
-
}
|
|
494
|
-
return new Range_1(start, end);
|
|
495
|
-
}
|
|
496
|
-
static isRange(arg) {
|
|
497
|
-
if (arg instanceof Range_1) {
|
|
498
|
-
return true;
|
|
499
|
-
}
|
|
500
|
-
return (0, common_1.isObject)(arg)
|
|
501
|
-
&& Position.isPosition(arg.start)
|
|
502
|
-
&& Position.isPosition(arg.end);
|
|
503
|
-
}
|
|
504
|
-
toJSON() {
|
|
505
|
-
return [this.start, this.end];
|
|
506
|
-
}
|
|
507
|
-
};
|
|
508
|
-
exports.Range = Range;
|
|
509
|
-
exports.Range = Range = Range_1 = tslib_1.__decorate([
|
|
510
|
-
types_1.es5ClassCompat,
|
|
511
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object, Number, Number])
|
|
512
|
-
], Range);
|
|
513
|
-
let Selection = class Selection extends Range {
|
|
514
|
-
constructor(anchorLineOrAnchor, anchorColumnOrActive, activeLine, activeColumn) {
|
|
515
|
-
let anchor = undefined;
|
|
516
|
-
let active = undefined;
|
|
517
|
-
if (typeof anchorLineOrAnchor === 'number' && typeof anchorColumnOrActive === 'number' && typeof activeLine === 'number' && typeof activeColumn === 'number') {
|
|
518
|
-
anchor = new Position(anchorLineOrAnchor, anchorColumnOrActive);
|
|
519
|
-
active = new Position(activeLine, activeColumn);
|
|
520
|
-
}
|
|
521
|
-
else if (anchorLineOrAnchor instanceof Position && anchorColumnOrActive instanceof Position) {
|
|
522
|
-
anchor = anchorLineOrAnchor;
|
|
523
|
-
active = anchorColumnOrActive;
|
|
524
|
-
}
|
|
525
|
-
if (!anchor || !active) {
|
|
526
|
-
throw new Error('Invalid arguments');
|
|
527
|
-
}
|
|
528
|
-
super(anchor, active);
|
|
529
|
-
this._anchor = anchor;
|
|
530
|
-
this._active = active;
|
|
531
|
-
}
|
|
532
|
-
get active() {
|
|
533
|
-
return this._active;
|
|
534
|
-
}
|
|
535
|
-
get anchor() {
|
|
536
|
-
return this._anchor;
|
|
537
|
-
}
|
|
538
|
-
get isReversed() {
|
|
539
|
-
return this._anchor === this._end;
|
|
540
|
-
}
|
|
541
|
-
};
|
|
542
|
-
exports.Selection = Selection;
|
|
543
|
-
exports.Selection = Selection = tslib_1.__decorate([
|
|
544
|
-
types_1.es5ClassCompat,
|
|
545
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object, Number, Number])
|
|
546
|
-
], Selection);
|
|
547
|
-
var TextDocumentShowOptions;
|
|
548
|
-
(function (TextDocumentShowOptions) {
|
|
549
|
-
/**
|
|
550
|
-
* @param candidate
|
|
551
|
-
* @returns `true` if `candidate` is an instance of options that includes a selection.
|
|
552
|
-
* This function should be used to determine whether TextDocumentOptions passed into commands by plugins
|
|
553
|
-
* need to be translated to TextDocumentShowOptions in the style of the RPC model. Selection is the only field that requires translation.
|
|
554
|
-
*/
|
|
555
|
-
function isTextDocumentShowOptions(candidate) {
|
|
556
|
-
if (!candidate) {
|
|
557
|
-
return false;
|
|
558
|
-
}
|
|
559
|
-
const options = candidate;
|
|
560
|
-
return Range.isRange(options.selection);
|
|
561
|
-
}
|
|
562
|
-
TextDocumentShowOptions.isTextDocumentShowOptions = isTextDocumentShowOptions;
|
|
563
|
-
})(TextDocumentShowOptions || (exports.TextDocumentShowOptions = TextDocumentShowOptions = {}));
|
|
564
|
-
var EndOfLine;
|
|
565
|
-
(function (EndOfLine) {
|
|
566
|
-
EndOfLine[EndOfLine["LF"] = 1] = "LF";
|
|
567
|
-
EndOfLine[EndOfLine["CRLF"] = 2] = "CRLF";
|
|
568
|
-
})(EndOfLine || (exports.EndOfLine = EndOfLine = {}));
|
|
569
|
-
var EnvironmentVariableMutatorType;
|
|
570
|
-
(function (EnvironmentVariableMutatorType) {
|
|
571
|
-
EnvironmentVariableMutatorType[EnvironmentVariableMutatorType["Replace"] = 1] = "Replace";
|
|
572
|
-
EnvironmentVariableMutatorType[EnvironmentVariableMutatorType["Append"] = 2] = "Append";
|
|
573
|
-
EnvironmentVariableMutatorType[EnvironmentVariableMutatorType["Prepend"] = 3] = "Prepend";
|
|
574
|
-
})(EnvironmentVariableMutatorType || (exports.EnvironmentVariableMutatorType = EnvironmentVariableMutatorType = {}));
|
|
575
|
-
let SnippetString = SnippetString_1 = class SnippetString {
|
|
576
|
-
static isSnippetString(thing) {
|
|
577
|
-
if (thing instanceof SnippetString_1) {
|
|
578
|
-
return true;
|
|
579
|
-
}
|
|
580
|
-
if (!thing) {
|
|
581
|
-
return false;
|
|
582
|
-
}
|
|
583
|
-
return typeof thing.value === 'string';
|
|
584
|
-
}
|
|
585
|
-
static _escape(value) {
|
|
586
|
-
return value.replace(/\$|}|\\/g, '\\$&');
|
|
587
|
-
}
|
|
588
|
-
constructor(value) {
|
|
589
|
-
this._tabstop = 1;
|
|
590
|
-
this.value = value || '';
|
|
591
|
-
}
|
|
592
|
-
appendText(string) {
|
|
593
|
-
this.value += SnippetString_1._escape(string);
|
|
594
|
-
return this;
|
|
595
|
-
}
|
|
596
|
-
appendTabstop(number = this._tabstop++) {
|
|
597
|
-
this.value += '$';
|
|
598
|
-
this.value += number;
|
|
599
|
-
return this;
|
|
600
|
-
}
|
|
601
|
-
appendPlaceholder(value, number = this._tabstop++) {
|
|
602
|
-
if (typeof value === 'function') {
|
|
603
|
-
const nested = new SnippetString_1();
|
|
604
|
-
nested._tabstop = this._tabstop;
|
|
605
|
-
value(nested);
|
|
606
|
-
this._tabstop = nested._tabstop;
|
|
607
|
-
value = nested.value;
|
|
608
|
-
}
|
|
609
|
-
else {
|
|
610
|
-
value = SnippetString_1._escape(value);
|
|
611
|
-
}
|
|
612
|
-
this.value += '${';
|
|
613
|
-
this.value += number;
|
|
614
|
-
this.value += ':';
|
|
615
|
-
this.value += value;
|
|
616
|
-
this.value += '}';
|
|
617
|
-
return this;
|
|
618
|
-
}
|
|
619
|
-
appendChoice(values, number = this._tabstop++) {
|
|
620
|
-
const value = values.map(s => s.replace(/\$|}|\\|,/g, '\\$&')).join(',');
|
|
621
|
-
this.value += `\$\{${number}|${value}|\}`;
|
|
622
|
-
return this;
|
|
623
|
-
}
|
|
624
|
-
appendVariable(name, defaultValue) {
|
|
625
|
-
if (typeof defaultValue === 'function') {
|
|
626
|
-
const nested = new SnippetString_1();
|
|
627
|
-
nested._tabstop = this._tabstop;
|
|
628
|
-
defaultValue(nested);
|
|
629
|
-
this._tabstop = nested._tabstop;
|
|
630
|
-
defaultValue = nested.value;
|
|
631
|
-
}
|
|
632
|
-
else if (typeof defaultValue === 'string') {
|
|
633
|
-
defaultValue = defaultValue.replace(/\$|}/g, '\\$&');
|
|
634
|
-
}
|
|
635
|
-
this.value += '${';
|
|
636
|
-
this.value += name;
|
|
637
|
-
if (defaultValue) {
|
|
638
|
-
this.value += ':';
|
|
639
|
-
this.value += defaultValue;
|
|
640
|
-
}
|
|
641
|
-
this.value += '}';
|
|
642
|
-
return this;
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
exports.SnippetString = SnippetString;
|
|
646
|
-
exports.SnippetString = SnippetString = SnippetString_1 = tslib_1.__decorate([
|
|
647
|
-
types_1.es5ClassCompat,
|
|
648
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
649
|
-
], SnippetString);
|
|
650
|
-
let ThemeColor = class ThemeColor {
|
|
651
|
-
constructor(id) {
|
|
652
|
-
this.id = id;
|
|
653
|
-
}
|
|
654
|
-
};
|
|
655
|
-
exports.ThemeColor = ThemeColor;
|
|
656
|
-
exports.ThemeColor = ThemeColor = tslib_1.__decorate([
|
|
657
|
-
types_1.es5ClassCompat,
|
|
658
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
659
|
-
], ThemeColor);
|
|
660
|
-
let ThemeIcon = ThemeIcon_1 = class ThemeIcon {
|
|
661
|
-
constructor(id, color) {
|
|
662
|
-
this.id = id;
|
|
663
|
-
this.color = color;
|
|
664
|
-
}
|
|
665
|
-
};
|
|
666
|
-
exports.ThemeIcon = ThemeIcon;
|
|
667
|
-
ThemeIcon.File = new ThemeIcon_1('file');
|
|
668
|
-
ThemeIcon.Folder = new ThemeIcon_1('folder');
|
|
669
|
-
exports.ThemeIcon = ThemeIcon = ThemeIcon_1 = tslib_1.__decorate([
|
|
670
|
-
types_1.es5ClassCompat,
|
|
671
|
-
tslib_1.__metadata("design:paramtypes", [String, ThemeColor])
|
|
672
|
-
], ThemeIcon);
|
|
673
|
-
(function (ThemeIcon) {
|
|
674
|
-
function is(item) {
|
|
675
|
-
return (0, common_1.isObject)(item) && 'id' in item;
|
|
676
|
-
}
|
|
677
|
-
ThemeIcon.is = is;
|
|
678
|
-
function get(item) {
|
|
679
|
-
return is(item) ? item : undefined;
|
|
680
|
-
}
|
|
681
|
-
ThemeIcon.get = get;
|
|
682
|
-
})(ThemeIcon || (exports.ThemeIcon = ThemeIcon = {}));
|
|
683
|
-
var TextEditorRevealType;
|
|
684
|
-
(function (TextEditorRevealType) {
|
|
685
|
-
TextEditorRevealType[TextEditorRevealType["Default"] = 0] = "Default";
|
|
686
|
-
TextEditorRevealType[TextEditorRevealType["InCenter"] = 1] = "InCenter";
|
|
687
|
-
TextEditorRevealType[TextEditorRevealType["InCenterIfOutsideViewport"] = 2] = "InCenterIfOutsideViewport";
|
|
688
|
-
TextEditorRevealType[TextEditorRevealType["AtTop"] = 3] = "AtTop";
|
|
689
|
-
})(TextEditorRevealType || (exports.TextEditorRevealType = TextEditorRevealType = {}));
|
|
690
|
-
/**
|
|
691
|
-
* These values match very carefully the values of `TrackedRangeStickiness`
|
|
692
|
-
*/
|
|
693
|
-
var DecorationRangeBehavior;
|
|
694
|
-
(function (DecorationRangeBehavior) {
|
|
695
|
-
/**
|
|
696
|
-
* TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges
|
|
697
|
-
*/
|
|
698
|
-
DecorationRangeBehavior[DecorationRangeBehavior["OpenOpen"] = 0] = "OpenOpen";
|
|
699
|
-
/**
|
|
700
|
-
* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges
|
|
701
|
-
*/
|
|
702
|
-
DecorationRangeBehavior[DecorationRangeBehavior["ClosedClosed"] = 1] = "ClosedClosed";
|
|
703
|
-
/**
|
|
704
|
-
* TrackedRangeStickiness.GrowsOnlyWhenTypingBefore
|
|
705
|
-
*/
|
|
706
|
-
DecorationRangeBehavior[DecorationRangeBehavior["OpenClosed"] = 2] = "OpenClosed";
|
|
707
|
-
/**
|
|
708
|
-
* TrackedRangeStickiness.GrowsOnlyWhenTypingAfter
|
|
709
|
-
*/
|
|
710
|
-
DecorationRangeBehavior[DecorationRangeBehavior["ClosedOpen"] = 3] = "ClosedOpen";
|
|
711
|
-
})(DecorationRangeBehavior || (exports.DecorationRangeBehavior = DecorationRangeBehavior = {}));
|
|
712
|
-
/**
|
|
713
|
-
* Vertical Lane in the overview ruler of the editor.
|
|
714
|
-
*/
|
|
715
|
-
var OverviewRulerLane;
|
|
716
|
-
(function (OverviewRulerLane) {
|
|
717
|
-
OverviewRulerLane[OverviewRulerLane["Left"] = 1] = "Left";
|
|
718
|
-
OverviewRulerLane[OverviewRulerLane["Center"] = 2] = "Center";
|
|
719
|
-
OverviewRulerLane[OverviewRulerLane["Right"] = 4] = "Right";
|
|
720
|
-
OverviewRulerLane[OverviewRulerLane["Full"] = 7] = "Full";
|
|
721
|
-
})(OverviewRulerLane || (exports.OverviewRulerLane = OverviewRulerLane = {}));
|
|
722
|
-
var ConfigurationTarget;
|
|
723
|
-
(function (ConfigurationTarget) {
|
|
724
|
-
ConfigurationTarget[ConfigurationTarget["Global"] = 1] = "Global";
|
|
725
|
-
ConfigurationTarget[ConfigurationTarget["Workspace"] = 2] = "Workspace";
|
|
726
|
-
ConfigurationTarget[ConfigurationTarget["WorkspaceFolder"] = 3] = "WorkspaceFolder";
|
|
727
|
-
ConfigurationTarget[ConfigurationTarget["Default"] = 4] = "Default";
|
|
728
|
-
ConfigurationTarget[ConfigurationTarget["Memory"] = 5] = "Memory";
|
|
729
|
-
})(ConfigurationTarget || (exports.ConfigurationTarget = ConfigurationTarget = {}));
|
|
730
|
-
let RelativePattern = class RelativePattern {
|
|
731
|
-
get base() {
|
|
732
|
-
return this._base;
|
|
733
|
-
}
|
|
734
|
-
set base(base) {
|
|
735
|
-
this._base = base;
|
|
736
|
-
this._baseUri = URI.file(base);
|
|
737
|
-
}
|
|
738
|
-
get baseUri() {
|
|
739
|
-
return this._baseUri;
|
|
740
|
-
}
|
|
741
|
-
set baseUri(baseUri) {
|
|
742
|
-
this._baseUri = baseUri;
|
|
743
|
-
this.base = baseUri.fsPath;
|
|
744
|
-
}
|
|
745
|
-
constructor(base, pattern) {
|
|
746
|
-
this.pattern = pattern;
|
|
747
|
-
if (typeof base !== 'string') {
|
|
748
|
-
if (!base || !URI.isUri(base) && !URI.isUri(base.uri)) {
|
|
749
|
-
throw (0, errors_1.illegalArgument)('base');
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
if (typeof pattern !== 'string') {
|
|
753
|
-
throw (0, errors_1.illegalArgument)('pattern');
|
|
754
|
-
}
|
|
755
|
-
if (typeof base === 'string') {
|
|
756
|
-
this.baseUri = URI.file(base);
|
|
757
|
-
}
|
|
758
|
-
else if (URI.isUri(base)) {
|
|
759
|
-
this.baseUri = base;
|
|
760
|
-
}
|
|
761
|
-
else {
|
|
762
|
-
this.baseUri = base.uri;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
pathToRelative(from, to) {
|
|
766
|
-
return (0, paths_util_1.relative)(from, to);
|
|
767
|
-
}
|
|
768
|
-
};
|
|
769
|
-
exports.RelativePattern = RelativePattern;
|
|
770
|
-
exports.RelativePattern = RelativePattern = tslib_1.__decorate([
|
|
771
|
-
types_1.es5ClassCompat,
|
|
772
|
-
tslib_1.__metadata("design:paramtypes", [Object, String])
|
|
773
|
-
], RelativePattern);
|
|
774
|
-
var IndentAction;
|
|
775
|
-
(function (IndentAction) {
|
|
776
|
-
IndentAction[IndentAction["None"] = 0] = "None";
|
|
777
|
-
IndentAction[IndentAction["Indent"] = 1] = "Indent";
|
|
778
|
-
IndentAction[IndentAction["IndentOutdent"] = 2] = "IndentOutdent";
|
|
779
|
-
IndentAction[IndentAction["Outdent"] = 3] = "Outdent";
|
|
780
|
-
})(IndentAction || (exports.IndentAction = IndentAction = {}));
|
|
781
|
-
var SyntaxTokenType;
|
|
782
|
-
(function (SyntaxTokenType) {
|
|
783
|
-
function toString(v) {
|
|
784
|
-
switch (v) {
|
|
785
|
-
case SyntaxTokenType.Other: return 'other';
|
|
786
|
-
case SyntaxTokenType.Comment: return 'comment';
|
|
787
|
-
case SyntaxTokenType.String: return 'string';
|
|
788
|
-
case SyntaxTokenType.RegEx: return 'regex';
|
|
789
|
-
}
|
|
790
|
-
return 'other';
|
|
791
|
-
}
|
|
792
|
-
SyntaxTokenType.toString = toString;
|
|
793
|
-
})(SyntaxTokenType || (exports.SyntaxTokenType = SyntaxTokenType = {}));
|
|
794
|
-
(function (SyntaxTokenType) {
|
|
795
|
-
/**
|
|
796
|
-
* Everything except tokens that are part of comments, string literals and regular expressions.
|
|
797
|
-
*/
|
|
798
|
-
SyntaxTokenType[SyntaxTokenType["Other"] = 0] = "Other";
|
|
799
|
-
/**
|
|
800
|
-
* A comment.
|
|
801
|
-
*/
|
|
802
|
-
SyntaxTokenType[SyntaxTokenType["Comment"] = 1] = "Comment";
|
|
803
|
-
/**
|
|
804
|
-
* A string literal.
|
|
805
|
-
*/
|
|
806
|
-
SyntaxTokenType[SyntaxTokenType["String"] = 2] = "String";
|
|
807
|
-
/**
|
|
808
|
-
* A regular expression.
|
|
809
|
-
*/
|
|
810
|
-
SyntaxTokenType[SyntaxTokenType["RegEx"] = 3] = "RegEx";
|
|
811
|
-
})(SyntaxTokenType || (exports.SyntaxTokenType = SyntaxTokenType = {}));
|
|
812
|
-
let TextEdit = TextEdit_1 = class TextEdit {
|
|
813
|
-
get range() {
|
|
814
|
-
return this._range;
|
|
815
|
-
}
|
|
816
|
-
set range(value) {
|
|
817
|
-
if (value && !Range.isRange(value)) {
|
|
818
|
-
throw (0, errors_1.illegalArgument)('range');
|
|
819
|
-
}
|
|
820
|
-
this._range = value;
|
|
821
|
-
}
|
|
822
|
-
get newText() {
|
|
823
|
-
return this._newText || '';
|
|
824
|
-
}
|
|
825
|
-
set newText(value) {
|
|
826
|
-
if (value && typeof value !== 'string') {
|
|
827
|
-
throw (0, errors_1.illegalArgument)('newText');
|
|
828
|
-
}
|
|
829
|
-
this._newText = value;
|
|
830
|
-
}
|
|
831
|
-
get newEol() {
|
|
832
|
-
return this._newEol;
|
|
833
|
-
}
|
|
834
|
-
set newEol(value) {
|
|
835
|
-
if (value && typeof value !== 'number') {
|
|
836
|
-
throw (0, errors_1.illegalArgument)('newEol');
|
|
837
|
-
}
|
|
838
|
-
this._newEol = value;
|
|
839
|
-
}
|
|
840
|
-
constructor(range, newText) {
|
|
841
|
-
this.range = range;
|
|
842
|
-
this.newText = newText;
|
|
843
|
-
}
|
|
844
|
-
static isTextEdit(thing) {
|
|
845
|
-
if (thing instanceof TextEdit_1) {
|
|
846
|
-
return true;
|
|
847
|
-
}
|
|
848
|
-
if (!thing) {
|
|
849
|
-
return false;
|
|
850
|
-
}
|
|
851
|
-
return Range.isRange(thing.range)
|
|
852
|
-
&& typeof thing.newText === 'string';
|
|
853
|
-
}
|
|
854
|
-
static replace(range, newText) {
|
|
855
|
-
return new TextEdit_1(range, newText);
|
|
856
|
-
}
|
|
857
|
-
static insert(position, newText) {
|
|
858
|
-
return TextEdit_1.replace(new Range(position, position), newText);
|
|
859
|
-
}
|
|
860
|
-
static delete(range) {
|
|
861
|
-
return TextEdit_1.replace(range, '');
|
|
862
|
-
}
|
|
863
|
-
static setEndOfLine(eol) {
|
|
864
|
-
const ret = new TextEdit_1(undefined, undefined);
|
|
865
|
-
ret.newEol = eol;
|
|
866
|
-
return ret;
|
|
867
|
-
}
|
|
868
|
-
};
|
|
869
|
-
exports.TextEdit = TextEdit;
|
|
870
|
-
exports.TextEdit = TextEdit = TextEdit_1 = tslib_1.__decorate([
|
|
871
|
-
types_1.es5ClassCompat,
|
|
872
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object])
|
|
873
|
-
], TextEdit);
|
|
874
|
-
var CompletionTriggerKind;
|
|
875
|
-
(function (CompletionTriggerKind) {
|
|
876
|
-
CompletionTriggerKind[CompletionTriggerKind["Invoke"] = 0] = "Invoke";
|
|
877
|
-
CompletionTriggerKind[CompletionTriggerKind["TriggerCharacter"] = 1] = "TriggerCharacter";
|
|
878
|
-
CompletionTriggerKind[CompletionTriggerKind["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions";
|
|
879
|
-
})(CompletionTriggerKind || (exports.CompletionTriggerKind = CompletionTriggerKind = {}));
|
|
880
|
-
var CompletionItemKind;
|
|
881
|
-
(function (CompletionItemKind) {
|
|
882
|
-
CompletionItemKind[CompletionItemKind["Text"] = 0] = "Text";
|
|
883
|
-
CompletionItemKind[CompletionItemKind["Method"] = 1] = "Method";
|
|
884
|
-
CompletionItemKind[CompletionItemKind["Function"] = 2] = "Function";
|
|
885
|
-
CompletionItemKind[CompletionItemKind["Constructor"] = 3] = "Constructor";
|
|
886
|
-
CompletionItemKind[CompletionItemKind["Field"] = 4] = "Field";
|
|
887
|
-
CompletionItemKind[CompletionItemKind["Variable"] = 5] = "Variable";
|
|
888
|
-
CompletionItemKind[CompletionItemKind["Class"] = 6] = "Class";
|
|
889
|
-
CompletionItemKind[CompletionItemKind["Interface"] = 7] = "Interface";
|
|
890
|
-
CompletionItemKind[CompletionItemKind["Module"] = 8] = "Module";
|
|
891
|
-
CompletionItemKind[CompletionItemKind["Property"] = 9] = "Property";
|
|
892
|
-
CompletionItemKind[CompletionItemKind["Unit"] = 10] = "Unit";
|
|
893
|
-
CompletionItemKind[CompletionItemKind["Value"] = 11] = "Value";
|
|
894
|
-
CompletionItemKind[CompletionItemKind["Enum"] = 12] = "Enum";
|
|
895
|
-
CompletionItemKind[CompletionItemKind["Keyword"] = 13] = "Keyword";
|
|
896
|
-
CompletionItemKind[CompletionItemKind["Snippet"] = 14] = "Snippet";
|
|
897
|
-
CompletionItemKind[CompletionItemKind["Color"] = 15] = "Color";
|
|
898
|
-
CompletionItemKind[CompletionItemKind["File"] = 16] = "File";
|
|
899
|
-
CompletionItemKind[CompletionItemKind["Reference"] = 17] = "Reference";
|
|
900
|
-
CompletionItemKind[CompletionItemKind["Folder"] = 18] = "Folder";
|
|
901
|
-
CompletionItemKind[CompletionItemKind["EnumMember"] = 19] = "EnumMember";
|
|
902
|
-
CompletionItemKind[CompletionItemKind["Constant"] = 20] = "Constant";
|
|
903
|
-
CompletionItemKind[CompletionItemKind["Struct"] = 21] = "Struct";
|
|
904
|
-
CompletionItemKind[CompletionItemKind["Event"] = 22] = "Event";
|
|
905
|
-
CompletionItemKind[CompletionItemKind["Operator"] = 23] = "Operator";
|
|
906
|
-
CompletionItemKind[CompletionItemKind["TypeParameter"] = 24] = "TypeParameter";
|
|
907
|
-
CompletionItemKind[CompletionItemKind["User"] = 25] = "User";
|
|
908
|
-
CompletionItemKind[CompletionItemKind["Issue"] = 26] = "Issue";
|
|
909
|
-
})(CompletionItemKind || (exports.CompletionItemKind = CompletionItemKind = {}));
|
|
910
|
-
let CompletionItem = class CompletionItem {
|
|
911
|
-
constructor(label, kind) {
|
|
912
|
-
this.label = label;
|
|
913
|
-
this.kind = kind;
|
|
914
|
-
}
|
|
915
|
-
};
|
|
916
|
-
exports.CompletionItem = CompletionItem;
|
|
917
|
-
exports.CompletionItem = CompletionItem = tslib_1.__decorate([
|
|
918
|
-
types_1.es5ClassCompat,
|
|
919
|
-
tslib_1.__metadata("design:paramtypes", [String, Number])
|
|
920
|
-
], CompletionItem);
|
|
921
|
-
let CompletionList = class CompletionList {
|
|
922
|
-
constructor(items = [], isIncomplete = false) {
|
|
923
|
-
this.items = items;
|
|
924
|
-
this.isIncomplete = isIncomplete;
|
|
925
|
-
}
|
|
926
|
-
};
|
|
927
|
-
exports.CompletionList = CompletionList;
|
|
928
|
-
exports.CompletionList = CompletionList = tslib_1.__decorate([
|
|
929
|
-
types_1.es5ClassCompat,
|
|
930
|
-
tslib_1.__metadata("design:paramtypes", [Array, Boolean])
|
|
931
|
-
], CompletionList);
|
|
932
|
-
var InlineCompletionTriggerKind;
|
|
933
|
-
(function (InlineCompletionTriggerKind) {
|
|
934
|
-
InlineCompletionTriggerKind[InlineCompletionTriggerKind["Invoke"] = 0] = "Invoke";
|
|
935
|
-
InlineCompletionTriggerKind[InlineCompletionTriggerKind["Automatic"] = 1] = "Automatic";
|
|
936
|
-
})(InlineCompletionTriggerKind || (exports.InlineCompletionTriggerKind = InlineCompletionTriggerKind = {}));
|
|
937
|
-
let InlineCompletionItem = class InlineCompletionItem {
|
|
938
|
-
constructor(insertText, range, command) {
|
|
939
|
-
this.insertText = insertText;
|
|
940
|
-
this.range = range;
|
|
941
|
-
this.command = command;
|
|
942
|
-
}
|
|
943
|
-
};
|
|
944
|
-
exports.InlineCompletionItem = InlineCompletionItem;
|
|
945
|
-
exports.InlineCompletionItem = InlineCompletionItem = tslib_1.__decorate([
|
|
946
|
-
types_1.es5ClassCompat,
|
|
947
|
-
tslib_1.__metadata("design:paramtypes", [String, Range, Object])
|
|
948
|
-
], InlineCompletionItem);
|
|
949
|
-
let InlineCompletionList = class InlineCompletionList {
|
|
950
|
-
constructor(items) {
|
|
951
|
-
this.commands = undefined;
|
|
952
|
-
this.items = items;
|
|
953
|
-
}
|
|
954
|
-
};
|
|
955
|
-
exports.InlineCompletionList = InlineCompletionList;
|
|
956
|
-
exports.InlineCompletionList = InlineCompletionList = tslib_1.__decorate([
|
|
957
|
-
types_1.es5ClassCompat,
|
|
958
|
-
tslib_1.__metadata("design:paramtypes", [Array])
|
|
959
|
-
], InlineCompletionList);
|
|
960
|
-
var DiagnosticSeverity;
|
|
961
|
-
(function (DiagnosticSeverity) {
|
|
962
|
-
DiagnosticSeverity[DiagnosticSeverity["Error"] = 0] = "Error";
|
|
963
|
-
DiagnosticSeverity[DiagnosticSeverity["Warning"] = 1] = "Warning";
|
|
964
|
-
DiagnosticSeverity[DiagnosticSeverity["Information"] = 2] = "Information";
|
|
965
|
-
DiagnosticSeverity[DiagnosticSeverity["Hint"] = 3] = "Hint";
|
|
966
|
-
})(DiagnosticSeverity || (exports.DiagnosticSeverity = DiagnosticSeverity = {}));
|
|
967
|
-
var DebugConsoleMode;
|
|
968
|
-
(function (DebugConsoleMode) {
|
|
969
|
-
DebugConsoleMode[DebugConsoleMode["Separate"] = 0] = "Separate";
|
|
970
|
-
DebugConsoleMode[DebugConsoleMode["MergeWithParent"] = 1] = "MergeWithParent";
|
|
971
|
-
})(DebugConsoleMode || (exports.DebugConsoleMode = DebugConsoleMode = {}));
|
|
972
|
-
let Location = Location_1 = class Location {
|
|
973
|
-
constructor(uri, rangeOrPosition) {
|
|
974
|
-
this.uri = uri;
|
|
975
|
-
if (rangeOrPosition instanceof Range) {
|
|
976
|
-
this.range = rangeOrPosition;
|
|
977
|
-
}
|
|
978
|
-
else if (rangeOrPosition instanceof Position) {
|
|
979
|
-
this.range = new Range(rangeOrPosition, rangeOrPosition);
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
static isLocation(thing) {
|
|
983
|
-
if (thing instanceof Location_1) {
|
|
984
|
-
return true;
|
|
985
|
-
}
|
|
986
|
-
if (!thing) {
|
|
987
|
-
return false;
|
|
988
|
-
}
|
|
989
|
-
return Range.isRange(thing.range)
|
|
990
|
-
&& URI.isUri(thing.uri);
|
|
991
|
-
}
|
|
992
|
-
};
|
|
993
|
-
exports.Location = Location;
|
|
994
|
-
exports.Location = Location = Location_1 = tslib_1.__decorate([
|
|
995
|
-
types_1.es5ClassCompat,
|
|
996
|
-
tslib_1.__metadata("design:paramtypes", [URI, Object])
|
|
997
|
-
], Location);
|
|
998
|
-
let DiagnosticRelatedInformation = class DiagnosticRelatedInformation {
|
|
999
|
-
constructor(location, message) {
|
|
1000
|
-
this.location = location;
|
|
1001
|
-
this.message = message;
|
|
1002
|
-
}
|
|
1003
|
-
};
|
|
1004
|
-
exports.DiagnosticRelatedInformation = DiagnosticRelatedInformation;
|
|
1005
|
-
exports.DiagnosticRelatedInformation = DiagnosticRelatedInformation = tslib_1.__decorate([
|
|
1006
|
-
types_1.es5ClassCompat,
|
|
1007
|
-
tslib_1.__metadata("design:paramtypes", [Location, String])
|
|
1008
|
-
], DiagnosticRelatedInformation);
|
|
1009
|
-
var DiagnosticTag;
|
|
1010
|
-
(function (DiagnosticTag) {
|
|
1011
|
-
DiagnosticTag[DiagnosticTag["Unnecessary"] = 1] = "Unnecessary";
|
|
1012
|
-
DiagnosticTag[DiagnosticTag["Deprecated"] = 2] = "Deprecated";
|
|
1013
|
-
})(DiagnosticTag || (exports.DiagnosticTag = DiagnosticTag = {}));
|
|
1014
|
-
var CompletionItemTag;
|
|
1015
|
-
(function (CompletionItemTag) {
|
|
1016
|
-
CompletionItemTag[CompletionItemTag["Deprecated"] = 1] = "Deprecated";
|
|
1017
|
-
})(CompletionItemTag || (exports.CompletionItemTag = CompletionItemTag = {}));
|
|
1018
|
-
let Diagnostic = class Diagnostic {
|
|
1019
|
-
constructor(range, message, severity = DiagnosticSeverity.Error) {
|
|
1020
|
-
this.range = range;
|
|
1021
|
-
this.message = message;
|
|
1022
|
-
this.severity = severity;
|
|
1023
|
-
}
|
|
1024
|
-
};
|
|
1025
|
-
exports.Diagnostic = Diagnostic;
|
|
1026
|
-
exports.Diagnostic = Diagnostic = tslib_1.__decorate([
|
|
1027
|
-
types_1.es5ClassCompat,
|
|
1028
|
-
tslib_1.__metadata("design:paramtypes", [Range, String, Number])
|
|
1029
|
-
], Diagnostic);
|
|
1030
|
-
var MarkerSeverity;
|
|
1031
|
-
(function (MarkerSeverity) {
|
|
1032
|
-
MarkerSeverity[MarkerSeverity["Hint"] = 1] = "Hint";
|
|
1033
|
-
MarkerSeverity[MarkerSeverity["Info"] = 2] = "Info";
|
|
1034
|
-
MarkerSeverity[MarkerSeverity["Warning"] = 4] = "Warning";
|
|
1035
|
-
MarkerSeverity[MarkerSeverity["Error"] = 8] = "Error";
|
|
1036
|
-
})(MarkerSeverity || (exports.MarkerSeverity = MarkerSeverity = {}));
|
|
1037
|
-
var MarkerTag;
|
|
1038
|
-
(function (MarkerTag) {
|
|
1039
|
-
MarkerTag[MarkerTag["Unnecessary"] = 1] = "Unnecessary";
|
|
1040
|
-
MarkerTag[MarkerTag["Deprecated"] = 2] = "Deprecated";
|
|
1041
|
-
})(MarkerTag || (exports.MarkerTag = MarkerTag = {}));
|
|
1042
|
-
var NotebookCellKind;
|
|
1043
|
-
(function (NotebookCellKind) {
|
|
1044
|
-
NotebookCellKind[NotebookCellKind["Markup"] = 1] = "Markup";
|
|
1045
|
-
NotebookCellKind[NotebookCellKind["Code"] = 2] = "Code";
|
|
1046
|
-
})(NotebookCellKind || (exports.NotebookCellKind = NotebookCellKind = {}));
|
|
1047
|
-
var NotebookCellStatusBarAlignment;
|
|
1048
|
-
(function (NotebookCellStatusBarAlignment) {
|
|
1049
|
-
NotebookCellStatusBarAlignment[NotebookCellStatusBarAlignment["Left"] = 1] = "Left";
|
|
1050
|
-
NotebookCellStatusBarAlignment[NotebookCellStatusBarAlignment["Right"] = 2] = "Right";
|
|
1051
|
-
})(NotebookCellStatusBarAlignment || (exports.NotebookCellStatusBarAlignment = NotebookCellStatusBarAlignment = {}));
|
|
1052
|
-
var NotebookControllerAffinity;
|
|
1053
|
-
(function (NotebookControllerAffinity) {
|
|
1054
|
-
NotebookControllerAffinity[NotebookControllerAffinity["Default"] = 1] = "Default";
|
|
1055
|
-
NotebookControllerAffinity[NotebookControllerAffinity["Preferred"] = 2] = "Preferred";
|
|
1056
|
-
})(NotebookControllerAffinity || (exports.NotebookControllerAffinity = NotebookControllerAffinity = {}));
|
|
1057
|
-
var NotebookEditorRevealType;
|
|
1058
|
-
(function (NotebookEditorRevealType) {
|
|
1059
|
-
NotebookEditorRevealType[NotebookEditorRevealType["Default"] = 0] = "Default";
|
|
1060
|
-
NotebookEditorRevealType[NotebookEditorRevealType["InCenter"] = 1] = "InCenter";
|
|
1061
|
-
NotebookEditorRevealType[NotebookEditorRevealType["InCenterIfOutsideViewport"] = 2] = "InCenterIfOutsideViewport";
|
|
1062
|
-
NotebookEditorRevealType[NotebookEditorRevealType["AtTop"] = 3] = "AtTop";
|
|
1063
|
-
})(NotebookEditorRevealType || (exports.NotebookEditorRevealType = NotebookEditorRevealType = {}));
|
|
1064
|
-
var NotebookCellExecutionState;
|
|
1065
|
-
(function (NotebookCellExecutionState) {
|
|
1066
|
-
/**
|
|
1067
|
-
* The cell is idle.
|
|
1068
|
-
*/
|
|
1069
|
-
NotebookCellExecutionState[NotebookCellExecutionState["Idle"] = 1] = "Idle";
|
|
1070
|
-
/**
|
|
1071
|
-
* Execution for the cell is pending.
|
|
1072
|
-
*/
|
|
1073
|
-
NotebookCellExecutionState[NotebookCellExecutionState["Pending"] = 2] = "Pending";
|
|
1074
|
-
/**
|
|
1075
|
-
* The cell is currently executing.
|
|
1076
|
-
*/
|
|
1077
|
-
NotebookCellExecutionState[NotebookCellExecutionState["Executing"] = 3] = "Executing";
|
|
1078
|
-
})(NotebookCellExecutionState || (exports.NotebookCellExecutionState = NotebookCellExecutionState = {}));
|
|
1079
|
-
class NotebookKernelSourceAction {
|
|
1080
|
-
constructor(label) {
|
|
1081
|
-
this.label = label;
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
exports.NotebookKernelSourceAction = NotebookKernelSourceAction;
|
|
1085
|
-
let NotebookCellData = class NotebookCellData {
|
|
1086
|
-
constructor(kind, value, languageId, outputs, metadata, executionSummary) {
|
|
1087
|
-
this.kind = kind;
|
|
1088
|
-
this.value = value;
|
|
1089
|
-
this.languageId = languageId;
|
|
1090
|
-
this.outputs = outputs !== null && outputs !== void 0 ? outputs : [];
|
|
1091
|
-
this.metadata = metadata;
|
|
1092
|
-
this.executionSummary = executionSummary;
|
|
1093
|
-
}
|
|
1094
|
-
};
|
|
1095
|
-
exports.NotebookCellData = NotebookCellData;
|
|
1096
|
-
exports.NotebookCellData = NotebookCellData = tslib_1.__decorate([
|
|
1097
|
-
types_1.es5ClassCompat,
|
|
1098
|
-
tslib_1.__metadata("design:paramtypes", [Number, String, String, Array, Object, Object])
|
|
1099
|
-
], NotebookCellData);
|
|
1100
|
-
let NotebookCellOutput = class NotebookCellOutput {
|
|
1101
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1102
|
-
constructor(items, idOrMetadata, metadata) {
|
|
1103
|
-
this.items = items;
|
|
1104
|
-
if (typeof idOrMetadata === 'string') {
|
|
1105
|
-
this.outputId = idOrMetadata;
|
|
1106
|
-
this.metadata = metadata;
|
|
1107
|
-
}
|
|
1108
|
-
else {
|
|
1109
|
-
this.outputId = coreutils_1.UUID.uuid4();
|
|
1110
|
-
this.metadata = idOrMetadata !== null && idOrMetadata !== void 0 ? idOrMetadata : metadata;
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
};
|
|
1114
|
-
exports.NotebookCellOutput = NotebookCellOutput;
|
|
1115
|
-
exports.NotebookCellOutput = NotebookCellOutput = tslib_1.__decorate([
|
|
1116
|
-
types_1.es5ClassCompat,
|
|
1117
|
-
tslib_1.__metadata("design:paramtypes", [Array, Object, Object])
|
|
1118
|
-
], NotebookCellOutput);
|
|
1119
|
-
class NotebookCellOutputItem {
|
|
1120
|
-
static text(value, mime) {
|
|
1121
|
-
const bytes = tslib_1.__classPrivateFieldGet(_a, _a, "f", _NotebookCellOutputItem_encoder).encode(String(value));
|
|
1122
|
-
return new _a(bytes, mime || 'text/plain');
|
|
1123
|
-
}
|
|
1124
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1125
|
-
static json(value, mime) {
|
|
1126
|
-
const jsonStr = JSON.stringify(value, undefined, '\t');
|
|
1127
|
-
return _a.text(jsonStr, mime);
|
|
1128
|
-
}
|
|
1129
|
-
static stdout(value) {
|
|
1130
|
-
return _a.text(value, 'application/vnd.code.notebook.stdout');
|
|
1131
|
-
}
|
|
1132
|
-
static stderr(value) {
|
|
1133
|
-
return _a.text(value, 'application/vnd.code.notebook.stderr');
|
|
1134
|
-
}
|
|
1135
|
-
static error(value) {
|
|
1136
|
-
return _a.json(value, 'application/vnd.code.notebook.error');
|
|
1137
|
-
}
|
|
1138
|
-
constructor(data, mime) {
|
|
1139
|
-
this.data = data;
|
|
1140
|
-
this.mime = mime;
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
exports.NotebookCellOutputItem = NotebookCellOutputItem;
|
|
1144
|
-
_a = NotebookCellOutputItem;
|
|
1145
|
-
_NotebookCellOutputItem_encoder = { value: new TextEncoder() };
|
|
1146
|
-
let NotebookCellStatusBarItem = class NotebookCellStatusBarItem {
|
|
1147
|
-
/**
|
|
1148
|
-
* Creates a new NotebookCellStatusBarItem.
|
|
1149
|
-
* @param text The text to show for the item.
|
|
1150
|
-
* @param alignment Whether the item is aligned to the left or right.
|
|
1151
|
-
* @stubbed
|
|
1152
|
-
*/
|
|
1153
|
-
constructor(text, alignment) {
|
|
1154
|
-
this.text = text;
|
|
1155
|
-
this.alignment = alignment;
|
|
1156
|
-
}
|
|
1157
|
-
};
|
|
1158
|
-
exports.NotebookCellStatusBarItem = NotebookCellStatusBarItem;
|
|
1159
|
-
exports.NotebookCellStatusBarItem = NotebookCellStatusBarItem = tslib_1.__decorate([
|
|
1160
|
-
types_1.es5ClassCompat,
|
|
1161
|
-
tslib_1.__metadata("design:paramtypes", [String, Number])
|
|
1162
|
-
], NotebookCellStatusBarItem);
|
|
1163
|
-
let NotebookData = class NotebookData {
|
|
1164
|
-
constructor(cells) {
|
|
1165
|
-
this.cells = cells;
|
|
1166
|
-
}
|
|
1167
|
-
};
|
|
1168
|
-
exports.NotebookData = NotebookData;
|
|
1169
|
-
exports.NotebookData = NotebookData = tslib_1.__decorate([
|
|
1170
|
-
types_1.es5ClassCompat,
|
|
1171
|
-
tslib_1.__metadata("design:paramtypes", [Array])
|
|
1172
|
-
], NotebookData);
|
|
1173
|
-
class NotebookRange {
|
|
1174
|
-
static isNotebookRange(thing) {
|
|
1175
|
-
if (thing instanceof NotebookRange) {
|
|
1176
|
-
return true;
|
|
1177
|
-
}
|
|
1178
|
-
if (!thing) {
|
|
1179
|
-
return false;
|
|
1180
|
-
}
|
|
1181
|
-
return typeof thing.start === 'number'
|
|
1182
|
-
&& typeof thing.end === 'number';
|
|
1183
|
-
}
|
|
1184
|
-
with(change) {
|
|
1185
|
-
let newStart = this.start;
|
|
1186
|
-
let newEnd = this.end;
|
|
1187
|
-
if (change.start !== undefined) {
|
|
1188
|
-
newStart = change.start;
|
|
1189
|
-
}
|
|
1190
|
-
if (change.end !== undefined) {
|
|
1191
|
-
newEnd = change.end;
|
|
1192
|
-
}
|
|
1193
|
-
if (newStart === this.start && newEnd === this.end) {
|
|
1194
|
-
return this;
|
|
1195
|
-
}
|
|
1196
|
-
return new NotebookRange(newStart, newEnd);
|
|
1197
|
-
}
|
|
1198
|
-
constructor(start, end) {
|
|
1199
|
-
this.start = start;
|
|
1200
|
-
this.end = end;
|
|
1201
|
-
}
|
|
1202
|
-
}
|
|
1203
|
-
exports.NotebookRange = NotebookRange;
|
|
1204
|
-
class SnippetTextEdit {
|
|
1205
|
-
static isSnippetTextEdit(thing) {
|
|
1206
|
-
return thing instanceof SnippetTextEdit || (0, common_1.isObject)(thing)
|
|
1207
|
-
&& Range.isRange(thing.range)
|
|
1208
|
-
&& SnippetString.isSnippetString(thing.snippet);
|
|
1209
|
-
}
|
|
1210
|
-
static replace(range, snippet) {
|
|
1211
|
-
return new SnippetTextEdit(range, snippet);
|
|
1212
|
-
}
|
|
1213
|
-
static insert(position, snippet) {
|
|
1214
|
-
return SnippetTextEdit.replace(new Range(position, position), snippet);
|
|
1215
|
-
}
|
|
1216
|
-
constructor(range, snippet) {
|
|
1217
|
-
this.range = range;
|
|
1218
|
-
this.snippet = snippet;
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
exports.SnippetTextEdit = SnippetTextEdit;
|
|
1222
|
-
let NotebookEdit = NotebookEdit_1 = class NotebookEdit {
|
|
1223
|
-
static isNotebookCellEdit(thing) {
|
|
1224
|
-
if (thing instanceof NotebookEdit_1) {
|
|
1225
|
-
return true;
|
|
1226
|
-
}
|
|
1227
|
-
if (!thing) {
|
|
1228
|
-
return false;
|
|
1229
|
-
}
|
|
1230
|
-
return NotebookRange.isNotebookRange(thing)
|
|
1231
|
-
&& Array.isArray(thing.newCells);
|
|
1232
|
-
}
|
|
1233
|
-
static replaceCells(range, newCells) {
|
|
1234
|
-
return new NotebookEdit_1(range, newCells);
|
|
1235
|
-
}
|
|
1236
|
-
static insertCells(index, newCells) {
|
|
1237
|
-
return new NotebookEdit_1(new NotebookRange(index, index), newCells);
|
|
1238
|
-
}
|
|
1239
|
-
static deleteCells(range) {
|
|
1240
|
-
return new NotebookEdit_1(range, []);
|
|
1241
|
-
}
|
|
1242
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1243
|
-
static updateCellMetadata(index, newCellMetadata) {
|
|
1244
|
-
return new NotebookEdit_1(new NotebookRange(index, index), [], newCellMetadata);
|
|
1245
|
-
}
|
|
1246
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1247
|
-
static updateNotebookMetadata(newNotebookMetadata) {
|
|
1248
|
-
return new NotebookEdit_1(new NotebookRange(0, 0), [], undefined, newNotebookMetadata);
|
|
1249
|
-
}
|
|
1250
|
-
constructor(range, newCells, newCellMetadata, newNotebookMetadata) {
|
|
1251
|
-
this.range = range;
|
|
1252
|
-
this.newCells = newCells;
|
|
1253
|
-
this.newCellMetadata = newCellMetadata;
|
|
1254
|
-
this.newNotebookMetadata = newNotebookMetadata;
|
|
1255
|
-
}
|
|
1256
|
-
};
|
|
1257
|
-
exports.NotebookEdit = NotebookEdit;
|
|
1258
|
-
exports.NotebookEdit = NotebookEdit = NotebookEdit_1 = tslib_1.__decorate([
|
|
1259
|
-
types_1.es5ClassCompat,
|
|
1260
|
-
tslib_1.__metadata("design:paramtypes", [NotebookRange, Array, Object, Object])
|
|
1261
|
-
], NotebookEdit);
|
|
1262
|
-
class NotebookRendererScript {
|
|
1263
|
-
constructor(uri, provides) {
|
|
1264
|
-
this.uri = uri;
|
|
1265
|
-
this.provides = Array.isArray(provides) ? provides : [provides];
|
|
1266
|
-
}
|
|
1267
|
-
;
|
|
1268
|
-
}
|
|
1269
|
-
exports.NotebookRendererScript = NotebookRendererScript;
|
|
1270
|
-
let ParameterInformation = class ParameterInformation {
|
|
1271
|
-
constructor(label, documentation) {
|
|
1272
|
-
this.label = label;
|
|
1273
|
-
this.documentation = documentation;
|
|
1274
|
-
}
|
|
1275
|
-
};
|
|
1276
|
-
exports.ParameterInformation = ParameterInformation;
|
|
1277
|
-
exports.ParameterInformation = ParameterInformation = tslib_1.__decorate([
|
|
1278
|
-
types_1.es5ClassCompat,
|
|
1279
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object])
|
|
1280
|
-
], ParameterInformation);
|
|
1281
|
-
let SignatureInformation = class SignatureInformation {
|
|
1282
|
-
constructor(label, documentation) {
|
|
1283
|
-
this.label = label;
|
|
1284
|
-
this.documentation = documentation;
|
|
1285
|
-
this.parameters = [];
|
|
1286
|
-
}
|
|
1287
|
-
};
|
|
1288
|
-
exports.SignatureInformation = SignatureInformation;
|
|
1289
|
-
exports.SignatureInformation = SignatureInformation = tslib_1.__decorate([
|
|
1290
|
-
types_1.es5ClassCompat,
|
|
1291
|
-
tslib_1.__metadata("design:paramtypes", [String, Object])
|
|
1292
|
-
], SignatureInformation);
|
|
1293
|
-
var SignatureHelpTriggerKind;
|
|
1294
|
-
(function (SignatureHelpTriggerKind) {
|
|
1295
|
-
SignatureHelpTriggerKind[SignatureHelpTriggerKind["Invoke"] = 1] = "Invoke";
|
|
1296
|
-
SignatureHelpTriggerKind[SignatureHelpTriggerKind["TriggerCharacter"] = 2] = "TriggerCharacter";
|
|
1297
|
-
SignatureHelpTriggerKind[SignatureHelpTriggerKind["ContentChange"] = 3] = "ContentChange";
|
|
1298
|
-
})(SignatureHelpTriggerKind || (exports.SignatureHelpTriggerKind = SignatureHelpTriggerKind = {}));
|
|
1299
|
-
let SignatureHelp = class SignatureHelp {
|
|
1300
|
-
constructor() {
|
|
1301
|
-
this.signatures = [];
|
|
1302
|
-
}
|
|
1303
|
-
};
|
|
1304
|
-
exports.SignatureHelp = SignatureHelp;
|
|
1305
|
-
exports.SignatureHelp = SignatureHelp = tslib_1.__decorate([
|
|
1306
|
-
types_1.es5ClassCompat,
|
|
1307
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1308
|
-
], SignatureHelp);
|
|
1309
|
-
let Hover = class Hover {
|
|
1310
|
-
constructor(contents, range) {
|
|
1311
|
-
if (!contents) {
|
|
1312
|
-
(0, errors_1.illegalArgument)('contents must be defined');
|
|
1313
|
-
}
|
|
1314
|
-
if (Array.isArray(contents)) {
|
|
1315
|
-
this.contents = contents;
|
|
1316
|
-
}
|
|
1317
|
-
else {
|
|
1318
|
-
this.contents = [contents];
|
|
1319
|
-
}
|
|
1320
|
-
this.range = range;
|
|
1321
|
-
}
|
|
1322
|
-
};
|
|
1323
|
-
exports.Hover = Hover;
|
|
1324
|
-
exports.Hover = Hover = tslib_1.__decorate([
|
|
1325
|
-
types_1.es5ClassCompat,
|
|
1326
|
-
tslib_1.__metadata("design:paramtypes", [Object, Range])
|
|
1327
|
-
], Hover);
|
|
1328
|
-
let EvaluatableExpression = class EvaluatableExpression {
|
|
1329
|
-
constructor(range, expression) {
|
|
1330
|
-
if (!range) {
|
|
1331
|
-
(0, errors_1.illegalArgument)('range must be defined');
|
|
1332
|
-
}
|
|
1333
|
-
this.range = range;
|
|
1334
|
-
this.expression = expression;
|
|
1335
|
-
}
|
|
1336
|
-
};
|
|
1337
|
-
exports.EvaluatableExpression = EvaluatableExpression;
|
|
1338
|
-
exports.EvaluatableExpression = EvaluatableExpression = tslib_1.__decorate([
|
|
1339
|
-
types_1.es5ClassCompat,
|
|
1340
|
-
tslib_1.__metadata("design:paramtypes", [Range, String])
|
|
1341
|
-
], EvaluatableExpression);
|
|
1342
|
-
let InlineValueContext = class InlineValueContext {
|
|
1343
|
-
constructor(frameId, stoppedLocation) {
|
|
1344
|
-
if (!frameId) {
|
|
1345
|
-
(0, errors_1.illegalArgument)('frameId must be defined');
|
|
1346
|
-
}
|
|
1347
|
-
if (!stoppedLocation) {
|
|
1348
|
-
(0, errors_1.illegalArgument)('stoppedLocation must be defined');
|
|
1349
|
-
}
|
|
1350
|
-
this.frameId = frameId;
|
|
1351
|
-
this.stoppedLocation = stoppedLocation;
|
|
1352
|
-
}
|
|
1353
|
-
};
|
|
1354
|
-
exports.InlineValueContext = InlineValueContext;
|
|
1355
|
-
exports.InlineValueContext = InlineValueContext = tslib_1.__decorate([
|
|
1356
|
-
types_1.es5ClassCompat,
|
|
1357
|
-
tslib_1.__metadata("design:paramtypes", [Number, Range])
|
|
1358
|
-
], InlineValueContext);
|
|
1359
|
-
let InlineValueText = class InlineValueText {
|
|
1360
|
-
constructor(range, text) {
|
|
1361
|
-
this.type = 'text';
|
|
1362
|
-
if (!range) {
|
|
1363
|
-
(0, errors_1.illegalArgument)('range must be defined');
|
|
1364
|
-
}
|
|
1365
|
-
if (!text) {
|
|
1366
|
-
(0, errors_1.illegalArgument)('text must be defined');
|
|
1367
|
-
}
|
|
1368
|
-
this.range = range;
|
|
1369
|
-
this.text = text;
|
|
1370
|
-
}
|
|
1371
|
-
};
|
|
1372
|
-
exports.InlineValueText = InlineValueText;
|
|
1373
|
-
exports.InlineValueText = InlineValueText = tslib_1.__decorate([
|
|
1374
|
-
types_1.es5ClassCompat,
|
|
1375
|
-
tslib_1.__metadata("design:paramtypes", [Range, String])
|
|
1376
|
-
], InlineValueText);
|
|
1377
|
-
let InlineValueVariableLookup = class InlineValueVariableLookup {
|
|
1378
|
-
constructor(range, variableName, caseSensitiveLookup) {
|
|
1379
|
-
this.type = 'variable';
|
|
1380
|
-
if (!range) {
|
|
1381
|
-
(0, errors_1.illegalArgument)('range must be defined');
|
|
1382
|
-
}
|
|
1383
|
-
this.range = range;
|
|
1384
|
-
this.caseSensitiveLookup = caseSensitiveLookup || true;
|
|
1385
|
-
this.variableName = variableName;
|
|
1386
|
-
}
|
|
1387
|
-
};
|
|
1388
|
-
exports.InlineValueVariableLookup = InlineValueVariableLookup;
|
|
1389
|
-
exports.InlineValueVariableLookup = InlineValueVariableLookup = tslib_1.__decorate([
|
|
1390
|
-
types_1.es5ClassCompat,
|
|
1391
|
-
tslib_1.__metadata("design:paramtypes", [Range, String, Boolean])
|
|
1392
|
-
], InlineValueVariableLookup);
|
|
1393
|
-
let InlineValueEvaluatableExpression = class InlineValueEvaluatableExpression {
|
|
1394
|
-
constructor(range, expression) {
|
|
1395
|
-
this.type = 'expression';
|
|
1396
|
-
if (!range) {
|
|
1397
|
-
(0, errors_1.illegalArgument)('range must be defined');
|
|
1398
|
-
}
|
|
1399
|
-
this.range = range;
|
|
1400
|
-
this.expression = expression;
|
|
1401
|
-
}
|
|
1402
|
-
};
|
|
1403
|
-
exports.InlineValueEvaluatableExpression = InlineValueEvaluatableExpression;
|
|
1404
|
-
exports.InlineValueEvaluatableExpression = InlineValueEvaluatableExpression = tslib_1.__decorate([
|
|
1405
|
-
types_1.es5ClassCompat,
|
|
1406
|
-
tslib_1.__metadata("design:paramtypes", [Range, String])
|
|
1407
|
-
], InlineValueEvaluatableExpression);
|
|
1408
|
-
var DocumentHighlightKind;
|
|
1409
|
-
(function (DocumentHighlightKind) {
|
|
1410
|
-
DocumentHighlightKind[DocumentHighlightKind["Text"] = 0] = "Text";
|
|
1411
|
-
DocumentHighlightKind[DocumentHighlightKind["Read"] = 1] = "Read";
|
|
1412
|
-
DocumentHighlightKind[DocumentHighlightKind["Write"] = 2] = "Write";
|
|
1413
|
-
})(DocumentHighlightKind || (exports.DocumentHighlightKind = DocumentHighlightKind = {}));
|
|
1414
|
-
let DocumentHighlight = class DocumentHighlight {
|
|
1415
|
-
constructor(range, kind) {
|
|
1416
|
-
this.range = range;
|
|
1417
|
-
this.kind = kind;
|
|
1418
|
-
}
|
|
1419
|
-
};
|
|
1420
|
-
exports.DocumentHighlight = DocumentHighlight;
|
|
1421
|
-
exports.DocumentHighlight = DocumentHighlight = tslib_1.__decorate([
|
|
1422
|
-
types_1.es5ClassCompat,
|
|
1423
|
-
tslib_1.__metadata("design:paramtypes", [Range, Number])
|
|
1424
|
-
], DocumentHighlight);
|
|
1425
|
-
let MultiDocumentHighlight = class MultiDocumentHighlight {
|
|
1426
|
-
/**
|
|
1427
|
-
* Creates a new instance of MultiDocumentHighlight.
|
|
1428
|
-
* @param uri The URI of the document containing the highlights.
|
|
1429
|
-
* @param highlights The highlights for the document.
|
|
1430
|
-
*/
|
|
1431
|
-
constructor(uri, highlights) {
|
|
1432
|
-
this.uri = uri;
|
|
1433
|
-
this.highlights = highlights;
|
|
1434
|
-
}
|
|
1435
|
-
};
|
|
1436
|
-
exports.MultiDocumentHighlight = MultiDocumentHighlight;
|
|
1437
|
-
exports.MultiDocumentHighlight = MultiDocumentHighlight = tslib_1.__decorate([
|
|
1438
|
-
types_1.es5ClassCompat,
|
|
1439
|
-
tslib_1.__metadata("design:paramtypes", [URI, Array])
|
|
1440
|
-
], MultiDocumentHighlight);
|
|
1441
|
-
let DocumentLink = class DocumentLink {
|
|
1442
|
-
constructor(range, target) {
|
|
1443
|
-
if (target && !(URI.isUri(target))) {
|
|
1444
|
-
throw (0, errors_1.illegalArgument)('target');
|
|
1445
|
-
}
|
|
1446
|
-
if (!Range.isRange(range) || range.isEmpty) {
|
|
1447
|
-
throw (0, errors_1.illegalArgument)('range');
|
|
1448
|
-
}
|
|
1449
|
-
this.range = range;
|
|
1450
|
-
this.target = target;
|
|
1451
|
-
}
|
|
1452
|
-
};
|
|
1453
|
-
exports.DocumentLink = DocumentLink;
|
|
1454
|
-
exports.DocumentLink = DocumentLink = tslib_1.__decorate([
|
|
1455
|
-
types_1.es5ClassCompat,
|
|
1456
|
-
tslib_1.__metadata("design:paramtypes", [Range, Object])
|
|
1457
|
-
], DocumentLink);
|
|
1458
|
-
let DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind_1 = class DocumentDropOrPasteEditKind {
|
|
1459
|
-
constructor(value) {
|
|
1460
|
-
this.value = value;
|
|
1461
|
-
}
|
|
1462
|
-
append(...parts) {
|
|
1463
|
-
return new DocumentDropOrPasteEditKind_1((this.value ? [this.value, ...parts] : parts).join(DocumentDropOrPasteEditKind_1.sep));
|
|
1464
|
-
}
|
|
1465
|
-
intersects(other) {
|
|
1466
|
-
return this.contains(other) || other.contains(this);
|
|
1467
|
-
}
|
|
1468
|
-
contains(other) {
|
|
1469
|
-
return this.value === other.value || other.value.startsWith(this.value + DocumentDropOrPasteEditKind_1.sep);
|
|
1470
|
-
}
|
|
1471
|
-
};
|
|
1472
|
-
exports.DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind;
|
|
1473
|
-
DocumentDropOrPasteEditKind.Empty = new DocumentDropOrPasteEditKind_1('');
|
|
1474
|
-
DocumentDropOrPasteEditKind.Text = new DocumentDropOrPasteEditKind_1('text');
|
|
1475
|
-
DocumentDropOrPasteEditKind.TextUpdateImports = new DocumentDropOrPasteEditKind_1('updateImports');
|
|
1476
|
-
DocumentDropOrPasteEditKind.sep = '.';
|
|
1477
|
-
exports.DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind = DocumentDropOrPasteEditKind_1 = tslib_1.__decorate([
|
|
1478
|
-
types_1.es5ClassCompat,
|
|
1479
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1480
|
-
], DocumentDropOrPasteEditKind);
|
|
1481
|
-
let DocumentDropEdit = class DocumentDropEdit {
|
|
1482
|
-
constructor(insertText) {
|
|
1483
|
-
this.insertText = insertText;
|
|
1484
|
-
}
|
|
1485
|
-
};
|
|
1486
|
-
exports.DocumentDropEdit = DocumentDropEdit;
|
|
1487
|
-
exports.DocumentDropEdit = DocumentDropEdit = tslib_1.__decorate([
|
|
1488
|
-
types_1.es5ClassCompat,
|
|
1489
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
1490
|
-
], DocumentDropEdit);
|
|
1491
|
-
let CodeLens = class CodeLens {
|
|
1492
|
-
get isResolved() {
|
|
1493
|
-
return !!this.command;
|
|
1494
|
-
}
|
|
1495
|
-
constructor(range, command) {
|
|
1496
|
-
this.range = range;
|
|
1497
|
-
this.command = command;
|
|
1498
|
-
}
|
|
1499
|
-
};
|
|
1500
|
-
exports.CodeLens = CodeLens;
|
|
1501
|
-
exports.CodeLens = CodeLens = tslib_1.__decorate([
|
|
1502
|
-
types_1.es5ClassCompat,
|
|
1503
|
-
tslib_1.__metadata("design:paramtypes", [Range, Object])
|
|
1504
|
-
], CodeLens);
|
|
1505
|
-
var CodeActionTrigger;
|
|
1506
|
-
(function (CodeActionTrigger) {
|
|
1507
|
-
CodeActionTrigger[CodeActionTrigger["Automatic"] = 1] = "Automatic";
|
|
1508
|
-
CodeActionTrigger[CodeActionTrigger["Manual"] = 2] = "Manual";
|
|
1509
|
-
})(CodeActionTrigger || (exports.CodeActionTrigger = CodeActionTrigger = {}));
|
|
1510
|
-
/**
|
|
1511
|
-
* The reason why code actions were requested.
|
|
1512
|
-
*/
|
|
1513
|
-
var CodeActionTriggerKind;
|
|
1514
|
-
(function (CodeActionTriggerKind) {
|
|
1515
|
-
/**
|
|
1516
|
-
* Code actions were explicitly requested by the user or by an extension.
|
|
1517
|
-
*/
|
|
1518
|
-
CodeActionTriggerKind[CodeActionTriggerKind["Invoke"] = 1] = "Invoke";
|
|
1519
|
-
/**
|
|
1520
|
-
* Code actions were requested automatically.
|
|
1521
|
-
*
|
|
1522
|
-
* This typically happens when current selection in a file changes, but can
|
|
1523
|
-
* also be triggered when file content changes.
|
|
1524
|
-
*/
|
|
1525
|
-
CodeActionTriggerKind[CodeActionTriggerKind["Automatic"] = 2] = "Automatic";
|
|
1526
|
-
})(CodeActionTriggerKind || (exports.CodeActionTriggerKind = CodeActionTriggerKind = {}));
|
|
1527
|
-
let CodeActionKind = CodeActionKind_1 = class CodeActionKind {
|
|
1528
|
-
constructor(value) {
|
|
1529
|
-
this.value = value;
|
|
1530
|
-
}
|
|
1531
|
-
append(parts) {
|
|
1532
|
-
return new CodeActionKind_1(this.value ? this.value + CodeActionKind_1.sep + parts : parts);
|
|
1533
|
-
}
|
|
1534
|
-
contains(other) {
|
|
1535
|
-
return this.value === other.value || (0, strings_1.startsWithIgnoreCase)(other.value, this.value + CodeActionKind_1.sep);
|
|
1536
|
-
}
|
|
1537
|
-
intersects(other) {
|
|
1538
|
-
return this.contains(other) || other.contains(this);
|
|
1539
|
-
}
|
|
1540
|
-
};
|
|
1541
|
-
exports.CodeActionKind = CodeActionKind;
|
|
1542
|
-
CodeActionKind.sep = '.';
|
|
1543
|
-
CodeActionKind.Empty = new CodeActionKind_1('');
|
|
1544
|
-
CodeActionKind.QuickFix = CodeActionKind_1.Empty.append('quickfix');
|
|
1545
|
-
CodeActionKind.Refactor = CodeActionKind_1.Empty.append('refactor');
|
|
1546
|
-
CodeActionKind.RefactorExtract = CodeActionKind_1.Refactor.append('extract');
|
|
1547
|
-
CodeActionKind.RefactorInline = CodeActionKind_1.Refactor.append('inline');
|
|
1548
|
-
CodeActionKind.RefactorMove = CodeActionKind_1.Refactor.append('move');
|
|
1549
|
-
CodeActionKind.RefactorRewrite = CodeActionKind_1.Refactor.append('rewrite');
|
|
1550
|
-
CodeActionKind.Source = CodeActionKind_1.Empty.append('source');
|
|
1551
|
-
CodeActionKind.SourceOrganizeImports = CodeActionKind_1.Source.append('organizeImports');
|
|
1552
|
-
CodeActionKind.SourceFixAll = CodeActionKind_1.Source.append('fixAll');
|
|
1553
|
-
CodeActionKind.Notebook = CodeActionKind_1.Empty.append('notebook');
|
|
1554
|
-
exports.CodeActionKind = CodeActionKind = CodeActionKind_1 = tslib_1.__decorate([
|
|
1555
|
-
types_1.es5ClassCompat,
|
|
1556
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1557
|
-
], CodeActionKind);
|
|
1558
|
-
var TextDocumentSaveReason;
|
|
1559
|
-
(function (TextDocumentSaveReason) {
|
|
1560
|
-
TextDocumentSaveReason[TextDocumentSaveReason["Manual"] = 1] = "Manual";
|
|
1561
|
-
TextDocumentSaveReason[TextDocumentSaveReason["AfterDelay"] = 2] = "AfterDelay";
|
|
1562
|
-
TextDocumentSaveReason[TextDocumentSaveReason["FocusOut"] = 3] = "FocusOut";
|
|
1563
|
-
})(TextDocumentSaveReason || (exports.TextDocumentSaveReason = TextDocumentSaveReason = {}));
|
|
1564
|
-
let CodeAction = class CodeAction {
|
|
1565
|
-
constructor(title, kind) {
|
|
1566
|
-
this.title = title;
|
|
1567
|
-
this.kind = kind;
|
|
1568
|
-
}
|
|
1569
|
-
};
|
|
1570
|
-
exports.CodeAction = CodeAction;
|
|
1571
|
-
exports.CodeAction = CodeAction = tslib_1.__decorate([
|
|
1572
|
-
types_1.es5ClassCompat,
|
|
1573
|
-
tslib_1.__metadata("design:paramtypes", [String, CodeActionKind])
|
|
1574
|
-
], CodeAction);
|
|
1575
|
-
let WorkspaceEdit = class WorkspaceEdit {
|
|
1576
|
-
constructor() {
|
|
1577
|
-
this._edits = new Array();
|
|
1578
|
-
}
|
|
1579
|
-
renameFile(from, to, options, metadata) {
|
|
1580
|
-
this._edits.push({ _type: 1, from, to, options, metadata });
|
|
1581
|
-
}
|
|
1582
|
-
createFile(uri, options, metadata) {
|
|
1583
|
-
this._edits.push({ _type: 1, from: undefined, to: uri, options, metadata });
|
|
1584
|
-
}
|
|
1585
|
-
deleteFile(uri, options, metadata) {
|
|
1586
|
-
this._edits.push({ _type: 1, from: uri, to: undefined, options, metadata });
|
|
1587
|
-
}
|
|
1588
|
-
replace(uri, range, newText, metadata) {
|
|
1589
|
-
this._edits.push({ _type: 2, uri, edit: new TextEdit(range, newText), metadata });
|
|
1590
|
-
}
|
|
1591
|
-
insert(resource, position, newText, metadata) {
|
|
1592
|
-
this.replace(resource, new Range(position, position), newText, metadata);
|
|
1593
|
-
}
|
|
1594
|
-
delete(resource, range, metadata) {
|
|
1595
|
-
this.replace(resource, range, '', metadata);
|
|
1596
|
-
}
|
|
1597
|
-
has(uri) {
|
|
1598
|
-
for (const edit of this._edits) {
|
|
1599
|
-
if (edit && edit._type === 2 && edit.uri.toString() === uri.toString()) {
|
|
1600
|
-
return true;
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
return false;
|
|
1604
|
-
}
|
|
1605
|
-
set(uri, edits) {
|
|
1606
|
-
if (!edits) {
|
|
1607
|
-
// remove all text edits for `uri`
|
|
1608
|
-
for (let i = 0; i < this._edits.length; i++) {
|
|
1609
|
-
const element = this._edits[i];
|
|
1610
|
-
if (element &&
|
|
1611
|
-
(element._type === 2 /* FileEditType.Text */ || element._type === 6 /* FileEditType.Snippet */) &&
|
|
1612
|
-
element.uri.toString() === uri.toString()) {
|
|
1613
|
-
this._edits[i] = undefined;
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1616
|
-
this._edits = this._edits.filter(e => !!e);
|
|
1617
|
-
}
|
|
1618
|
-
else {
|
|
1619
|
-
// append edit to the end
|
|
1620
|
-
for (const editOrTuple of edits) {
|
|
1621
|
-
if (!editOrTuple) {
|
|
1622
|
-
continue;
|
|
1623
|
-
}
|
|
1624
|
-
let edit;
|
|
1625
|
-
let metadata;
|
|
1626
|
-
if (Array.isArray(editOrTuple)) {
|
|
1627
|
-
edit = editOrTuple[0];
|
|
1628
|
-
metadata = editOrTuple[1];
|
|
1629
|
-
}
|
|
1630
|
-
else {
|
|
1631
|
-
edit = editOrTuple;
|
|
1632
|
-
}
|
|
1633
|
-
if (NotebookEdit.isNotebookCellEdit(edit)) {
|
|
1634
|
-
if (edit.newCellMetadata) {
|
|
1635
|
-
this._edits.push({
|
|
1636
|
-
_type: 3 /* FileEditType.Cell */, metadata, uri,
|
|
1637
|
-
edit: { editType: 3 /* CellEditType.Metadata */, index: edit.range.start, metadata: edit.newCellMetadata }
|
|
1638
|
-
});
|
|
1639
|
-
}
|
|
1640
|
-
else if (edit.newNotebookMetadata) {
|
|
1641
|
-
this._edits.push({
|
|
1642
|
-
_type: 3 /* FileEditType.Cell */, metadata, uri,
|
|
1643
|
-
edit: { editType: 5 /* CellEditType.DocumentMetadata */, metadata: edit.newNotebookMetadata }, notebookMetadata: edit.newNotebookMetadata
|
|
1644
|
-
});
|
|
1645
|
-
}
|
|
1646
|
-
else {
|
|
1647
|
-
const start = edit.range.start;
|
|
1648
|
-
const end = edit.range.end;
|
|
1649
|
-
if (start !== end || edit.newCells.length > 0) {
|
|
1650
|
-
this._edits.push({ _type: 5 /* FileEditType.CellReplace */, uri, index: start, count: end - start, cells: edit.newCells, metadata });
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
}
|
|
1654
|
-
else if (SnippetTextEdit.isSnippetTextEdit(edit)) {
|
|
1655
|
-
this._edits.push({ _type: 6 /* FileEditType.Snippet */, uri, range: edit.range, edit, metadata });
|
|
1656
|
-
}
|
|
1657
|
-
else {
|
|
1658
|
-
this._edits.push({ _type: 2 /* FileEditType.Text */, uri, edit });
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
get(uri) {
|
|
1664
|
-
const res = [];
|
|
1665
|
-
for (const candidate of this._edits) {
|
|
1666
|
-
if (candidate && candidate._type === 2 && candidate.uri.toString() === uri.toString()) {
|
|
1667
|
-
res.push(candidate.edit);
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
if (res.length === 0) {
|
|
1671
|
-
return undefined;
|
|
1672
|
-
}
|
|
1673
|
-
return res;
|
|
1674
|
-
}
|
|
1675
|
-
entries() {
|
|
1676
|
-
const textEdits = new Map();
|
|
1677
|
-
for (const candidate of this._edits) {
|
|
1678
|
-
if (candidate && candidate._type === 2 /* FileEditType.Text */) {
|
|
1679
|
-
let textEdit = textEdits.get(candidate.uri.toString());
|
|
1680
|
-
if (!textEdit) {
|
|
1681
|
-
textEdit = [candidate.uri, []];
|
|
1682
|
-
textEdits.set(candidate.uri.toString(), textEdit);
|
|
1683
|
-
}
|
|
1684
|
-
textEdit[1].push(candidate.edit);
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
const result = [];
|
|
1688
|
-
textEdits.forEach(v => result.push(v));
|
|
1689
|
-
return result;
|
|
1690
|
-
}
|
|
1691
|
-
// _allEntries(): ([URI, Array<TextEdit | SnippetTextEdit>, theia.WorkspaceEditEntryMetadata] | [URI, URI, FileOperationOptions, WorkspaceEditMetadata])[] {
|
|
1692
|
-
// const res: ([URI, Array<TextEdit | SnippetTextEdit>, theia.WorkspaceEditEntryMetadata] | [URI, URI, FileOperationOptions, WorkspaceEditMetadata])[] = [];
|
|
1693
|
-
// for (const edit of this._edits) {
|
|
1694
|
-
// if (!edit) {
|
|
1695
|
-
// continue;
|
|
1696
|
-
// }
|
|
1697
|
-
// if (edit._type === FileEditType.File) {
|
|
1698
|
-
// res.push([edit.from!, edit.to!, edit.options!, edit.metadata!]);
|
|
1699
|
-
// } else {
|
|
1700
|
-
// res.push([edit.uri, [edit.edit], edit.metadata!]);
|
|
1701
|
-
// }
|
|
1702
|
-
// }
|
|
1703
|
-
// return res;
|
|
1704
|
-
// }
|
|
1705
|
-
_allEntries() {
|
|
1706
|
-
return this._edits;
|
|
1707
|
-
}
|
|
1708
|
-
get size() {
|
|
1709
|
-
return this.entries().length;
|
|
1710
|
-
}
|
|
1711
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1712
|
-
toJSON() {
|
|
1713
|
-
return this.entries();
|
|
1714
|
-
}
|
|
1715
|
-
};
|
|
1716
|
-
exports.WorkspaceEdit = WorkspaceEdit;
|
|
1717
|
-
exports.WorkspaceEdit = WorkspaceEdit = tslib_1.__decorate([
|
|
1718
|
-
types_1.es5ClassCompat
|
|
1719
|
-
], WorkspaceEdit);
|
|
1720
|
-
class DataTransferItem {
|
|
1721
|
-
asString() {
|
|
1722
|
-
return Promise.resolve(typeof this.value === 'string' ? this.value : JSON.stringify(this.value));
|
|
1723
|
-
}
|
|
1724
|
-
asFile() {
|
|
1725
|
-
return undefined;
|
|
1726
|
-
}
|
|
1727
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1728
|
-
constructor(value) {
|
|
1729
|
-
this.value = value;
|
|
1730
|
-
}
|
|
1731
|
-
}
|
|
1732
|
-
exports.DataTransferItem = DataTransferItem;
|
|
1733
|
-
/**
|
|
1734
|
-
* A map containing a mapping of the mime type of the corresponding transferred data.
|
|
1735
|
-
*
|
|
1736
|
-
* Drag and drop controllers that implement {@link TreeDragAndDropController.handleDrag `handleDrag`} can add additional mime types to the
|
|
1737
|
-
* data transfer. These additional mime types will only be included in the `handleDrop` when the the drag was initiated from
|
|
1738
|
-
* an element in the same drag and drop controller.
|
|
1739
|
-
*/
|
|
1740
|
-
let DataTransfer = class DataTransfer {
|
|
1741
|
-
constructor() {
|
|
1742
|
-
this.items = new Map();
|
|
1743
|
-
}
|
|
1744
|
-
get(mimeType) {
|
|
1745
|
-
return this.items.get(mimeType);
|
|
1746
|
-
}
|
|
1747
|
-
set(mimeType, value) {
|
|
1748
|
-
this.items.set(mimeType, value);
|
|
1749
|
-
}
|
|
1750
|
-
has(mimeType) {
|
|
1751
|
-
return this.items.has(mimeType);
|
|
1752
|
-
}
|
|
1753
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1754
|
-
forEach(callbackfn, thisArg) {
|
|
1755
|
-
this.items.forEach((item, mimetype) => {
|
|
1756
|
-
callbackfn.call(thisArg, item, mimetype, this);
|
|
1757
|
-
});
|
|
1758
|
-
}
|
|
1759
|
-
[Symbol.iterator]() {
|
|
1760
|
-
return this.items[Symbol.iterator]();
|
|
1761
|
-
}
|
|
1762
|
-
clear() {
|
|
1763
|
-
this.items.clear();
|
|
1764
|
-
}
|
|
1765
|
-
};
|
|
1766
|
-
exports.DataTransfer = DataTransfer;
|
|
1767
|
-
exports.DataTransfer = DataTransfer = tslib_1.__decorate([
|
|
1768
|
-
types_1.es5ClassCompat
|
|
1769
|
-
], DataTransfer);
|
|
1770
|
-
let TreeItem = class TreeItem {
|
|
1771
|
-
constructor(arg1, collapsibleState = TreeItemCollapsibleState.None) {
|
|
1772
|
-
this.collapsibleState = collapsibleState;
|
|
1773
|
-
if (arg1 instanceof URI) {
|
|
1774
|
-
this.resourceUri = arg1;
|
|
1775
|
-
}
|
|
1776
|
-
else {
|
|
1777
|
-
this.label = arg1;
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
};
|
|
1781
|
-
exports.TreeItem = TreeItem;
|
|
1782
|
-
exports.TreeItem = TreeItem = tslib_1.__decorate([
|
|
1783
|
-
types_1.es5ClassCompat,
|
|
1784
|
-
tslib_1.__metadata("design:paramtypes", [Object, Number])
|
|
1785
|
-
], TreeItem);
|
|
1786
|
-
var TreeItemCollapsibleState;
|
|
1787
|
-
(function (TreeItemCollapsibleState) {
|
|
1788
|
-
TreeItemCollapsibleState[TreeItemCollapsibleState["None"] = 0] = "None";
|
|
1789
|
-
TreeItemCollapsibleState[TreeItemCollapsibleState["Collapsed"] = 1] = "Collapsed";
|
|
1790
|
-
TreeItemCollapsibleState[TreeItemCollapsibleState["Expanded"] = 2] = "Expanded";
|
|
1791
|
-
})(TreeItemCollapsibleState || (exports.TreeItemCollapsibleState = TreeItemCollapsibleState = {}));
|
|
1792
|
-
var TreeItemCheckboxState;
|
|
1793
|
-
(function (TreeItemCheckboxState) {
|
|
1794
|
-
TreeItemCheckboxState[TreeItemCheckboxState["Unchecked"] = 0] = "Unchecked";
|
|
1795
|
-
TreeItemCheckboxState[TreeItemCheckboxState["Checked"] = 1] = "Checked";
|
|
1796
|
-
})(TreeItemCheckboxState || (exports.TreeItemCheckboxState = TreeItemCheckboxState = {}));
|
|
1797
|
-
var SymbolTag;
|
|
1798
|
-
(function (SymbolTag) {
|
|
1799
|
-
SymbolTag[SymbolTag["Deprecated"] = 1] = "Deprecated";
|
|
1800
|
-
})(SymbolTag || (exports.SymbolTag = SymbolTag = {}));
|
|
1801
|
-
let SymbolInformation = SymbolInformation_1 = class SymbolInformation {
|
|
1802
|
-
static validate(candidate) {
|
|
1803
|
-
if (!candidate.name) {
|
|
1804
|
-
throw new Error('Should provide a name inside candidate field');
|
|
1805
|
-
}
|
|
1806
|
-
}
|
|
1807
|
-
constructor(name, kind, rangeOrContainer, locationOrUri, containerName) {
|
|
1808
|
-
this.name = name;
|
|
1809
|
-
this.kind = kind;
|
|
1810
|
-
this.containerName = containerName;
|
|
1811
|
-
if (typeof rangeOrContainer === 'string') {
|
|
1812
|
-
this.containerName = rangeOrContainer;
|
|
1813
|
-
}
|
|
1814
|
-
if (locationOrUri instanceof Location) {
|
|
1815
|
-
this.location = locationOrUri;
|
|
1816
|
-
}
|
|
1817
|
-
else if (rangeOrContainer instanceof Range) {
|
|
1818
|
-
this.location = new Location(locationOrUri, rangeOrContainer);
|
|
1819
|
-
}
|
|
1820
|
-
SymbolInformation_1.validate(this);
|
|
1821
|
-
}
|
|
1822
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1823
|
-
toJSON() {
|
|
1824
|
-
return {
|
|
1825
|
-
name: this.name,
|
|
1826
|
-
kind: plugin_api_rpc_model_1.SymbolKind[this.kind],
|
|
1827
|
-
location: this.location,
|
|
1828
|
-
containerName: this.containerName
|
|
1829
|
-
};
|
|
1830
|
-
}
|
|
1831
|
-
};
|
|
1832
|
-
exports.SymbolInformation = SymbolInformation;
|
|
1833
|
-
exports.SymbolInformation = SymbolInformation = SymbolInformation_1 = tslib_1.__decorate([
|
|
1834
|
-
types_1.es5ClassCompat,
|
|
1835
|
-
tslib_1.__metadata("design:paramtypes", [String, Number, Object, Object, String])
|
|
1836
|
-
], SymbolInformation);
|
|
1837
|
-
let DocumentSymbol = DocumentSymbol_1 = class DocumentSymbol {
|
|
1838
|
-
static validate(candidate) {
|
|
1839
|
-
if (!candidate.name) {
|
|
1840
|
-
throw new Error('Should provide a name inside candidate field');
|
|
1841
|
-
}
|
|
1842
|
-
if (!candidate.range.contains(candidate.selectionRange)) {
|
|
1843
|
-
throw new Error('selectionRange must be contained in fullRange');
|
|
1844
|
-
}
|
|
1845
|
-
if (candidate.children) {
|
|
1846
|
-
candidate.children.forEach(DocumentSymbol_1.validate);
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
constructor(name, detail, kind, range, selectionRange) {
|
|
1850
|
-
this.name = name;
|
|
1851
|
-
this.detail = detail;
|
|
1852
|
-
this.kind = kind;
|
|
1853
|
-
this.range = range;
|
|
1854
|
-
this.selectionRange = selectionRange;
|
|
1855
|
-
this.children = [];
|
|
1856
|
-
DocumentSymbol_1.validate(this);
|
|
1857
|
-
}
|
|
1858
|
-
};
|
|
1859
|
-
exports.DocumentSymbol = DocumentSymbol;
|
|
1860
|
-
exports.DocumentSymbol = DocumentSymbol = DocumentSymbol_1 = tslib_1.__decorate([
|
|
1861
|
-
types_1.es5ClassCompat,
|
|
1862
|
-
tslib_1.__metadata("design:paramtypes", [String, String, Number, Range, Range])
|
|
1863
|
-
], DocumentSymbol);
|
|
1864
|
-
var CommentThreadState;
|
|
1865
|
-
(function (CommentThreadState) {
|
|
1866
|
-
CommentThreadState[CommentThreadState["Unresolved"] = 0] = "Unresolved";
|
|
1867
|
-
CommentThreadState[CommentThreadState["Resolved"] = 1] = "Resolved";
|
|
1868
|
-
})(CommentThreadState || (exports.CommentThreadState = CommentThreadState = {}));
|
|
1869
|
-
var CommentThreadCollapsibleState;
|
|
1870
|
-
(function (CommentThreadCollapsibleState) {
|
|
1871
|
-
CommentThreadCollapsibleState[CommentThreadCollapsibleState["Collapsed"] = 0] = "Collapsed";
|
|
1872
|
-
CommentThreadCollapsibleState[CommentThreadCollapsibleState["Expanded"] = 1] = "Expanded";
|
|
1873
|
-
})(CommentThreadCollapsibleState || (exports.CommentThreadCollapsibleState = CommentThreadCollapsibleState = {}));
|
|
1874
|
-
let QuickInputButtons = class QuickInputButtons {
|
|
1875
|
-
};
|
|
1876
|
-
exports.QuickInputButtons = QuickInputButtons;
|
|
1877
|
-
QuickInputButtons.Back = {
|
|
1878
|
-
iconPath: {
|
|
1879
|
-
id: 'Back',
|
|
1880
|
-
},
|
|
1881
|
-
tooltip: 'Back'
|
|
1882
|
-
};
|
|
1883
|
-
exports.QuickInputButtons = QuickInputButtons = tslib_1.__decorate([
|
|
1884
|
-
types_1.es5ClassCompat
|
|
1885
|
-
], QuickInputButtons);
|
|
1886
|
-
let TerminalLink = class TerminalLink {
|
|
1887
|
-
static validate(candidate) {
|
|
1888
|
-
if (typeof candidate.startIndex !== 'number') {
|
|
1889
|
-
throw new Error('Should provide a startIndex inside candidate field');
|
|
1890
|
-
}
|
|
1891
|
-
if (typeof candidate.length !== 'number') {
|
|
1892
|
-
throw new Error('Should provide a length inside candidate field');
|
|
1893
|
-
}
|
|
1894
|
-
}
|
|
1895
|
-
constructor(startIndex, length, tooltip) {
|
|
1896
|
-
this.startIndex = startIndex;
|
|
1897
|
-
this.length = length;
|
|
1898
|
-
this.tooltip = tooltip;
|
|
1899
|
-
}
|
|
1900
|
-
};
|
|
1901
|
-
exports.TerminalLink = TerminalLink;
|
|
1902
|
-
exports.TerminalLink = TerminalLink = tslib_1.__decorate([
|
|
1903
|
-
types_1.es5ClassCompat,
|
|
1904
|
-
tslib_1.__metadata("design:paramtypes", [Number, Number, String])
|
|
1905
|
-
], TerminalLink);
|
|
1906
|
-
var TerminalLocation;
|
|
1907
|
-
(function (TerminalLocation) {
|
|
1908
|
-
TerminalLocation[TerminalLocation["Panel"] = 1] = "Panel";
|
|
1909
|
-
TerminalLocation[TerminalLocation["Editor"] = 2] = "Editor";
|
|
1910
|
-
})(TerminalLocation || (exports.TerminalLocation = TerminalLocation = {}));
|
|
1911
|
-
var TerminalOutputAnchor;
|
|
1912
|
-
(function (TerminalOutputAnchor) {
|
|
1913
|
-
TerminalOutputAnchor[TerminalOutputAnchor["Top"] = 0] = "Top";
|
|
1914
|
-
TerminalOutputAnchor[TerminalOutputAnchor["Bottom"] = 1] = "Bottom";
|
|
1915
|
-
})(TerminalOutputAnchor || (exports.TerminalOutputAnchor = TerminalOutputAnchor = {}));
|
|
1916
|
-
class TerminalProfile {
|
|
1917
|
-
/**
|
|
1918
|
-
* Creates a new terminal profile.
|
|
1919
|
-
* @param options The options that the terminal will launch with.
|
|
1920
|
-
*/
|
|
1921
|
-
constructor(options) {
|
|
1922
|
-
this.options = options;
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
exports.TerminalProfile = TerminalProfile;
|
|
1926
|
-
var TerminalExitReason;
|
|
1927
|
-
(function (TerminalExitReason) {
|
|
1928
|
-
TerminalExitReason[TerminalExitReason["Unknown"] = 0] = "Unknown";
|
|
1929
|
-
TerminalExitReason[TerminalExitReason["Shutdown"] = 1] = "Shutdown";
|
|
1930
|
-
TerminalExitReason[TerminalExitReason["Process"] = 2] = "Process";
|
|
1931
|
-
TerminalExitReason[TerminalExitReason["User"] = 3] = "User";
|
|
1932
|
-
TerminalExitReason[TerminalExitReason["Extension"] = 4] = "Extension";
|
|
1933
|
-
})(TerminalExitReason || (exports.TerminalExitReason = TerminalExitReason = {}));
|
|
1934
|
-
let FileDecoration = class FileDecoration {
|
|
1935
|
-
static validate(d) {
|
|
1936
|
-
if (d.badge && d.badge.length !== 1 && d.badge.length !== 2) {
|
|
1937
|
-
throw new Error('The \'badge\'-property must be undefined or a short character');
|
|
1938
|
-
}
|
|
1939
|
-
if (!d.color && !d.badge && !d.tooltip) {
|
|
1940
|
-
throw new Error('The decoration is empty');
|
|
1941
|
-
}
|
|
1942
|
-
}
|
|
1943
|
-
constructor(badge, tooltip, color) {
|
|
1944
|
-
this.badge = badge;
|
|
1945
|
-
this.tooltip = tooltip;
|
|
1946
|
-
this.color = color;
|
|
1947
|
-
}
|
|
1948
|
-
};
|
|
1949
|
-
exports.FileDecoration = FileDecoration;
|
|
1950
|
-
exports.FileDecoration = FileDecoration = tslib_1.__decorate([
|
|
1951
|
-
types_1.es5ClassCompat,
|
|
1952
|
-
tslib_1.__metadata("design:paramtypes", [String, String, ThemeColor])
|
|
1953
|
-
], FileDecoration);
|
|
1954
|
-
var CommentMode;
|
|
1955
|
-
(function (CommentMode) {
|
|
1956
|
-
CommentMode[CommentMode["Editing"] = 0] = "Editing";
|
|
1957
|
-
CommentMode[CommentMode["Preview"] = 1] = "Preview";
|
|
1958
|
-
})(CommentMode || (exports.CommentMode = CommentMode = {}));
|
|
1959
|
-
// #region file api
|
|
1960
|
-
var FileChangeType;
|
|
1961
|
-
(function (FileChangeType) {
|
|
1962
|
-
FileChangeType[FileChangeType["Changed"] = 1] = "Changed";
|
|
1963
|
-
FileChangeType[FileChangeType["Created"] = 2] = "Created";
|
|
1964
|
-
FileChangeType[FileChangeType["Deleted"] = 3] = "Deleted";
|
|
1965
|
-
})(FileChangeType || (exports.FileChangeType = FileChangeType = {}));
|
|
1966
|
-
let FileSystemError = FileSystemError_1 = class FileSystemError extends Error {
|
|
1967
|
-
static FileExists(messageOrUri) {
|
|
1968
|
-
return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.FileExists, FileSystemError_1.FileExists);
|
|
1969
|
-
}
|
|
1970
|
-
static FileNotFound(messageOrUri) {
|
|
1971
|
-
return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.FileNotFound, FileSystemError_1.FileNotFound);
|
|
1972
|
-
}
|
|
1973
|
-
static FileNotADirectory(messageOrUri) {
|
|
1974
|
-
return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.FileNotADirectory, FileSystemError_1.FileNotADirectory);
|
|
1975
|
-
}
|
|
1976
|
-
static FileIsADirectory(messageOrUri) {
|
|
1977
|
-
return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.FileIsADirectory, FileSystemError_1.FileIsADirectory);
|
|
1978
|
-
}
|
|
1979
|
-
static NoPermissions(messageOrUri) {
|
|
1980
|
-
return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.NoPermissions, FileSystemError_1.NoPermissions);
|
|
1981
|
-
}
|
|
1982
|
-
static Unavailable(messageOrUri) {
|
|
1983
|
-
return new FileSystemError_1(messageOrUri, files_1.FileSystemProviderErrorCode.Unavailable, FileSystemError_1.Unavailable);
|
|
1984
|
-
}
|
|
1985
|
-
constructor(uriOrMessage, code = files_1.FileSystemProviderErrorCode.Unknown, terminator) {
|
|
1986
|
-
var _b;
|
|
1987
|
-
super(URI.isUri(uriOrMessage) ? uriOrMessage.toString(true) : uriOrMessage);
|
|
1988
|
-
this.code = (_b = terminator === null || terminator === void 0 ? void 0 : terminator.name) !== null && _b !== void 0 ? _b : 'Unknown';
|
|
1989
|
-
// mark the error as file system provider error so that
|
|
1990
|
-
// we can extract the error code on the receiving side
|
|
1991
|
-
(0, files_1.markAsFileSystemProviderError)(this, code);
|
|
1992
|
-
// workaround when extending builtin objects and when compiling to ES5, see:
|
|
1993
|
-
// https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
|
|
1994
|
-
if (typeof Object.setPrototypeOf === 'function') {
|
|
1995
|
-
Object.setPrototypeOf(this, FileSystemError_1.prototype);
|
|
1996
|
-
}
|
|
1997
|
-
if (typeof Error.captureStackTrace === 'function' && typeof terminator === 'function') {
|
|
1998
|
-
// nice stack traces
|
|
1999
|
-
Error.captureStackTrace(this, terminator);
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
};
|
|
2003
|
-
exports.FileSystemError = FileSystemError;
|
|
2004
|
-
exports.FileSystemError = FileSystemError = FileSystemError_1 = tslib_1.__decorate([
|
|
2005
|
-
types_1.es5ClassCompat,
|
|
2006
|
-
tslib_1.__metadata("design:paramtypes", [Object, String, Function])
|
|
2007
|
-
], FileSystemError);
|
|
2008
|
-
// #endregion
|
|
2009
|
-
var FileType;
|
|
2010
|
-
(function (FileType) {
|
|
2011
|
-
FileType[FileType["Unknown"] = 0] = "Unknown";
|
|
2012
|
-
FileType[FileType["File"] = 1] = "File";
|
|
2013
|
-
FileType[FileType["Directory"] = 2] = "Directory";
|
|
2014
|
-
FileType[FileType["SymbolicLink"] = 64] = "SymbolicLink";
|
|
2015
|
-
})(FileType || (exports.FileType = FileType = {}));
|
|
2016
|
-
let ProgressOptions = class ProgressOptions {
|
|
2017
|
-
constructor(location, title, cancellable) {
|
|
2018
|
-
this.location = location;
|
|
2019
|
-
}
|
|
2020
|
-
};
|
|
2021
|
-
exports.ProgressOptions = ProgressOptions;
|
|
2022
|
-
exports.ProgressOptions = ProgressOptions = tslib_1.__decorate([
|
|
2023
|
-
types_1.es5ClassCompat,
|
|
2024
|
-
tslib_1.__metadata("design:paramtypes", [Number, String, Boolean])
|
|
2025
|
-
], ProgressOptions);
|
|
2026
|
-
let Progress = class Progress {
|
|
2027
|
-
/**
|
|
2028
|
-
* Report a progress update.
|
|
2029
|
-
* @param value A progress item, like a message and/or an
|
|
2030
|
-
* report on how much work finished
|
|
2031
|
-
*/
|
|
2032
|
-
report(value) {
|
|
2033
|
-
}
|
|
2034
|
-
};
|
|
2035
|
-
exports.Progress = Progress;
|
|
2036
|
-
exports.Progress = Progress = tslib_1.__decorate([
|
|
2037
|
-
types_1.es5ClassCompat
|
|
2038
|
-
], Progress);
|
|
2039
|
-
var ProgressLocation;
|
|
2040
|
-
(function (ProgressLocation) {
|
|
2041
|
-
/**
|
|
2042
|
-
* Show progress for the source control viewlet, as overlay for the icon and as progress bar
|
|
2043
|
-
* inside the viewlet (when visible). Neither supports cancellation nor discrete progress.
|
|
2044
|
-
*/
|
|
2045
|
-
ProgressLocation[ProgressLocation["SourceControl"] = 1] = "SourceControl";
|
|
2046
|
-
/**
|
|
2047
|
-
* Show progress in the status bar of the editor. Neither supports cancellation nor discrete progress.
|
|
2048
|
-
*/
|
|
2049
|
-
ProgressLocation[ProgressLocation["Window"] = 10] = "Window";
|
|
2050
|
-
/**
|
|
2051
|
-
* Show progress as notification with an optional cancel button. Supports to show infinite and discrete progress.
|
|
2052
|
-
*/
|
|
2053
|
-
ProgressLocation[ProgressLocation["Notification"] = 15] = "Notification";
|
|
2054
|
-
})(ProgressLocation || (exports.ProgressLocation = ProgressLocation = {}));
|
|
2055
|
-
let ProcessExecution = class ProcessExecution {
|
|
2056
|
-
constructor(process, varg1, varg2) {
|
|
2057
|
-
if (typeof process !== 'string') {
|
|
2058
|
-
throw (0, errors_1.illegalArgument)('process');
|
|
2059
|
-
}
|
|
2060
|
-
this.executionProcess = process;
|
|
2061
|
-
if (varg1 !== undefined) {
|
|
2062
|
-
if (Array.isArray(varg1)) {
|
|
2063
|
-
this.arguments = varg1;
|
|
2064
|
-
this.executionOptions = varg2;
|
|
2065
|
-
}
|
|
2066
|
-
else {
|
|
2067
|
-
this.executionOptions = varg1;
|
|
2068
|
-
}
|
|
2069
|
-
}
|
|
2070
|
-
if (this.arguments === undefined) {
|
|
2071
|
-
this.arguments = [];
|
|
2072
|
-
}
|
|
2073
|
-
}
|
|
2074
|
-
get process() {
|
|
2075
|
-
return this.executionProcess;
|
|
2076
|
-
}
|
|
2077
|
-
set process(value) {
|
|
2078
|
-
if (typeof value !== 'string') {
|
|
2079
|
-
throw (0, errors_1.illegalArgument)('process');
|
|
2080
|
-
}
|
|
2081
|
-
this.executionProcess = value;
|
|
2082
|
-
}
|
|
2083
|
-
get args() {
|
|
2084
|
-
return this.arguments;
|
|
2085
|
-
}
|
|
2086
|
-
set args(value) {
|
|
2087
|
-
if (!Array.isArray(value)) {
|
|
2088
|
-
value = [];
|
|
2089
|
-
}
|
|
2090
|
-
this.arguments = value;
|
|
2091
|
-
}
|
|
2092
|
-
get options() {
|
|
2093
|
-
return this.executionOptions;
|
|
2094
|
-
}
|
|
2095
|
-
set options(value) {
|
|
2096
|
-
this.executionOptions = value;
|
|
2097
|
-
}
|
|
2098
|
-
static is(value) {
|
|
2099
|
-
const candidate = value;
|
|
2100
|
-
return candidate && !!candidate.process;
|
|
2101
|
-
}
|
|
2102
|
-
};
|
|
2103
|
-
exports.ProcessExecution = ProcessExecution;
|
|
2104
|
-
exports.ProcessExecution = ProcessExecution = tslib_1.__decorate([
|
|
2105
|
-
types_1.es5ClassCompat,
|
|
2106
|
-
tslib_1.__metadata("design:paramtypes", [String, Object, Object])
|
|
2107
|
-
], ProcessExecution);
|
|
2108
|
-
var QuickPickItemKind;
|
|
2109
|
-
(function (QuickPickItemKind) {
|
|
2110
|
-
QuickPickItemKind[QuickPickItemKind["Separator"] = -1] = "Separator";
|
|
2111
|
-
QuickPickItemKind[QuickPickItemKind["Default"] = 0] = "Default";
|
|
2112
|
-
})(QuickPickItemKind || (exports.QuickPickItemKind = QuickPickItemKind = {}));
|
|
2113
|
-
var ShellQuoting;
|
|
2114
|
-
(function (ShellQuoting) {
|
|
2115
|
-
ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
|
|
2116
|
-
ShellQuoting[ShellQuoting["Strong"] = 2] = "Strong";
|
|
2117
|
-
ShellQuoting[ShellQuoting["Weak"] = 3] = "Weak";
|
|
2118
|
-
})(ShellQuoting || (exports.ShellQuoting = ShellQuoting = {}));
|
|
2119
|
-
var TaskPanelKind;
|
|
2120
|
-
(function (TaskPanelKind) {
|
|
2121
|
-
TaskPanelKind[TaskPanelKind["Shared"] = 1] = "Shared";
|
|
2122
|
-
TaskPanelKind[TaskPanelKind["Dedicated"] = 2] = "Dedicated";
|
|
2123
|
-
TaskPanelKind[TaskPanelKind["New"] = 3] = "New";
|
|
2124
|
-
})(TaskPanelKind || (exports.TaskPanelKind = TaskPanelKind = {}));
|
|
2125
|
-
var TaskRevealKind;
|
|
2126
|
-
(function (TaskRevealKind) {
|
|
2127
|
-
TaskRevealKind[TaskRevealKind["Always"] = 1] = "Always";
|
|
2128
|
-
TaskRevealKind[TaskRevealKind["Silent"] = 2] = "Silent";
|
|
2129
|
-
TaskRevealKind[TaskRevealKind["Never"] = 3] = "Never";
|
|
2130
|
-
})(TaskRevealKind || (exports.TaskRevealKind = TaskRevealKind = {}));
|
|
2131
|
-
let ShellExecution = class ShellExecution {
|
|
2132
|
-
constructor(arg0, arg1, arg2) {
|
|
2133
|
-
if (Array.isArray(arg1) || typeof arg1 === 'string') {
|
|
2134
|
-
if (!arg0) {
|
|
2135
|
-
throw (0, errors_1.illegalArgument)('command can\'t be undefined or null');
|
|
2136
|
-
}
|
|
2137
|
-
if (typeof arg0 !== 'string' && typeof arg0.value !== 'string') {
|
|
2138
|
-
throw (0, errors_1.illegalArgument)('command');
|
|
2139
|
-
}
|
|
2140
|
-
this.shellCommand = arg0;
|
|
2141
|
-
this.arguments = arg1;
|
|
2142
|
-
this.shellOptions = arg2;
|
|
2143
|
-
}
|
|
2144
|
-
else {
|
|
2145
|
-
if (typeof arg0 !== 'string') {
|
|
2146
|
-
throw (0, errors_1.illegalArgument)('commandLine');
|
|
2147
|
-
}
|
|
2148
|
-
this.shellCommandLine = arg0;
|
|
2149
|
-
this.shellOptions = arg1;
|
|
2150
|
-
}
|
|
2151
|
-
}
|
|
2152
|
-
get commandLine() {
|
|
2153
|
-
return this.shellCommandLine;
|
|
2154
|
-
}
|
|
2155
|
-
set commandLine(value) {
|
|
2156
|
-
if (typeof value !== 'string') {
|
|
2157
|
-
throw (0, errors_1.illegalArgument)('commandLine');
|
|
2158
|
-
}
|
|
2159
|
-
this.shellCommandLine = value;
|
|
2160
|
-
}
|
|
2161
|
-
get command() {
|
|
2162
|
-
return this.shellCommand;
|
|
2163
|
-
}
|
|
2164
|
-
set command(value) {
|
|
2165
|
-
if (typeof value !== 'string' && typeof value.value !== 'string') {
|
|
2166
|
-
throw (0, errors_1.illegalArgument)('command');
|
|
2167
|
-
}
|
|
2168
|
-
this.shellCommand = value;
|
|
2169
|
-
}
|
|
2170
|
-
get args() {
|
|
2171
|
-
return this.arguments;
|
|
2172
|
-
}
|
|
2173
|
-
set args(value) {
|
|
2174
|
-
this.arguments = value || [];
|
|
2175
|
-
}
|
|
2176
|
-
get options() {
|
|
2177
|
-
return this.shellOptions;
|
|
2178
|
-
}
|
|
2179
|
-
set options(value) {
|
|
2180
|
-
this.shellOptions = value;
|
|
2181
|
-
}
|
|
2182
|
-
static is(value) {
|
|
2183
|
-
const candidate = value;
|
|
2184
|
-
return candidate && (!!candidate.commandLine || !!candidate.command);
|
|
2185
|
-
}
|
|
2186
|
-
};
|
|
2187
|
-
exports.ShellExecution = ShellExecution;
|
|
2188
|
-
exports.ShellExecution = ShellExecution = tslib_1.__decorate([
|
|
2189
|
-
types_1.es5ClassCompat,
|
|
2190
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object, Object])
|
|
2191
|
-
], ShellExecution);
|
|
2192
|
-
let CustomExecution = class CustomExecution {
|
|
2193
|
-
constructor(callback) {
|
|
2194
|
-
this._callback = callback;
|
|
2195
|
-
}
|
|
2196
|
-
set callback(value) {
|
|
2197
|
-
this._callback = value;
|
|
2198
|
-
}
|
|
2199
|
-
get callback() {
|
|
2200
|
-
return this._callback;
|
|
2201
|
-
}
|
|
2202
|
-
static is(value) {
|
|
2203
|
-
const candidate = value;
|
|
2204
|
-
return candidate && (!!candidate._callback);
|
|
2205
|
-
}
|
|
2206
|
-
};
|
|
2207
|
-
exports.CustomExecution = CustomExecution;
|
|
2208
|
-
exports.CustomExecution = CustomExecution = tslib_1.__decorate([
|
|
2209
|
-
types_1.es5ClassCompat,
|
|
2210
|
-
tslib_1.__metadata("design:paramtypes", [Function])
|
|
2211
|
-
], CustomExecution);
|
|
2212
|
-
let TaskGroup = TaskGroup_1 = class TaskGroup {
|
|
2213
|
-
static from(value) {
|
|
2214
|
-
switch (value) {
|
|
2215
|
-
case 'clean':
|
|
2216
|
-
return TaskGroup_1.Clean;
|
|
2217
|
-
case 'build':
|
|
2218
|
-
return TaskGroup_1.Build;
|
|
2219
|
-
case 'rebuild':
|
|
2220
|
-
return TaskGroup_1.Rebuild;
|
|
2221
|
-
case 'test':
|
|
2222
|
-
return TaskGroup_1.Test;
|
|
2223
|
-
default:
|
|
2224
|
-
return undefined;
|
|
2225
|
-
}
|
|
2226
|
-
}
|
|
2227
|
-
constructor(id, label, isDefault) {
|
|
2228
|
-
this.id = id;
|
|
2229
|
-
this.isDefault = !!isDefault;
|
|
2230
|
-
}
|
|
2231
|
-
};
|
|
2232
|
-
exports.TaskGroup = TaskGroup;
|
|
2233
|
-
TaskGroup.Clean = new TaskGroup_1('clean', 'Clean');
|
|
2234
|
-
TaskGroup.Build = new TaskGroup_1('build', 'Build');
|
|
2235
|
-
TaskGroup.Rebuild = new TaskGroup_1('rebuild', 'Rebuild');
|
|
2236
|
-
TaskGroup.Test = new TaskGroup_1('test', 'Test');
|
|
2237
|
-
exports.TaskGroup = TaskGroup = TaskGroup_1 = tslib_1.__decorate([
|
|
2238
|
-
types_1.es5ClassCompat,
|
|
2239
|
-
tslib_1.__metadata("design:paramtypes", [String, String, Object])
|
|
2240
|
-
], TaskGroup);
|
|
2241
|
-
var TaskScope;
|
|
2242
|
-
(function (TaskScope) {
|
|
2243
|
-
TaskScope[TaskScope["Global"] = 1] = "Global";
|
|
2244
|
-
TaskScope[TaskScope["Workspace"] = 2] = "Workspace";
|
|
2245
|
-
})(TaskScope || (exports.TaskScope = TaskScope = {}));
|
|
2246
|
-
let Task = class Task {
|
|
2247
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2248
|
-
constructor(...args) {
|
|
2249
|
-
let taskDefinition;
|
|
2250
|
-
let scope;
|
|
2251
|
-
let name;
|
|
2252
|
-
let source;
|
|
2253
|
-
let execution;
|
|
2254
|
-
let problemMatchers;
|
|
2255
|
-
if (typeof args[1] === 'string') {
|
|
2256
|
-
[
|
|
2257
|
-
taskDefinition,
|
|
2258
|
-
name,
|
|
2259
|
-
source,
|
|
2260
|
-
execution,
|
|
2261
|
-
problemMatchers,
|
|
2262
|
-
] = args;
|
|
2263
|
-
}
|
|
2264
|
-
else {
|
|
2265
|
-
[
|
|
2266
|
-
taskDefinition,
|
|
2267
|
-
scope,
|
|
2268
|
-
name,
|
|
2269
|
-
source,
|
|
2270
|
-
execution,
|
|
2271
|
-
problemMatchers,
|
|
2272
|
-
] = args;
|
|
2273
|
-
}
|
|
2274
|
-
this.definition = taskDefinition;
|
|
2275
|
-
this.scope = scope;
|
|
2276
|
-
this.name = name;
|
|
2277
|
-
this.source = source;
|
|
2278
|
-
this.execution = execution;
|
|
2279
|
-
if (typeof problemMatchers === 'string') {
|
|
2280
|
-
this.taskProblemMatchers = [problemMatchers];
|
|
2281
|
-
this.hasTaskProblemMatchers = true;
|
|
2282
|
-
}
|
|
2283
|
-
else if (Array.isArray(problemMatchers)) {
|
|
2284
|
-
this.taskProblemMatchers = problemMatchers;
|
|
2285
|
-
this.hasTaskProblemMatchers = true;
|
|
2286
|
-
}
|
|
2287
|
-
else {
|
|
2288
|
-
this.taskProblemMatchers = [];
|
|
2289
|
-
this.hasTaskProblemMatchers = false;
|
|
2290
|
-
}
|
|
2291
|
-
this.isTaskBackground = false;
|
|
2292
|
-
this.presentationOptions = Object.create(null);
|
|
2293
|
-
this.taskRunOptions = Object.create(null);
|
|
2294
|
-
}
|
|
2295
|
-
get definition() {
|
|
2296
|
-
return this.taskDefinition;
|
|
2297
|
-
}
|
|
2298
|
-
set definition(value) {
|
|
2299
|
-
if (value === undefined || value === null) {
|
|
2300
|
-
throw (0, errors_1.illegalArgument)('Kind can\'t be undefined or null');
|
|
2301
|
-
}
|
|
2302
|
-
this.taskDefinition = value;
|
|
2303
|
-
}
|
|
2304
|
-
get scope() {
|
|
2305
|
-
return this.taskScope;
|
|
2306
|
-
}
|
|
2307
|
-
set scope(value) {
|
|
2308
|
-
if (value === null) {
|
|
2309
|
-
value = undefined;
|
|
2310
|
-
}
|
|
2311
|
-
this.taskScope = value;
|
|
2312
|
-
}
|
|
2313
|
-
get name() {
|
|
2314
|
-
return this.taskName;
|
|
2315
|
-
}
|
|
2316
|
-
set name(value) {
|
|
2317
|
-
if (typeof value !== 'string') {
|
|
2318
|
-
throw (0, errors_1.illegalArgument)('name');
|
|
2319
|
-
}
|
|
2320
|
-
this.taskName = value;
|
|
2321
|
-
}
|
|
2322
|
-
get execution() {
|
|
2323
|
-
return this.taskExecution;
|
|
2324
|
-
}
|
|
2325
|
-
set execution(value) {
|
|
2326
|
-
if (value === null) {
|
|
2327
|
-
value = undefined;
|
|
2328
|
-
}
|
|
2329
|
-
this.taskExecution = value;
|
|
2330
|
-
}
|
|
2331
|
-
get problemMatchers() {
|
|
2332
|
-
return this.taskProblemMatchers;
|
|
2333
|
-
}
|
|
2334
|
-
set problemMatchers(value) {
|
|
2335
|
-
if (!Array.isArray(value)) {
|
|
2336
|
-
this.taskProblemMatchers = [];
|
|
2337
|
-
this.hasTaskProblemMatchers = false;
|
|
2338
|
-
return;
|
|
2339
|
-
}
|
|
2340
|
-
this.taskProblemMatchers = value;
|
|
2341
|
-
this.hasTaskProblemMatchers = true;
|
|
2342
|
-
}
|
|
2343
|
-
get hasProblemMatchers() {
|
|
2344
|
-
return this.hasTaskProblemMatchers;
|
|
2345
|
-
}
|
|
2346
|
-
get isBackground() {
|
|
2347
|
-
return this.isTaskBackground;
|
|
2348
|
-
}
|
|
2349
|
-
set isBackground(value) {
|
|
2350
|
-
if (value !== true && value !== false) {
|
|
2351
|
-
value = false;
|
|
2352
|
-
}
|
|
2353
|
-
this.isTaskBackground = value;
|
|
2354
|
-
}
|
|
2355
|
-
get source() {
|
|
2356
|
-
return this.taskSource;
|
|
2357
|
-
}
|
|
2358
|
-
set source(value) {
|
|
2359
|
-
if (typeof value !== 'string' || value.length === 0) {
|
|
2360
|
-
throw (0, errors_1.illegalArgument)('source must be a string of length > 0');
|
|
2361
|
-
}
|
|
2362
|
-
this.taskSource = value;
|
|
2363
|
-
}
|
|
2364
|
-
get group() {
|
|
2365
|
-
return this.taskGroup;
|
|
2366
|
-
}
|
|
2367
|
-
set group(value) {
|
|
2368
|
-
if (value === undefined || value === null) {
|
|
2369
|
-
this.taskGroup = undefined;
|
|
2370
|
-
return;
|
|
2371
|
-
}
|
|
2372
|
-
this.taskGroup = value;
|
|
2373
|
-
}
|
|
2374
|
-
get presentationOptions() {
|
|
2375
|
-
return this.taskPresentationOptions;
|
|
2376
|
-
}
|
|
2377
|
-
set presentationOptions(value) {
|
|
2378
|
-
if (value === null || value === undefined) {
|
|
2379
|
-
value = Object.create(null);
|
|
2380
|
-
}
|
|
2381
|
-
this.taskPresentationOptions = value;
|
|
2382
|
-
}
|
|
2383
|
-
get runOptions() {
|
|
2384
|
-
return this.taskRunOptions;
|
|
2385
|
-
}
|
|
2386
|
-
set runOptions(value) {
|
|
2387
|
-
if (value === null || value === undefined) {
|
|
2388
|
-
value = Object.create(null);
|
|
2389
|
-
}
|
|
2390
|
-
this.taskRunOptions = value;
|
|
2391
|
-
}
|
|
2392
|
-
};
|
|
2393
|
-
exports.Task = Task;
|
|
2394
|
-
exports.Task = Task = tslib_1.__decorate([
|
|
2395
|
-
types_1.es5ClassCompat,
|
|
2396
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
2397
|
-
], Task);
|
|
2398
|
-
let Task2 = class Task2 extends Task {
|
|
2399
|
-
};
|
|
2400
|
-
exports.Task2 = Task2;
|
|
2401
|
-
exports.Task2 = Task2 = tslib_1.__decorate([
|
|
2402
|
-
types_1.es5ClassCompat
|
|
2403
|
-
], Task2);
|
|
2404
|
-
let DebugAdapterExecutable = class DebugAdapterExecutable {
|
|
2405
|
-
/**
|
|
2406
|
-
* Creates a description for a debug adapter based on an executable program.
|
|
2407
|
-
*
|
|
2408
|
-
* @param command The command or executable path that implements the debug adapter.
|
|
2409
|
-
* @param args Optional arguments to be passed to the command or executable.
|
|
2410
|
-
* @param options Optional options to be used when starting the command or executable.
|
|
2411
|
-
*/
|
|
2412
|
-
constructor(command, args, options) {
|
|
2413
|
-
this.command = command;
|
|
2414
|
-
this.args = args;
|
|
2415
|
-
this.options = options;
|
|
2416
|
-
}
|
|
2417
|
-
};
|
|
2418
|
-
exports.DebugAdapterExecutable = DebugAdapterExecutable;
|
|
2419
|
-
exports.DebugAdapterExecutable = DebugAdapterExecutable = tslib_1.__decorate([
|
|
2420
|
-
types_1.es5ClassCompat,
|
|
2421
|
-
tslib_1.__metadata("design:paramtypes", [String, Array, Object])
|
|
2422
|
-
], DebugAdapterExecutable);
|
|
2423
|
-
(function (DebugAdapterExecutable) {
|
|
2424
|
-
function is(adapter) {
|
|
2425
|
-
return !!adapter && 'command' in adapter;
|
|
2426
|
-
}
|
|
2427
|
-
DebugAdapterExecutable.is = is;
|
|
2428
|
-
})(DebugAdapterExecutable || (exports.DebugAdapterExecutable = DebugAdapterExecutable = {}));
|
|
2429
|
-
/**
|
|
2430
|
-
* Represents a debug adapter running as a socket based server.
|
|
2431
|
-
*/
|
|
2432
|
-
let DebugAdapterServer = class DebugAdapterServer {
|
|
2433
|
-
/**
|
|
2434
|
-
* Create a description for a debug adapter running as a socket based server.
|
|
2435
|
-
*/
|
|
2436
|
-
constructor(port, host) {
|
|
2437
|
-
this.port = port;
|
|
2438
|
-
this.host = host;
|
|
2439
|
-
}
|
|
2440
|
-
};
|
|
2441
|
-
exports.DebugAdapterServer = DebugAdapterServer;
|
|
2442
|
-
exports.DebugAdapterServer = DebugAdapterServer = tslib_1.__decorate([
|
|
2443
|
-
types_1.es5ClassCompat,
|
|
2444
|
-
tslib_1.__metadata("design:paramtypes", [Number, String])
|
|
2445
|
-
], DebugAdapterServer);
|
|
2446
|
-
(function (DebugAdapterServer) {
|
|
2447
|
-
function is(adapter) {
|
|
2448
|
-
return !!adapter && 'port' in adapter;
|
|
2449
|
-
}
|
|
2450
|
-
DebugAdapterServer.is = is;
|
|
2451
|
-
})(DebugAdapterServer || (exports.DebugAdapterServer = DebugAdapterServer = {}));
|
|
2452
|
-
/**
|
|
2453
|
-
* Represents a debug adapter running as a Named Pipe (on Windows)/UNIX Domain Socket (on non-Windows) based server.
|
|
2454
|
-
*/
|
|
2455
|
-
let DebugAdapterNamedPipeServer = class DebugAdapterNamedPipeServer {
|
|
2456
|
-
/**
|
|
2457
|
-
* Create a description for a debug adapter running as a Named Pipe (on Windows)/UNIX Domain Socket (on non-Windows) based server.
|
|
2458
|
-
*/
|
|
2459
|
-
constructor(path) {
|
|
2460
|
-
this.path = path;
|
|
2461
|
-
}
|
|
2462
|
-
};
|
|
2463
|
-
exports.DebugAdapterNamedPipeServer = DebugAdapterNamedPipeServer;
|
|
2464
|
-
exports.DebugAdapterNamedPipeServer = DebugAdapterNamedPipeServer = tslib_1.__decorate([
|
|
2465
|
-
types_1.es5ClassCompat,
|
|
2466
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
2467
|
-
], DebugAdapterNamedPipeServer);
|
|
2468
|
-
(function (DebugAdapterNamedPipeServer) {
|
|
2469
|
-
function is(adapter) {
|
|
2470
|
-
return !!adapter && 'path' in adapter;
|
|
2471
|
-
}
|
|
2472
|
-
DebugAdapterNamedPipeServer.is = is;
|
|
2473
|
-
})(DebugAdapterNamedPipeServer || (exports.DebugAdapterNamedPipeServer = DebugAdapterNamedPipeServer = {}));
|
|
2474
|
-
/**
|
|
2475
|
-
* A debug adapter descriptor for an inline implementation.
|
|
2476
|
-
*/
|
|
2477
|
-
let DebugAdapterInlineImplementation = class DebugAdapterInlineImplementation {
|
|
2478
|
-
/**
|
|
2479
|
-
* Create a descriptor for an inline implementation of a debug adapter.
|
|
2480
|
-
*/
|
|
2481
|
-
constructor(impl) {
|
|
2482
|
-
this.implementation = impl;
|
|
2483
|
-
}
|
|
2484
|
-
};
|
|
2485
|
-
exports.DebugAdapterInlineImplementation = DebugAdapterInlineImplementation;
|
|
2486
|
-
exports.DebugAdapterInlineImplementation = DebugAdapterInlineImplementation = tslib_1.__decorate([
|
|
2487
|
-
types_1.es5ClassCompat,
|
|
2488
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
2489
|
-
], DebugAdapterInlineImplementation);
|
|
2490
|
-
(function (DebugAdapterInlineImplementation) {
|
|
2491
|
-
function is(adapter) {
|
|
2492
|
-
return !!adapter && 'implementation' in adapter;
|
|
2493
|
-
}
|
|
2494
|
-
DebugAdapterInlineImplementation.is = is;
|
|
2495
|
-
})(DebugAdapterInlineImplementation || (exports.DebugAdapterInlineImplementation = DebugAdapterInlineImplementation = {}));
|
|
2496
|
-
var LogLevel;
|
|
2497
|
-
(function (LogLevel) {
|
|
2498
|
-
LogLevel[LogLevel["Off"] = 0] = "Off";
|
|
2499
|
-
LogLevel[LogLevel["Trace"] = 1] = "Trace";
|
|
2500
|
-
LogLevel[LogLevel["Debug"] = 2] = "Debug";
|
|
2501
|
-
LogLevel[LogLevel["Info"] = 3] = "Info";
|
|
2502
|
-
LogLevel[LogLevel["Warning"] = 4] = "Warning";
|
|
2503
|
-
LogLevel[LogLevel["Error"] = 5] = "Error";
|
|
2504
|
-
})(LogLevel || (exports.LogLevel = LogLevel = {}));
|
|
2505
|
-
/**
|
|
2506
|
-
* The base class of all breakpoint types.
|
|
2507
|
-
*/
|
|
2508
|
-
let Breakpoint = class Breakpoint {
|
|
2509
|
-
constructor(enabled, condition, hitCondition, logMessage, id) {
|
|
2510
|
-
this.enabled = enabled || false;
|
|
2511
|
-
this.condition = condition;
|
|
2512
|
-
this.hitCondition = hitCondition;
|
|
2513
|
-
this.logMessage = logMessage;
|
|
2514
|
-
this._id = id;
|
|
2515
|
-
}
|
|
2516
|
-
/**
|
|
2517
|
-
* The unique ID of the breakpoint.
|
|
2518
|
-
*/
|
|
2519
|
-
get id() {
|
|
2520
|
-
if (!this._id) {
|
|
2521
|
-
this._id = coreutils_1.UUID.uuid4();
|
|
2522
|
-
}
|
|
2523
|
-
return this._id;
|
|
2524
|
-
}
|
|
2525
|
-
};
|
|
2526
|
-
exports.Breakpoint = Breakpoint;
|
|
2527
|
-
exports.Breakpoint = Breakpoint = tslib_1.__decorate([
|
|
2528
|
-
types_1.es5ClassCompat,
|
|
2529
|
-
tslib_1.__metadata("design:paramtypes", [Boolean, String, String, String, String])
|
|
2530
|
-
], Breakpoint);
|
|
2531
|
-
/**
|
|
2532
|
-
* A breakpoint specified by a source location.
|
|
2533
|
-
*/
|
|
2534
|
-
let SourceBreakpoint = class SourceBreakpoint extends Breakpoint {
|
|
2535
|
-
/**
|
|
2536
|
-
* Create a new breakpoint for a source location.
|
|
2537
|
-
*/
|
|
2538
|
-
constructor(location, enabled, condition, hitCondition, logMessage, id) {
|
|
2539
|
-
super(enabled, condition, hitCondition, logMessage, id);
|
|
2540
|
-
this.location = location;
|
|
2541
|
-
}
|
|
2542
|
-
};
|
|
2543
|
-
exports.SourceBreakpoint = SourceBreakpoint;
|
|
2544
|
-
exports.SourceBreakpoint = SourceBreakpoint = tslib_1.__decorate([
|
|
2545
|
-
types_1.es5ClassCompat,
|
|
2546
|
-
tslib_1.__metadata("design:paramtypes", [Location, Boolean, String, String, String, String])
|
|
2547
|
-
], SourceBreakpoint);
|
|
2548
|
-
/**
|
|
2549
|
-
* A breakpoint specified by a function name.
|
|
2550
|
-
*/
|
|
2551
|
-
let FunctionBreakpoint = class FunctionBreakpoint extends Breakpoint {
|
|
2552
|
-
/**
|
|
2553
|
-
* Create a new function breakpoint.
|
|
2554
|
-
*/
|
|
2555
|
-
constructor(functionName, enabled, condition, hitCondition, logMessage, id) {
|
|
2556
|
-
super(enabled, condition, hitCondition, logMessage, id);
|
|
2557
|
-
this.functionName = functionName;
|
|
2558
|
-
}
|
|
2559
|
-
};
|
|
2560
|
-
exports.FunctionBreakpoint = FunctionBreakpoint;
|
|
2561
|
-
exports.FunctionBreakpoint = FunctionBreakpoint = tslib_1.__decorate([
|
|
2562
|
-
types_1.es5ClassCompat,
|
|
2563
|
-
tslib_1.__metadata("design:paramtypes", [String, Boolean, String, String, String, String])
|
|
2564
|
-
], FunctionBreakpoint);
|
|
2565
|
-
class DebugThread {
|
|
2566
|
-
constructor(session, threadId) {
|
|
2567
|
-
this.session = session;
|
|
2568
|
-
this.threadId = threadId;
|
|
2569
|
-
}
|
|
2570
|
-
}
|
|
2571
|
-
exports.DebugThread = DebugThread;
|
|
2572
|
-
class DebugStackFrame {
|
|
2573
|
-
constructor(session, threadId, frameId) {
|
|
2574
|
-
this.session = session;
|
|
2575
|
-
this.threadId = threadId;
|
|
2576
|
-
this.frameId = frameId;
|
|
2577
|
-
}
|
|
2578
|
-
}
|
|
2579
|
-
exports.DebugStackFrame = DebugStackFrame;
|
|
2580
|
-
let Color = class Color {
|
|
2581
|
-
constructor(red, green, blue, alpha) {
|
|
2582
|
-
this.red = red;
|
|
2583
|
-
this.green = green;
|
|
2584
|
-
this.blue = blue;
|
|
2585
|
-
this.alpha = alpha;
|
|
2586
|
-
}
|
|
2587
|
-
};
|
|
2588
|
-
exports.Color = Color;
|
|
2589
|
-
exports.Color = Color = tslib_1.__decorate([
|
|
2590
|
-
types_1.es5ClassCompat,
|
|
2591
|
-
tslib_1.__metadata("design:paramtypes", [Number, Number, Number, Number])
|
|
2592
|
-
], Color);
|
|
2593
|
-
let ColorInformation = class ColorInformation {
|
|
2594
|
-
constructor(range, color) {
|
|
2595
|
-
if (color && !(color instanceof Color)) {
|
|
2596
|
-
throw (0, errors_1.illegalArgument)('color');
|
|
2597
|
-
}
|
|
2598
|
-
if (!Range.isRange(range)) {
|
|
2599
|
-
throw (0, errors_1.illegalArgument)('range');
|
|
2600
|
-
}
|
|
2601
|
-
this.range = range;
|
|
2602
|
-
this.color = color;
|
|
2603
|
-
}
|
|
2604
|
-
};
|
|
2605
|
-
exports.ColorInformation = ColorInformation;
|
|
2606
|
-
exports.ColorInformation = ColorInformation = tslib_1.__decorate([
|
|
2607
|
-
types_1.es5ClassCompat,
|
|
2608
|
-
tslib_1.__metadata("design:paramtypes", [Range, Color])
|
|
2609
|
-
], ColorInformation);
|
|
2610
|
-
let ColorPresentation = class ColorPresentation {
|
|
2611
|
-
constructor(label) {
|
|
2612
|
-
if (!label || typeof label !== 'string') {
|
|
2613
|
-
throw (0, errors_1.illegalArgument)('label');
|
|
2614
|
-
}
|
|
2615
|
-
this.label = label;
|
|
2616
|
-
}
|
|
2617
|
-
};
|
|
2618
|
-
exports.ColorPresentation = ColorPresentation;
|
|
2619
|
-
exports.ColorPresentation = ColorPresentation = tslib_1.__decorate([
|
|
2620
|
-
types_1.es5ClassCompat,
|
|
2621
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
2622
|
-
], ColorPresentation);
|
|
2623
|
-
var ColorFormat;
|
|
2624
|
-
(function (ColorFormat) {
|
|
2625
|
-
ColorFormat[ColorFormat["RGB"] = 0] = "RGB";
|
|
2626
|
-
ColorFormat[ColorFormat["HEX"] = 1] = "HEX";
|
|
2627
|
-
ColorFormat[ColorFormat["HSL"] = 2] = "HSL";
|
|
2628
|
-
})(ColorFormat || (exports.ColorFormat = ColorFormat = {}));
|
|
2629
|
-
let InlayHintLabelPart = class InlayHintLabelPart {
|
|
2630
|
-
constructor(value) {
|
|
2631
|
-
this.value = value;
|
|
2632
|
-
}
|
|
2633
|
-
};
|
|
2634
|
-
exports.InlayHintLabelPart = InlayHintLabelPart;
|
|
2635
|
-
exports.InlayHintLabelPart = InlayHintLabelPart = tslib_1.__decorate([
|
|
2636
|
-
types_1.es5ClassCompat,
|
|
2637
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
2638
|
-
], InlayHintLabelPart);
|
|
2639
|
-
let InlayHint = class InlayHint {
|
|
2640
|
-
constructor(position, label, kind) {
|
|
2641
|
-
this.position = position;
|
|
2642
|
-
this.label = label;
|
|
2643
|
-
this.kind = kind;
|
|
2644
|
-
}
|
|
2645
|
-
};
|
|
2646
|
-
exports.InlayHint = InlayHint;
|
|
2647
|
-
exports.InlayHint = InlayHint = tslib_1.__decorate([
|
|
2648
|
-
types_1.es5ClassCompat,
|
|
2649
|
-
tslib_1.__metadata("design:paramtypes", [Function, Object, Number])
|
|
2650
|
-
], InlayHint);
|
|
2651
|
-
var InlayHintKind;
|
|
2652
|
-
(function (InlayHintKind) {
|
|
2653
|
-
InlayHintKind[InlayHintKind["Type"] = 1] = "Type";
|
|
2654
|
-
InlayHintKind[InlayHintKind["Parameter"] = 2] = "Parameter";
|
|
2655
|
-
})(InlayHintKind || (exports.InlayHintKind = InlayHintKind = {}));
|
|
2656
|
-
let FoldingRange = class FoldingRange {
|
|
2657
|
-
constructor(start, end, kind) {
|
|
2658
|
-
this.start = start;
|
|
2659
|
-
this.end = end;
|
|
2660
|
-
this.kind = kind;
|
|
2661
|
-
}
|
|
2662
|
-
};
|
|
2663
|
-
exports.FoldingRange = FoldingRange;
|
|
2664
|
-
exports.FoldingRange = FoldingRange = tslib_1.__decorate([
|
|
2665
|
-
types_1.es5ClassCompat,
|
|
2666
|
-
tslib_1.__metadata("design:paramtypes", [Number, Number, Number])
|
|
2667
|
-
], FoldingRange);
|
|
2668
|
-
var FoldingRangeKind;
|
|
2669
|
-
(function (FoldingRangeKind) {
|
|
2670
|
-
FoldingRangeKind[FoldingRangeKind["Comment"] = 1] = "Comment";
|
|
2671
|
-
FoldingRangeKind[FoldingRangeKind["Imports"] = 2] = "Imports";
|
|
2672
|
-
FoldingRangeKind[FoldingRangeKind["Region"] = 3] = "Region";
|
|
2673
|
-
})(FoldingRangeKind || (exports.FoldingRangeKind = FoldingRangeKind = {}));
|
|
2674
|
-
let SelectionRange = class SelectionRange {
|
|
2675
|
-
constructor(range, parent) {
|
|
2676
|
-
this.range = range;
|
|
2677
|
-
this.parent = parent;
|
|
2678
|
-
if (parent && !parent.range.contains(this.range)) {
|
|
2679
|
-
throw new Error('Invalid argument: parent must contain this range');
|
|
2680
|
-
}
|
|
2681
|
-
}
|
|
2682
|
-
};
|
|
2683
|
-
exports.SelectionRange = SelectionRange;
|
|
2684
|
-
exports.SelectionRange = SelectionRange = tslib_1.__decorate([
|
|
2685
|
-
types_1.es5ClassCompat,
|
|
2686
|
-
tslib_1.__metadata("design:paramtypes", [Range, SelectionRange])
|
|
2687
|
-
], SelectionRange);
|
|
2688
|
-
/**
|
|
2689
|
-
* Enumeration of the supported operating systems.
|
|
2690
|
-
*/
|
|
2691
|
-
var OperatingSystem;
|
|
2692
|
-
(function (OperatingSystem) {
|
|
2693
|
-
OperatingSystem["Windows"] = "Windows";
|
|
2694
|
-
OperatingSystem["Linux"] = "Linux";
|
|
2695
|
-
OperatingSystem["OSX"] = "OSX";
|
|
2696
|
-
})(OperatingSystem || (exports.OperatingSystem = OperatingSystem = {}));
|
|
2697
|
-
/** The areas of the application shell where webview panel can reside. */
|
|
2698
|
-
var WebviewPanelTargetArea;
|
|
2699
|
-
(function (WebviewPanelTargetArea) {
|
|
2700
|
-
WebviewPanelTargetArea["Main"] = "main";
|
|
2701
|
-
WebviewPanelTargetArea["Left"] = "left";
|
|
2702
|
-
WebviewPanelTargetArea["Right"] = "right";
|
|
2703
|
-
WebviewPanelTargetArea["Bottom"] = "bottom";
|
|
2704
|
-
})(WebviewPanelTargetArea || (exports.WebviewPanelTargetArea = WebviewPanelTargetArea = {}));
|
|
2705
|
-
/**
|
|
2706
|
-
* Possible kinds of UI that can use extensions.
|
|
2707
|
-
*/
|
|
2708
|
-
var UIKind;
|
|
2709
|
-
(function (UIKind) {
|
|
2710
|
-
/**
|
|
2711
|
-
* Extensions are accessed from a desktop application.
|
|
2712
|
-
*/
|
|
2713
|
-
UIKind[UIKind["Desktop"] = 1] = "Desktop";
|
|
2714
|
-
/**
|
|
2715
|
-
* Extensions are accessed from a web browser.
|
|
2716
|
-
*/
|
|
2717
|
-
UIKind[UIKind["Web"] = 2] = "Web";
|
|
2718
|
-
})(UIKind || (exports.UIKind = UIKind = {}));
|
|
2719
|
-
let CallHierarchyItem = CallHierarchyItem_1 = class CallHierarchyItem {
|
|
2720
|
-
constructor(kind, name, detail, uri, range, selectionRange) {
|
|
2721
|
-
this.kind = kind;
|
|
2722
|
-
this.name = name;
|
|
2723
|
-
this.detail = detail;
|
|
2724
|
-
this.uri = uri;
|
|
2725
|
-
this.range = range;
|
|
2726
|
-
this.selectionRange = selectionRange;
|
|
2727
|
-
}
|
|
2728
|
-
static isCallHierarchyItem(thing) {
|
|
2729
|
-
if (thing instanceof CallHierarchyItem_1) {
|
|
2730
|
-
return true;
|
|
2731
|
-
}
|
|
2732
|
-
if (!thing) {
|
|
2733
|
-
return false;
|
|
2734
|
-
}
|
|
2735
|
-
return typeof thing.kind === 'number' &&
|
|
2736
|
-
typeof thing.name === 'string' &&
|
|
2737
|
-
URI.isUri(thing.uri) &&
|
|
2738
|
-
Range.isRange(thing.range) &&
|
|
2739
|
-
Range.isRange(thing.selectionRange);
|
|
2740
|
-
}
|
|
2741
|
-
};
|
|
2742
|
-
exports.CallHierarchyItem = CallHierarchyItem;
|
|
2743
|
-
exports.CallHierarchyItem = CallHierarchyItem = CallHierarchyItem_1 = tslib_1.__decorate([
|
|
2744
|
-
types_1.es5ClassCompat,
|
|
2745
|
-
tslib_1.__metadata("design:paramtypes", [Number, String, String, URI, Range, Range])
|
|
2746
|
-
], CallHierarchyItem);
|
|
2747
|
-
let CallHierarchyIncomingCall = class CallHierarchyIncomingCall {
|
|
2748
|
-
constructor(item, fromRanges) {
|
|
2749
|
-
this.fromRanges = fromRanges;
|
|
2750
|
-
this.from = item;
|
|
2751
|
-
}
|
|
2752
|
-
};
|
|
2753
|
-
exports.CallHierarchyIncomingCall = CallHierarchyIncomingCall;
|
|
2754
|
-
exports.CallHierarchyIncomingCall = CallHierarchyIncomingCall = tslib_1.__decorate([
|
|
2755
|
-
types_1.es5ClassCompat,
|
|
2756
|
-
tslib_1.__metadata("design:paramtypes", [CallHierarchyItem, Array])
|
|
2757
|
-
], CallHierarchyIncomingCall);
|
|
2758
|
-
let CallHierarchyOutgoingCall = class CallHierarchyOutgoingCall {
|
|
2759
|
-
constructor(item, fromRanges) {
|
|
2760
|
-
this.fromRanges = fromRanges;
|
|
2761
|
-
this.to = item;
|
|
2762
|
-
}
|
|
2763
|
-
};
|
|
2764
|
-
exports.CallHierarchyOutgoingCall = CallHierarchyOutgoingCall;
|
|
2765
|
-
exports.CallHierarchyOutgoingCall = CallHierarchyOutgoingCall = tslib_1.__decorate([
|
|
2766
|
-
types_1.es5ClassCompat,
|
|
2767
|
-
tslib_1.__metadata("design:paramtypes", [CallHierarchyItem, Array])
|
|
2768
|
-
], CallHierarchyOutgoingCall);
|
|
2769
|
-
let TypeHierarchyItem = TypeHierarchyItem_1 = class TypeHierarchyItem {
|
|
2770
|
-
constructor(kind, name, detail, uri, range, selectionRange) {
|
|
2771
|
-
this.kind = kind;
|
|
2772
|
-
this.name = name;
|
|
2773
|
-
this.detail = detail;
|
|
2774
|
-
this.uri = uri;
|
|
2775
|
-
this.range = range;
|
|
2776
|
-
this.selectionRange = selectionRange;
|
|
2777
|
-
}
|
|
2778
|
-
static isTypeHierarchyItem(thing) {
|
|
2779
|
-
if (thing instanceof TypeHierarchyItem_1) {
|
|
2780
|
-
return true;
|
|
2781
|
-
}
|
|
2782
|
-
if (!thing) {
|
|
2783
|
-
return false;
|
|
2784
|
-
}
|
|
2785
|
-
return typeof thing.kind === 'number' &&
|
|
2786
|
-
typeof thing.name === 'string' &&
|
|
2787
|
-
URI.isUri(thing.uri) &&
|
|
2788
|
-
Range.isRange(thing.range) &&
|
|
2789
|
-
Range.isRange(thing.selectionRange);
|
|
2790
|
-
}
|
|
2791
|
-
};
|
|
2792
|
-
exports.TypeHierarchyItem = TypeHierarchyItem;
|
|
2793
|
-
exports.TypeHierarchyItem = TypeHierarchyItem = TypeHierarchyItem_1 = tslib_1.__decorate([
|
|
2794
|
-
types_1.es5ClassCompat,
|
|
2795
|
-
tslib_1.__metadata("design:paramtypes", [Number, String, String, URI, Range, Range])
|
|
2796
|
-
], TypeHierarchyItem);
|
|
2797
|
-
var LanguageStatusSeverity;
|
|
2798
|
-
(function (LanguageStatusSeverity) {
|
|
2799
|
-
LanguageStatusSeverity[LanguageStatusSeverity["Information"] = 0] = "Information";
|
|
2800
|
-
LanguageStatusSeverity[LanguageStatusSeverity["Warning"] = 1] = "Warning";
|
|
2801
|
-
LanguageStatusSeverity[LanguageStatusSeverity["Error"] = 2] = "Error";
|
|
2802
|
-
})(LanguageStatusSeverity || (exports.LanguageStatusSeverity = LanguageStatusSeverity = {}));
|
|
2803
|
-
let LinkedEditingRanges = class LinkedEditingRanges {
|
|
2804
|
-
constructor(ranges, wordPattern) {
|
|
2805
|
-
this.ranges = ranges;
|
|
2806
|
-
this.wordPattern = wordPattern;
|
|
2807
|
-
}
|
|
2808
|
-
};
|
|
2809
|
-
exports.LinkedEditingRanges = LinkedEditingRanges;
|
|
2810
|
-
exports.LinkedEditingRanges = LinkedEditingRanges = tslib_1.__decorate([
|
|
2811
|
-
types_1.es5ClassCompat,
|
|
2812
|
-
tslib_1.__metadata("design:paramtypes", [Array, RegExp])
|
|
2813
|
-
], LinkedEditingRanges);
|
|
2814
|
-
// Copied from https://github.com/microsoft/vscode/blob/1.72.2/src/vs/workbench/api/common/extHostTypes.ts
|
|
2815
|
-
var TestResultState;
|
|
2816
|
-
(function (TestResultState) {
|
|
2817
|
-
TestResultState[TestResultState["Queued"] = 1] = "Queued";
|
|
2818
|
-
TestResultState[TestResultState["Running"] = 2] = "Running";
|
|
2819
|
-
TestResultState[TestResultState["Passed"] = 3] = "Passed";
|
|
2820
|
-
TestResultState[TestResultState["Failed"] = 4] = "Failed";
|
|
2821
|
-
TestResultState[TestResultState["Skipped"] = 5] = "Skipped";
|
|
2822
|
-
TestResultState[TestResultState["Errored"] = 6] = "Errored";
|
|
2823
|
-
})(TestResultState || (exports.TestResultState = TestResultState = {}));
|
|
2824
|
-
var TestRunProfileKind;
|
|
2825
|
-
(function (TestRunProfileKind) {
|
|
2826
|
-
TestRunProfileKind[TestRunProfileKind["Run"] = 1] = "Run";
|
|
2827
|
-
TestRunProfileKind[TestRunProfileKind["Debug"] = 2] = "Debug";
|
|
2828
|
-
TestRunProfileKind[TestRunProfileKind["Coverage"] = 3] = "Coverage";
|
|
2829
|
-
})(TestRunProfileKind || (exports.TestRunProfileKind = TestRunProfileKind = {}));
|
|
2830
|
-
let TestTag = class TestTag {
|
|
2831
|
-
constructor(id) {
|
|
2832
|
-
this.id = id;
|
|
2833
|
-
}
|
|
2834
|
-
};
|
|
2835
|
-
exports.TestTag = TestTag;
|
|
2836
|
-
exports.TestTag = TestTag = tslib_1.__decorate([
|
|
2837
|
-
types_1.es5ClassCompat,
|
|
2838
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
2839
|
-
], TestTag);
|
|
2840
|
-
let nextTestRunId = 0;
|
|
2841
|
-
let TestRunRequest = class TestRunRequest {
|
|
2842
|
-
constructor(include = undefined, exclude = undefined, profile = undefined, continuous = undefined, preserveFocus = true) {
|
|
2843
|
-
this.include = include;
|
|
2844
|
-
this.exclude = exclude;
|
|
2845
|
-
this.profile = profile;
|
|
2846
|
-
this.continuous = continuous;
|
|
2847
|
-
this.preserveFocus = preserveFocus;
|
|
2848
|
-
this.testRunId = nextTestRunId++;
|
|
2849
|
-
}
|
|
2850
|
-
};
|
|
2851
|
-
exports.TestRunRequest = TestRunRequest;
|
|
2852
|
-
exports.TestRunRequest = TestRunRequest = tslib_1.__decorate([
|
|
2853
|
-
types_1.es5ClassCompat,
|
|
2854
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object, Object, Object, Boolean])
|
|
2855
|
-
], TestRunRequest);
|
|
2856
|
-
let TestMessage = TestMessage_1 = class TestMessage {
|
|
2857
|
-
static diff(message, expected, actual) {
|
|
2858
|
-
const msg = new TestMessage_1(message);
|
|
2859
|
-
msg.expectedOutput = expected;
|
|
2860
|
-
msg.actualOutput = actual;
|
|
2861
|
-
return msg;
|
|
2862
|
-
}
|
|
2863
|
-
constructor(message) {
|
|
2864
|
-
this.message = message;
|
|
2865
|
-
}
|
|
2866
|
-
};
|
|
2867
|
-
exports.TestMessage = TestMessage;
|
|
2868
|
-
exports.TestMessage = TestMessage = TestMessage_1 = tslib_1.__decorate([
|
|
2869
|
-
types_1.es5ClassCompat,
|
|
2870
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
2871
|
-
], TestMessage);
|
|
2872
|
-
let TestCoverageCount = class TestCoverageCount {
|
|
2873
|
-
constructor(covered, total) {
|
|
2874
|
-
this.covered = covered;
|
|
2875
|
-
this.total = total;
|
|
2876
|
-
}
|
|
2877
|
-
};
|
|
2878
|
-
exports.TestCoverageCount = TestCoverageCount;
|
|
2879
|
-
exports.TestCoverageCount = TestCoverageCount = tslib_1.__decorate([
|
|
2880
|
-
types_1.es5ClassCompat,
|
|
2881
|
-
tslib_1.__metadata("design:paramtypes", [Number, Number])
|
|
2882
|
-
], TestCoverageCount);
|
|
2883
|
-
class TestMessageStackFrame {
|
|
2884
|
-
constructor(label, uri, position) {
|
|
2885
|
-
this.label = label;
|
|
2886
|
-
this.uri = uri;
|
|
2887
|
-
this.position = position;
|
|
2888
|
-
}
|
|
2889
|
-
}
|
|
2890
|
-
exports.TestMessageStackFrame = TestMessageStackFrame;
|
|
2891
|
-
let FileCoverage = FileCoverage_1 = class FileCoverage {
|
|
2892
|
-
static fromDetails(uri, details) {
|
|
2893
|
-
const statements = new TestCoverageCount(0, 0);
|
|
2894
|
-
const branches = new TestCoverageCount(0, 0);
|
|
2895
|
-
const decl = new TestCoverageCount(0, 0);
|
|
2896
|
-
for (const detail of details) {
|
|
2897
|
-
if (detail instanceof StatementCoverage) {
|
|
2898
|
-
statements.total += 1;
|
|
2899
|
-
statements.covered += detail.executed ? 1 : 0;
|
|
2900
|
-
for (const branch of detail.branches) {
|
|
2901
|
-
branches.total += 1;
|
|
2902
|
-
branches.covered += branch.executed ? 1 : 0;
|
|
2903
|
-
}
|
|
2904
|
-
}
|
|
2905
|
-
else {
|
|
2906
|
-
decl.total += 1;
|
|
2907
|
-
decl.covered += detail.executed ? 1 : 0;
|
|
2908
|
-
}
|
|
2909
|
-
}
|
|
2910
|
-
const coverage = new FileCoverage_1(uri, statements, branches.total > 0 ? branches : undefined, decl.total > 0 ? decl : undefined);
|
|
2911
|
-
coverage.detailedCoverage = details;
|
|
2912
|
-
return coverage;
|
|
2913
|
-
}
|
|
2914
|
-
constructor(uri, statementCoverage, branchCoverage, declarationCoverage, includesTests) {
|
|
2915
|
-
this.uri = uri;
|
|
2916
|
-
this.statementCoverage = statementCoverage;
|
|
2917
|
-
this.branchCoverage = branchCoverage;
|
|
2918
|
-
this.declarationCoverage = declarationCoverage;
|
|
2919
|
-
this.includesTests = includesTests;
|
|
2920
|
-
}
|
|
2921
|
-
};
|
|
2922
|
-
exports.FileCoverage = FileCoverage;
|
|
2923
|
-
exports.FileCoverage = FileCoverage = FileCoverage_1 = tslib_1.__decorate([
|
|
2924
|
-
types_1.es5ClassCompat,
|
|
2925
|
-
tslib_1.__metadata("design:paramtypes", [Function, TestCoverageCount,
|
|
2926
|
-
TestCoverageCount,
|
|
2927
|
-
TestCoverageCount, Array])
|
|
2928
|
-
], FileCoverage);
|
|
2929
|
-
let StatementCoverage = class StatementCoverage {
|
|
2930
|
-
constructor(executed, location, branches = []) {
|
|
2931
|
-
this.executed = executed;
|
|
2932
|
-
this.location = location;
|
|
2933
|
-
this.branches = branches;
|
|
2934
|
-
}
|
|
2935
|
-
};
|
|
2936
|
-
exports.StatementCoverage = StatementCoverage;
|
|
2937
|
-
exports.StatementCoverage = StatementCoverage = tslib_1.__decorate([
|
|
2938
|
-
types_1.es5ClassCompat,
|
|
2939
|
-
tslib_1.__metadata("design:paramtypes", [Object, Object, Array])
|
|
2940
|
-
], StatementCoverage);
|
|
2941
|
-
class BranchCoverage {
|
|
2942
|
-
constructor(executed, location, label) {
|
|
2943
|
-
this.executed = executed;
|
|
2944
|
-
this.location = location;
|
|
2945
|
-
this.label = label;
|
|
2946
|
-
}
|
|
2947
|
-
}
|
|
2948
|
-
exports.BranchCoverage = BranchCoverage;
|
|
2949
|
-
let DeclarationCoverage = class DeclarationCoverage {
|
|
2950
|
-
constructor(name, executed, location) {
|
|
2951
|
-
this.name = name;
|
|
2952
|
-
this.executed = executed;
|
|
2953
|
-
this.location = location;
|
|
2954
|
-
}
|
|
2955
|
-
};
|
|
2956
|
-
exports.DeclarationCoverage = DeclarationCoverage;
|
|
2957
|
-
exports.DeclarationCoverage = DeclarationCoverage = tslib_1.__decorate([
|
|
2958
|
-
types_1.es5ClassCompat,
|
|
2959
|
-
tslib_1.__metadata("design:paramtypes", [String, Object, Object])
|
|
2960
|
-
], DeclarationCoverage);
|
|
2961
|
-
let TimelineItem = class TimelineItem {
|
|
2962
|
-
constructor(label, timestamp) {
|
|
2963
|
-
this.label = label;
|
|
2964
|
-
this.timestamp = timestamp;
|
|
2965
|
-
}
|
|
2966
|
-
};
|
|
2967
|
-
exports.TimelineItem = TimelineItem;
|
|
2968
|
-
exports.TimelineItem = TimelineItem = tslib_1.__decorate([
|
|
2969
|
-
types_1.es5ClassCompat,
|
|
2970
|
-
tslib_1.__metadata("design:paramtypes", [String, Number])
|
|
2971
|
-
], TimelineItem);
|
|
2972
|
-
// #region Semantic Coloring
|
|
2973
|
-
let SemanticTokensLegend = class SemanticTokensLegend {
|
|
2974
|
-
constructor(tokenTypes, tokenModifiers = []) {
|
|
2975
|
-
this.tokenTypes = tokenTypes;
|
|
2976
|
-
this.tokenModifiers = tokenModifiers;
|
|
2977
|
-
}
|
|
2978
|
-
};
|
|
2979
|
-
exports.SemanticTokensLegend = SemanticTokensLegend;
|
|
2980
|
-
exports.SemanticTokensLegend = SemanticTokensLegend = tslib_1.__decorate([
|
|
2981
|
-
types_1.es5ClassCompat,
|
|
2982
|
-
tslib_1.__metadata("design:paramtypes", [Array, Array])
|
|
2983
|
-
], SemanticTokensLegend);
|
|
2984
|
-
function isStrArrayOrUndefined(arg) {
|
|
2985
|
-
return typeof arg === 'undefined' || (0, common_1.isStringArray)(arg);
|
|
2986
|
-
}
|
|
2987
|
-
let SemanticTokensBuilder = SemanticTokensBuilder_1 = class SemanticTokensBuilder {
|
|
2988
|
-
constructor(legend) {
|
|
2989
|
-
this._prevLine = 0;
|
|
2990
|
-
this._prevChar = 0;
|
|
2991
|
-
this._dataIsSortedAndDeltaEncoded = true;
|
|
2992
|
-
this._data = [];
|
|
2993
|
-
this._dataLen = 0;
|
|
2994
|
-
this._tokenTypeStrToInt = new Map();
|
|
2995
|
-
this._tokenModifierStrToInt = new Map();
|
|
2996
|
-
this._hasLegend = false;
|
|
2997
|
-
if (legend) {
|
|
2998
|
-
this._hasLegend = true;
|
|
2999
|
-
for (let i = 0, len = legend.tokenTypes.length; i < len; i++) {
|
|
3000
|
-
this._tokenTypeStrToInt.set(legend.tokenTypes[i], i);
|
|
3001
|
-
}
|
|
3002
|
-
for (let i = 0, len = legend.tokenModifiers.length; i < len; i++) {
|
|
3003
|
-
this._tokenModifierStrToInt.set(legend.tokenModifiers[i], i);
|
|
3004
|
-
}
|
|
3005
|
-
}
|
|
3006
|
-
}
|
|
3007
|
-
push(arg0, arg1, arg2, arg3, arg4) {
|
|
3008
|
-
if (typeof arg0 === 'number' && typeof arg1 === 'number' && typeof arg2 === 'number' && typeof arg3 === 'number' &&
|
|
3009
|
-
(typeof arg4 === 'number' || typeof arg4 === 'undefined')) {
|
|
3010
|
-
if (typeof arg4 === 'undefined') {
|
|
3011
|
-
arg4 = 0;
|
|
3012
|
-
}
|
|
3013
|
-
// 1st overload
|
|
3014
|
-
return this._pushEncoded(arg0, arg1, arg2, arg3, arg4);
|
|
3015
|
-
}
|
|
3016
|
-
if (Range.isRange(arg0) && typeof arg1 === 'string' && isStrArrayOrUndefined(arg2)) {
|
|
3017
|
-
// 2nd overload
|
|
3018
|
-
return this._push(arg0, arg1, arg2);
|
|
3019
|
-
}
|
|
3020
|
-
throw (0, errors_1.illegalArgument)();
|
|
3021
|
-
}
|
|
3022
|
-
_push(range, tokenType, tokenModifiers) {
|
|
3023
|
-
if (!this._hasLegend) {
|
|
3024
|
-
throw new Error('Legend must be provided in constructor');
|
|
3025
|
-
}
|
|
3026
|
-
if (range.start.line !== range.end.line) {
|
|
3027
|
-
throw new Error('`range` cannot span multiple lines');
|
|
3028
|
-
}
|
|
3029
|
-
if (!this._tokenTypeStrToInt.has(tokenType)) {
|
|
3030
|
-
throw new Error('`tokenType` is not in the provided legend');
|
|
3031
|
-
}
|
|
3032
|
-
const line = range.start.line;
|
|
3033
|
-
const char = range.start.character;
|
|
3034
|
-
const length = range.end.character - range.start.character;
|
|
3035
|
-
const nTokenType = this._tokenTypeStrToInt.get(tokenType);
|
|
3036
|
-
let nTokenModifiers = 0;
|
|
3037
|
-
if (tokenModifiers) {
|
|
3038
|
-
for (const tokenModifier of tokenModifiers) {
|
|
3039
|
-
if (!this._tokenModifierStrToInt.has(tokenModifier)) {
|
|
3040
|
-
throw new Error('`tokenModifier` is not in the provided legend');
|
|
3041
|
-
}
|
|
3042
|
-
const nTokenModifier = this._tokenModifierStrToInt.get(tokenModifier);
|
|
3043
|
-
nTokenModifiers |= (1 << nTokenModifier) >>> 0;
|
|
3044
|
-
}
|
|
3045
|
-
}
|
|
3046
|
-
this._pushEncoded(line, char, length, nTokenType, nTokenModifiers);
|
|
3047
|
-
}
|
|
3048
|
-
_pushEncoded(line, char, length, tokenType, tokenModifiers) {
|
|
3049
|
-
if (this._dataIsSortedAndDeltaEncoded && (line < this._prevLine || (line === this._prevLine && char < this._prevChar))) {
|
|
3050
|
-
// push calls were ordered and are no longer ordered
|
|
3051
|
-
this._dataIsSortedAndDeltaEncoded = false;
|
|
3052
|
-
// Remove delta encoding from data
|
|
3053
|
-
const tokenCount = (this._data.length / 5) | 0;
|
|
3054
|
-
let prevLine = 0;
|
|
3055
|
-
let prevChar = 0;
|
|
3056
|
-
for (let i = 0; i < tokenCount; i++) {
|
|
3057
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
3058
|
-
let line = this._data[5 * i];
|
|
3059
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
3060
|
-
let char = this._data[5 * i + 1];
|
|
3061
|
-
if (line === 0) {
|
|
3062
|
-
// on the same line as previous token
|
|
3063
|
-
line = prevLine;
|
|
3064
|
-
char += prevChar;
|
|
3065
|
-
}
|
|
3066
|
-
else {
|
|
3067
|
-
// on a different line than previous token
|
|
3068
|
-
line += prevLine;
|
|
3069
|
-
}
|
|
3070
|
-
this._data[5 * i] = line;
|
|
3071
|
-
this._data[5 * i + 1] = char;
|
|
3072
|
-
prevLine = line;
|
|
3073
|
-
prevChar = char;
|
|
3074
|
-
}
|
|
3075
|
-
}
|
|
3076
|
-
let pushLine = line;
|
|
3077
|
-
let pushChar = char;
|
|
3078
|
-
if (this._dataIsSortedAndDeltaEncoded && this._dataLen > 0) {
|
|
3079
|
-
pushLine -= this._prevLine;
|
|
3080
|
-
if (pushLine === 0) {
|
|
3081
|
-
pushChar -= this._prevChar;
|
|
3082
|
-
}
|
|
3083
|
-
}
|
|
3084
|
-
this._data[this._dataLen++] = pushLine;
|
|
3085
|
-
this._data[this._dataLen++] = pushChar;
|
|
3086
|
-
this._data[this._dataLen++] = length;
|
|
3087
|
-
this._data[this._dataLen++] = tokenType;
|
|
3088
|
-
this._data[this._dataLen++] = tokenModifiers;
|
|
3089
|
-
this._prevLine = line;
|
|
3090
|
-
this._prevChar = char;
|
|
3091
|
-
}
|
|
3092
|
-
static _sortAndDeltaEncode(data) {
|
|
3093
|
-
const pos = [];
|
|
3094
|
-
const tokenCount = (data.length / 5) | 0;
|
|
3095
|
-
for (let i = 0; i < tokenCount; i++) {
|
|
3096
|
-
pos[i] = i;
|
|
3097
|
-
}
|
|
3098
|
-
pos.sort((a, b) => {
|
|
3099
|
-
const aLine = data[5 * a];
|
|
3100
|
-
const bLine = data[5 * b];
|
|
3101
|
-
if (aLine === bLine) {
|
|
3102
|
-
const aChar = data[5 * a + 1];
|
|
3103
|
-
const bChar = data[5 * b + 1];
|
|
3104
|
-
return aChar - bChar;
|
|
3105
|
-
}
|
|
3106
|
-
return aLine - bLine;
|
|
3107
|
-
});
|
|
3108
|
-
const result = new Uint32Array(data.length);
|
|
3109
|
-
let prevLine = 0;
|
|
3110
|
-
let prevChar = 0;
|
|
3111
|
-
for (let i = 0; i < tokenCount; i++) {
|
|
3112
|
-
const srcOffset = 5 * pos[i];
|
|
3113
|
-
const line = data[srcOffset + 0];
|
|
3114
|
-
const char = data[srcOffset + 1];
|
|
3115
|
-
const length = data[srcOffset + 2];
|
|
3116
|
-
const tokenType = data[srcOffset + 3];
|
|
3117
|
-
const tokenModifiers = data[srcOffset + 4];
|
|
3118
|
-
const pushLine = line - prevLine;
|
|
3119
|
-
const pushChar = (pushLine === 0 ? char - prevChar : char);
|
|
3120
|
-
const dstOffset = 5 * i;
|
|
3121
|
-
result[dstOffset + 0] = pushLine;
|
|
3122
|
-
result[dstOffset + 1] = pushChar;
|
|
3123
|
-
result[dstOffset + 2] = length;
|
|
3124
|
-
result[dstOffset + 3] = tokenType;
|
|
3125
|
-
result[dstOffset + 4] = tokenModifiers;
|
|
3126
|
-
prevLine = line;
|
|
3127
|
-
prevChar = char;
|
|
3128
|
-
}
|
|
3129
|
-
return result;
|
|
3130
|
-
}
|
|
3131
|
-
build(resultId) {
|
|
3132
|
-
if (!this._dataIsSortedAndDeltaEncoded) {
|
|
3133
|
-
return new SemanticTokens(SemanticTokensBuilder_1._sortAndDeltaEncode(this._data), resultId);
|
|
3134
|
-
}
|
|
3135
|
-
return new SemanticTokens(new Uint32Array(this._data), resultId);
|
|
3136
|
-
}
|
|
3137
|
-
};
|
|
3138
|
-
exports.SemanticTokensBuilder = SemanticTokensBuilder;
|
|
3139
|
-
exports.SemanticTokensBuilder = SemanticTokensBuilder = SemanticTokensBuilder_1 = tslib_1.__decorate([
|
|
3140
|
-
types_1.es5ClassCompat,
|
|
3141
|
-
tslib_1.__metadata("design:paramtypes", [SemanticTokensLegend])
|
|
3142
|
-
], SemanticTokensBuilder);
|
|
3143
|
-
let SemanticTokens = class SemanticTokens {
|
|
3144
|
-
constructor(data, resultId) {
|
|
3145
|
-
this.resultId = resultId;
|
|
3146
|
-
this.data = data;
|
|
3147
|
-
}
|
|
3148
|
-
};
|
|
3149
|
-
exports.SemanticTokens = SemanticTokens;
|
|
3150
|
-
exports.SemanticTokens = SemanticTokens = tslib_1.__decorate([
|
|
3151
|
-
types_1.es5ClassCompat,
|
|
3152
|
-
tslib_1.__metadata("design:paramtypes", [Uint32Array, String])
|
|
3153
|
-
], SemanticTokens);
|
|
3154
|
-
let SemanticTokensEdit = class SemanticTokensEdit {
|
|
3155
|
-
constructor(start, deleteCount, data) {
|
|
3156
|
-
this.start = start;
|
|
3157
|
-
this.deleteCount = deleteCount;
|
|
3158
|
-
this.data = data;
|
|
3159
|
-
}
|
|
3160
|
-
};
|
|
3161
|
-
exports.SemanticTokensEdit = SemanticTokensEdit;
|
|
3162
|
-
exports.SemanticTokensEdit = SemanticTokensEdit = tslib_1.__decorate([
|
|
3163
|
-
types_1.es5ClassCompat,
|
|
3164
|
-
tslib_1.__metadata("design:paramtypes", [Number, Number, Uint32Array])
|
|
3165
|
-
], SemanticTokensEdit);
|
|
3166
|
-
let SemanticTokensEdits = class SemanticTokensEdits {
|
|
3167
|
-
constructor(edits, resultId) {
|
|
3168
|
-
this.resultId = resultId;
|
|
3169
|
-
this.edits = edits;
|
|
3170
|
-
}
|
|
3171
|
-
};
|
|
3172
|
-
exports.SemanticTokensEdits = SemanticTokensEdits;
|
|
3173
|
-
exports.SemanticTokensEdits = SemanticTokensEdits = tslib_1.__decorate([
|
|
3174
|
-
types_1.es5ClassCompat,
|
|
3175
|
-
tslib_1.__metadata("design:paramtypes", [Array, String])
|
|
3176
|
-
], SemanticTokensEdits);
|
|
3177
|
-
var InputBoxValidationSeverity;
|
|
3178
|
-
(function (InputBoxValidationSeverity) {
|
|
3179
|
-
InputBoxValidationSeverity[InputBoxValidationSeverity["Info"] = 1] = "Info";
|
|
3180
|
-
InputBoxValidationSeverity[InputBoxValidationSeverity["Warning"] = 2] = "Warning";
|
|
3181
|
-
InputBoxValidationSeverity[InputBoxValidationSeverity["Error"] = 3] = "Error";
|
|
3182
|
-
})(InputBoxValidationSeverity || (exports.InputBoxValidationSeverity = InputBoxValidationSeverity = {}));
|
|
3183
|
-
// #endregion
|
|
3184
|
-
// #region Tab Inputs
|
|
3185
|
-
class TextTabInput {
|
|
3186
|
-
constructor(uri) {
|
|
3187
|
-
this.uri = uri;
|
|
3188
|
-
}
|
|
3189
|
-
}
|
|
3190
|
-
exports.TextTabInput = TextTabInput;
|
|
3191
|
-
class TextDiffTabInput {
|
|
3192
|
-
constructor(original, modified) {
|
|
3193
|
-
this.original = original;
|
|
3194
|
-
this.modified = modified;
|
|
3195
|
-
}
|
|
3196
|
-
}
|
|
3197
|
-
exports.TextDiffTabInput = TextDiffTabInput;
|
|
3198
|
-
class TextMergeTabInput {
|
|
3199
|
-
constructor(base, input1, input2, result) {
|
|
3200
|
-
this.base = base;
|
|
3201
|
-
this.input1 = input1;
|
|
3202
|
-
this.input2 = input2;
|
|
3203
|
-
this.result = result;
|
|
3204
|
-
}
|
|
3205
|
-
}
|
|
3206
|
-
exports.TextMergeTabInput = TextMergeTabInput;
|
|
3207
|
-
class CustomEditorTabInput {
|
|
3208
|
-
constructor(uri, viewType) {
|
|
3209
|
-
this.uri = uri;
|
|
3210
|
-
this.viewType = viewType;
|
|
3211
|
-
}
|
|
3212
|
-
}
|
|
3213
|
-
exports.CustomEditorTabInput = CustomEditorTabInput;
|
|
3214
|
-
class WebviewEditorTabInput {
|
|
3215
|
-
constructor(viewType) {
|
|
3216
|
-
this.viewType = viewType;
|
|
3217
|
-
}
|
|
3218
|
-
}
|
|
3219
|
-
exports.WebviewEditorTabInput = WebviewEditorTabInput;
|
|
3220
|
-
class TelemetryTrustedValue {
|
|
3221
|
-
constructor(value) {
|
|
3222
|
-
this.value = value;
|
|
3223
|
-
}
|
|
3224
|
-
}
|
|
3225
|
-
exports.TelemetryTrustedValue = TelemetryTrustedValue;
|
|
3226
|
-
class TelemetryLogger {
|
|
3227
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3228
|
-
logUsage(eventName, data) { }
|
|
3229
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3230
|
-
logError(eventNameOrError, data) { }
|
|
3231
|
-
dispose() { }
|
|
3232
|
-
constructor(sender, options) {
|
|
3233
|
-
this.sender = sender;
|
|
3234
|
-
this.options = options;
|
|
3235
|
-
}
|
|
3236
|
-
}
|
|
3237
|
-
exports.TelemetryLogger = TelemetryLogger;
|
|
3238
|
-
class NotebookEditorTabInput {
|
|
3239
|
-
constructor(uri, notebookType) {
|
|
3240
|
-
this.uri = uri;
|
|
3241
|
-
this.notebookType = notebookType;
|
|
3242
|
-
}
|
|
3243
|
-
}
|
|
3244
|
-
exports.NotebookEditorTabInput = NotebookEditorTabInput;
|
|
3245
|
-
class NotebookDiffEditorTabInput {
|
|
3246
|
-
constructor(original, modified, notebookType) {
|
|
3247
|
-
this.original = original;
|
|
3248
|
-
this.modified = modified;
|
|
3249
|
-
this.notebookType = notebookType;
|
|
3250
|
-
}
|
|
3251
|
-
}
|
|
3252
|
-
exports.NotebookDiffEditorTabInput = NotebookDiffEditorTabInput;
|
|
3253
|
-
class TerminalEditorTabInput {
|
|
3254
|
-
constructor() { }
|
|
3255
|
-
}
|
|
3256
|
-
exports.TerminalEditorTabInput = TerminalEditorTabInput;
|
|
3257
|
-
class InteractiveWindowInput {
|
|
3258
|
-
constructor(uri, inputBoxUri) {
|
|
3259
|
-
this.uri = uri;
|
|
3260
|
-
this.inputBoxUri = inputBoxUri;
|
|
3261
|
-
}
|
|
3262
|
-
}
|
|
3263
|
-
exports.InteractiveWindowInput = InteractiveWindowInput;
|
|
3264
|
-
// #endregion
|
|
3265
|
-
// #region DocumentPaste
|
|
3266
|
-
class DocumentPasteEditKind {
|
|
3267
|
-
constructor(value) {
|
|
3268
|
-
this.value = value;
|
|
3269
|
-
}
|
|
3270
|
-
/** @stubbed */
|
|
3271
|
-
append(...parts) {
|
|
3272
|
-
return CodeActionKind.Empty;
|
|
3273
|
-
}
|
|
3274
|
-
;
|
|
3275
|
-
/** @stubbed */
|
|
3276
|
-
intersects(other) {
|
|
3277
|
-
return false;
|
|
3278
|
-
}
|
|
3279
|
-
/** @stubbed */
|
|
3280
|
-
contains(other) {
|
|
3281
|
-
return false;
|
|
3282
|
-
}
|
|
3283
|
-
}
|
|
3284
|
-
exports.DocumentPasteEditKind = DocumentPasteEditKind;
|
|
3285
|
-
DocumentPasteEditKind.Empty = new DocumentPasteEditKind('');
|
|
3286
|
-
DocumentPasteEditKind.Text = new DocumentDropOrPasteEditKind('text');
|
|
3287
|
-
DocumentPasteEditKind.TextUpdateImports = DocumentDropOrPasteEditKind.Text.append('updateImports');
|
|
3288
|
-
let DocumentPasteEdit = class DocumentPasteEdit {
|
|
3289
|
-
constructor(insertText, title, kind) {
|
|
3290
|
-
this.insertText = insertText;
|
|
3291
|
-
this.title = title;
|
|
3292
|
-
this.kind = kind;
|
|
3293
|
-
}
|
|
3294
|
-
};
|
|
3295
|
-
exports.DocumentPasteEdit = DocumentPasteEdit;
|
|
3296
|
-
exports.DocumentPasteEdit = DocumentPasteEdit = tslib_1.__decorate([
|
|
3297
|
-
types_1.es5ClassCompat,
|
|
3298
|
-
tslib_1.__metadata("design:paramtypes", [Object, String, DocumentDropOrPasteEditKind])
|
|
3299
|
-
], DocumentPasteEdit);
|
|
3300
|
-
/**
|
|
3301
|
-
* The reason why paste edits were requested.
|
|
3302
|
-
*/
|
|
3303
|
-
var DocumentPasteTriggerKind;
|
|
3304
|
-
(function (DocumentPasteTriggerKind) {
|
|
3305
|
-
/**
|
|
3306
|
-
* Pasting was requested as part of a normal paste operation.
|
|
3307
|
-
*/
|
|
3308
|
-
DocumentPasteTriggerKind[DocumentPasteTriggerKind["Automatic"] = 0] = "Automatic";
|
|
3309
|
-
/**
|
|
3310
|
-
* Pasting was requested by the user with the `paste as` command.
|
|
3311
|
-
*/
|
|
3312
|
-
DocumentPasteTriggerKind[DocumentPasteTriggerKind["PasteAs"] = 1] = "PasteAs";
|
|
3313
|
-
})(DocumentPasteTriggerKind || (exports.DocumentPasteTriggerKind = DocumentPasteTriggerKind = {}));
|
|
3314
|
-
// #endregion
|
|
3315
|
-
// #region DocumentPaste
|
|
3316
|
-
var EditSessionIdentityMatch;
|
|
3317
|
-
(function (EditSessionIdentityMatch) {
|
|
3318
|
-
EditSessionIdentityMatch[EditSessionIdentityMatch["Complete"] = 100] = "Complete";
|
|
3319
|
-
EditSessionIdentityMatch[EditSessionIdentityMatch["Partial"] = 50] = "Partial";
|
|
3320
|
-
EditSessionIdentityMatch[EditSessionIdentityMatch["None"] = 0] = "None";
|
|
3321
|
-
})(EditSessionIdentityMatch || (exports.EditSessionIdentityMatch = EditSessionIdentityMatch = {}));
|
|
3322
|
-
// #endregion
|
|
3323
|
-
// #region terminalCompletionProvider
|
|
3324
|
-
class TerminalCompletionList {
|
|
3325
|
-
/**
|
|
3326
|
-
* Creates a new completion list.
|
|
3327
|
-
*
|
|
3328
|
-
* @param items The completion items.
|
|
3329
|
-
* @param resourceRequestConfig Indicates which resources should be shown as completions for the cwd of the terminal.
|
|
3330
|
-
* @stubbed
|
|
3331
|
-
*/
|
|
3332
|
-
constructor(items, resourceRequestConfig) {
|
|
3333
|
-
}
|
|
3334
|
-
}
|
|
3335
|
-
exports.TerminalCompletionList = TerminalCompletionList;
|
|
3336
|
-
var TerminalCompletionItemKind;
|
|
3337
|
-
(function (TerminalCompletionItemKind) {
|
|
3338
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["File"] = 0] = "File";
|
|
3339
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Folder"] = 1] = "Folder";
|
|
3340
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Method"] = 2] = "Method";
|
|
3341
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Alias"] = 3] = "Alias";
|
|
3342
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Argument"] = 4] = "Argument";
|
|
3343
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Option"] = 5] = "Option";
|
|
3344
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["OptionValue"] = 6] = "OptionValue";
|
|
3345
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Flag"] = 7] = "Flag";
|
|
3346
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["SymbolicLinkFile"] = 8] = "SymbolicLinkFile";
|
|
3347
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["SymbolicLinkFolder"] = 9] = "SymbolicLinkFolder";
|
|
3348
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Commit"] = 10] = "Commit";
|
|
3349
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Branch"] = 11] = "Branch";
|
|
3350
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Tag"] = 12] = "Tag";
|
|
3351
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Stash"] = 13] = "Stash";
|
|
3352
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["Remote"] = 14] = "Remote";
|
|
3353
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["PullRequest"] = 15] = "PullRequest";
|
|
3354
|
-
TerminalCompletionItemKind[TerminalCompletionItemKind["PullRequestDone"] = 16] = "PullRequestDone";
|
|
3355
|
-
})(TerminalCompletionItemKind || (exports.TerminalCompletionItemKind = TerminalCompletionItemKind = {}));
|
|
3356
|
-
// #endregion
|
|
3357
|
-
// #region terminalQuickFixProvider
|
|
3358
|
-
class TerminalQuickFixTerminalCommand {
|
|
3359
|
-
/**
|
|
3360
|
-
* @stubbed
|
|
3361
|
-
*/
|
|
3362
|
-
constructor(terminalCommand, shouldExecute) { }
|
|
3363
|
-
}
|
|
3364
|
-
exports.TerminalQuickFixTerminalCommand = TerminalQuickFixTerminalCommand;
|
|
3365
|
-
class TerminalQuickFixOpener {
|
|
3366
|
-
/**
|
|
3367
|
-
* @stubbed
|
|
3368
|
-
*/
|
|
3369
|
-
constructor(uri) { }
|
|
3370
|
-
}
|
|
3371
|
-
exports.TerminalQuickFixOpener = TerminalQuickFixOpener;
|
|
3372
|
-
// #region Chat
|
|
3373
|
-
/**
|
|
3374
|
-
* @stubbed
|
|
3375
|
-
*/
|
|
3376
|
-
class ChatRequestTurn {
|
|
3377
|
-
constructor(prompt, command, references, participant, toolReferences) {
|
|
3378
|
-
this.prompt = prompt;
|
|
3379
|
-
this.command = command;
|
|
3380
|
-
this.participant = participant;
|
|
3381
|
-
this.references = references;
|
|
3382
|
-
this.toolReferences = toolReferences;
|
|
3383
|
-
}
|
|
3384
|
-
;
|
|
3385
|
-
}
|
|
3386
|
-
exports.ChatRequestTurn = ChatRequestTurn;
|
|
3387
|
-
/**
|
|
3388
|
-
* @stubbed
|
|
3389
|
-
*/
|
|
3390
|
-
class ChatResponseTurn {
|
|
3391
|
-
constructor(response, result, participant) {
|
|
3392
|
-
this.response = response;
|
|
3393
|
-
this.result = result;
|
|
3394
|
-
this.participant = participant;
|
|
3395
|
-
}
|
|
3396
|
-
}
|
|
3397
|
-
exports.ChatResponseTurn = ChatResponseTurn;
|
|
3398
|
-
/**
|
|
3399
|
-
* @stubbed
|
|
3400
|
-
*/
|
|
3401
|
-
class ChatResponseAnchorPart {
|
|
3402
|
-
constructor(value, title) { }
|
|
3403
|
-
}
|
|
3404
|
-
exports.ChatResponseAnchorPart = ChatResponseAnchorPart;
|
|
3405
|
-
/**
|
|
3406
|
-
* @stubbed
|
|
3407
|
-
*/
|
|
3408
|
-
class ChatResponseProgressPart {
|
|
3409
|
-
constructor(value) { }
|
|
3410
|
-
}
|
|
3411
|
-
exports.ChatResponseProgressPart = ChatResponseProgressPart;
|
|
3412
|
-
/**
|
|
3413
|
-
* @stubbed
|
|
3414
|
-
*/
|
|
3415
|
-
class ChatResponseReferencePart {
|
|
3416
|
-
constructor(value, iconPath) { }
|
|
3417
|
-
}
|
|
3418
|
-
exports.ChatResponseReferencePart = ChatResponseReferencePart;
|
|
3419
|
-
/**
|
|
3420
|
-
* @stubbed
|
|
3421
|
-
*/
|
|
3422
|
-
class ChatResponseCommandButtonPart {
|
|
3423
|
-
constructor(value) { }
|
|
3424
|
-
}
|
|
3425
|
-
exports.ChatResponseCommandButtonPart = ChatResponseCommandButtonPart;
|
|
3426
|
-
/**
|
|
3427
|
-
* @stubbed
|
|
3428
|
-
*/
|
|
3429
|
-
class ChatResponseMarkdownPart {
|
|
3430
|
-
constructor(value) {
|
|
3431
|
-
}
|
|
3432
|
-
}
|
|
3433
|
-
exports.ChatResponseMarkdownPart = ChatResponseMarkdownPart;
|
|
3434
|
-
/**
|
|
3435
|
-
* @stubbed
|
|
3436
|
-
*/
|
|
3437
|
-
class ChatResponseFileTreePart {
|
|
3438
|
-
constructor(value, baseUri) { }
|
|
3439
|
-
}
|
|
3440
|
-
exports.ChatResponseFileTreePart = ChatResponseFileTreePart;
|
|
3441
|
-
var ChatResultFeedbackKind;
|
|
3442
|
-
(function (ChatResultFeedbackKind) {
|
|
3443
|
-
ChatResultFeedbackKind[ChatResultFeedbackKind["Unhelpful"] = 0] = "Unhelpful";
|
|
3444
|
-
ChatResultFeedbackKind[ChatResultFeedbackKind["Helpful"] = 1] = "Helpful";
|
|
3445
|
-
})(ChatResultFeedbackKind || (exports.ChatResultFeedbackKind = ChatResultFeedbackKind = {}));
|
|
3446
|
-
var LanguageModelChatMessageRole;
|
|
3447
|
-
(function (LanguageModelChatMessageRole) {
|
|
3448
|
-
LanguageModelChatMessageRole[LanguageModelChatMessageRole["User"] = 1] = "User";
|
|
3449
|
-
LanguageModelChatMessageRole[LanguageModelChatMessageRole["Assistant"] = 2] = "Assistant";
|
|
3450
|
-
})(LanguageModelChatMessageRole || (exports.LanguageModelChatMessageRole = LanguageModelChatMessageRole = {}));
|
|
3451
|
-
/**
|
|
3452
|
-
* @stubbed
|
|
3453
|
-
*/
|
|
3454
|
-
class LanguageModelChatMessage {
|
|
3455
|
-
static User(content, name) {
|
|
3456
|
-
return new LanguageModelChatMessage(LanguageModelChatMessageRole.User, content, name);
|
|
3457
|
-
}
|
|
3458
|
-
static Assistant(content, name) {
|
|
3459
|
-
return new LanguageModelChatMessage(LanguageModelChatMessageRole.Assistant, content, name);
|
|
3460
|
-
}
|
|
3461
|
-
constructor(role, content, name) {
|
|
3462
|
-
this.role = role;
|
|
3463
|
-
this.content = content;
|
|
3464
|
-
this.name = name;
|
|
3465
|
-
}
|
|
3466
|
-
}
|
|
3467
|
-
exports.LanguageModelChatMessage = LanguageModelChatMessage;
|
|
3468
|
-
class LanguageModelError extends Error {
|
|
3469
|
-
static NoPermissions(message) {
|
|
3470
|
-
return new LanguageModelError(message, LanguageModelError.NoPermissions.name);
|
|
3471
|
-
}
|
|
3472
|
-
static Blocked(message) {
|
|
3473
|
-
return new LanguageModelError(message, LanguageModelError.Blocked.name);
|
|
3474
|
-
}
|
|
3475
|
-
static NotFound(message) {
|
|
3476
|
-
return new LanguageModelError(message, LanguageModelError.NotFound.name);
|
|
3477
|
-
}
|
|
3478
|
-
constructor(message, code) {
|
|
3479
|
-
super(message);
|
|
3480
|
-
this.name = 'LanguageModelError';
|
|
3481
|
-
this.code = code !== null && code !== void 0 ? code : '';
|
|
3482
|
-
}
|
|
3483
|
-
}
|
|
3484
|
-
exports.LanguageModelError = LanguageModelError;
|
|
3485
|
-
var LanguageModelChatToolMode;
|
|
3486
|
-
(function (LanguageModelChatToolMode) {
|
|
3487
|
-
LanguageModelChatToolMode[LanguageModelChatToolMode["Auto"] = 1] = "Auto";
|
|
3488
|
-
LanguageModelChatToolMode[LanguageModelChatToolMode["Required"] = 2] = "Required";
|
|
3489
|
-
})(LanguageModelChatToolMode || (exports.LanguageModelChatToolMode = LanguageModelChatToolMode = {}));
|
|
3490
|
-
/**
|
|
3491
|
-
* @stubbed
|
|
3492
|
-
*/
|
|
3493
|
-
class LanguageModelToolCallPart {
|
|
3494
|
-
constructor(callId, name, input) { }
|
|
3495
|
-
}
|
|
3496
|
-
exports.LanguageModelToolCallPart = LanguageModelToolCallPart;
|
|
3497
|
-
/**
|
|
3498
|
-
* @stubbed
|
|
3499
|
-
*/
|
|
3500
|
-
class LanguageModelToolResultPart {
|
|
3501
|
-
constructor(callId, content) { }
|
|
3502
|
-
}
|
|
3503
|
-
exports.LanguageModelToolResultPart = LanguageModelToolResultPart;
|
|
3504
|
-
/**
|
|
3505
|
-
* @stubbed
|
|
3506
|
-
*/
|
|
3507
|
-
class LanguageModelTextPart {
|
|
3508
|
-
constructor(value) { }
|
|
3509
|
-
}
|
|
3510
|
-
exports.LanguageModelTextPart = LanguageModelTextPart;
|
|
3511
|
-
/**
|
|
3512
|
-
* @stubbed
|
|
3513
|
-
*/
|
|
3514
|
-
class LanguageModelToolResult {
|
|
3515
|
-
constructor(content) { }
|
|
3516
|
-
}
|
|
3517
|
-
exports.LanguageModelToolResult = LanguageModelToolResult;
|
|
3518
|
-
/**
|
|
3519
|
-
* @stubbed
|
|
3520
|
-
*/
|
|
3521
|
-
class LanguageModelPromptTsxPart {
|
|
3522
|
-
constructor(value) { }
|
|
3523
|
-
}
|
|
3524
|
-
exports.LanguageModelPromptTsxPart = LanguageModelPromptTsxPart;
|
|
3525
|
-
// #endregion
|
|
3526
|
-
// #region Port Attributes
|
|
3527
|
-
var PortAutoForwardAction;
|
|
3528
|
-
(function (PortAutoForwardAction) {
|
|
3529
|
-
PortAutoForwardAction[PortAutoForwardAction["Notify"] = 1] = "Notify";
|
|
3530
|
-
PortAutoForwardAction[PortAutoForwardAction["OpenBrowser"] = 2] = "OpenBrowser";
|
|
3531
|
-
PortAutoForwardAction[PortAutoForwardAction["OpenPreview"] = 3] = "OpenPreview";
|
|
3532
|
-
PortAutoForwardAction[PortAutoForwardAction["Silent"] = 4] = "Silent";
|
|
3533
|
-
PortAutoForwardAction[PortAutoForwardAction["Ignore"] = 5] = "Ignore";
|
|
3534
|
-
})(PortAutoForwardAction || (exports.PortAutoForwardAction = PortAutoForwardAction = {}));
|
|
3535
|
-
class PortAttributes {
|
|
3536
|
-
constructor(autoForwardAction) {
|
|
3537
|
-
this.autoForwardAction = autoForwardAction;
|
|
3538
|
-
}
|
|
3539
|
-
}
|
|
3540
|
-
exports.PortAttributes = PortAttributes;
|
|
3541
|
-
// #endregion
|
|
3542
|
-
// #region Debug Visualization
|
|
3543
|
-
class DebugVisualization {
|
|
3544
|
-
constructor(name) {
|
|
3545
|
-
this.name = name;
|
|
3546
|
-
}
|
|
3547
|
-
}
|
|
3548
|
-
exports.DebugVisualization = DebugVisualization;
|
|
3549
|
-
// #endregion
|
|
3550
|
-
// #region Terminal Shell Integration
|
|
3551
|
-
var TerminalShellExecutionCommandLineConfidence;
|
|
3552
|
-
(function (TerminalShellExecutionCommandLineConfidence) {
|
|
3553
|
-
TerminalShellExecutionCommandLineConfidence[TerminalShellExecutionCommandLineConfidence["Low"] = 0] = "Low";
|
|
3554
|
-
TerminalShellExecutionCommandLineConfidence[TerminalShellExecutionCommandLineConfidence["Medium"] = 1] = "Medium";
|
|
3555
|
-
TerminalShellExecutionCommandLineConfidence[TerminalShellExecutionCommandLineConfidence["High"] = 2] = "High";
|
|
3556
|
-
})(TerminalShellExecutionCommandLineConfidence || (exports.TerminalShellExecutionCommandLineConfidence = TerminalShellExecutionCommandLineConfidence = {}));
|
|
3557
|
-
// #endregion
|
|
3558
|
-
/**
|
|
3559
|
-
* McpStdioServerDefinition represents an MCP server available by running
|
|
3560
|
-
* a local process and operating on its stdin and stdout streams. The process
|
|
3561
|
-
* will be spawned as a child process of the extension host and by default
|
|
3562
|
-
* will not run in a shell environment.
|
|
3563
|
-
*/
|
|
3564
|
-
class McpStdioServerDefinition {
|
|
3565
|
-
/**
|
|
3566
|
-
* @param label The human-readable name of the server.
|
|
3567
|
-
* @param command The command used to start the server.
|
|
3568
|
-
* @param args Additional command-line arguments passed to the server.
|
|
3569
|
-
* @param env Optional additional environment information for the server.
|
|
3570
|
-
* @param version Optional version identification for the server.
|
|
3571
|
-
*/
|
|
3572
|
-
constructor(label, command, args, env, version) {
|
|
3573
|
-
this.label = label;
|
|
3574
|
-
this.command = command;
|
|
3575
|
-
this.args = args;
|
|
3576
|
-
this.env = env;
|
|
3577
|
-
this.version = version;
|
|
3578
|
-
}
|
|
3579
|
-
}
|
|
3580
|
-
exports.McpStdioServerDefinition = McpStdioServerDefinition;
|
|
3581
|
-
/**
|
|
3582
|
-
* McpHttpServerDefinition represents an MCP server available using the
|
|
3583
|
-
* Streamable HTTP transport.
|
|
3584
|
-
*/
|
|
3585
|
-
class McpHttpServerDefinition {
|
|
3586
|
-
/**
|
|
3587
|
-
* @param label The human-readable name of the server.
|
|
3588
|
-
* @param uri The URI of the server.
|
|
3589
|
-
* @param headers Optional additional heads included with each request to the server.
|
|
3590
|
-
*/
|
|
3591
|
-
constructor(label, uri, headers, version) {
|
|
3592
|
-
this.label = label;
|
|
3593
|
-
this.uri = uri;
|
|
3594
|
-
this.headers = headers;
|
|
3595
|
-
this.version = version;
|
|
3596
|
-
}
|
|
3597
|
-
;
|
|
3598
|
-
}
|
|
3599
|
-
exports.McpHttpServerDefinition = McpHttpServerDefinition;
|
|
3600
|
-
// #region textEditorDiffInformation
|
|
3601
|
-
var TextEditorChangeKind;
|
|
3602
|
-
(function (TextEditorChangeKind) {
|
|
3603
|
-
TextEditorChangeKind[TextEditorChangeKind["Addition"] = 1] = "Addition";
|
|
3604
|
-
TextEditorChangeKind[TextEditorChangeKind["Deletion"] = 2] = "Deletion";
|
|
3605
|
-
TextEditorChangeKind[TextEditorChangeKind["Modification"] = 3] = "Modification";
|
|
3606
|
-
})(TextEditorChangeKind || (exports.TextEditorChangeKind = TextEditorChangeKind = {}));
|
|
3607
|
-
// #endregion
|
|
3608
|
-
//# sourceMappingURL=types-impl.js.map
|