Theia API Documentation v1.65.0
    Preparing search index...

    Module @theia/plugin-ext


    theia-ext-logo

    ECLIPSE THEIA - PLUGIN-EXT EXTENSION


    The @theia/plugin-ext extension contributes functionality for the plugin API.

    The implementation is inspired from: https://blog.mattbierner.com/vscode-webview-web-learnings/.

    • THEIA_WEBVIEW_EXTERNAL_ENDPOINT

      A string pattern possibly containing {{uuid}} and {{hostname}} which will be replaced. This is the host for which the webviews will be served on. It is a good practice to host the webview handlers on a sub-domain as it is more secure. Defaults to {{uuid}}.webview.{{hostname}}.

    • Potentially Insecure Host Pattern

      When you change the host pattern via the THEIA_WEBVIEW_EXTERNAL_ENDPOINT environment variable warning will be emitted both from the frontend and from the backend. You can disable those warnings by setting warnOnPotentiallyInsecureHostPattern: false in the appropriate application configurations in your application's package.json.

    This package has a different folder structure than other Theia packages. Stuff in the "hosted" folder is meant to be scoped to a front end, whereas "main" is global to a back end instance. Code in "plugin" runs inside the plugin host process. But be aware that this is not always the case, for example the plugin manifest scanners (e.g. scanner-theia.ts) are in the hosted folder, even though they a global concern.

    "Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia

    Modules

    common
    common/arrays
    common/assert
    common/cache
    common/character-classifier
    common/collections
    common/commands
    common/connection
    common/disposable-util
    common/editor-options
    common/env
    common/errors
    common/id-generator
    common/language-pack-service
    common/lm-protocol
    common/object-identifier
    common/objects
    common/paths-util
    common/plugin-api-rpc
    common/plugin-api-rpc-model
    common/plugin-ext-api-contribution
    common/plugin-identifiers
    common/plugin-protocol
    common/reference-map
    common/rpc-protocol
    common/semantic-tokens-dto
    common/test-types
    common/types
    common/uint
    common/uri-components
    hosted/browser/hosted-plugin
    hosted/browser/hosted-plugin-watcher
    hosted/browser/plugin-worker
    hosted/browser/worker/debug-stub
    hosted/browser/worker/plugin-manifest-loader
    hosted/browser/worker/worker-env-ext
    hosted/browser/worker/worker-main
    hosted/browser/worker/worker-plugin-module
    hosted/common/hosted-plugin
    hosted/node-electron/plugin-ext-hosted-electron-backend-module
    hosted/node-electron/scanner-theia-electron
    hosted/node/hosted-plugin
    hosted/node/hosted-plugin-cli-contribution
    hosted/node/hosted-plugin-localization-service
    hosted/node/hosted-plugin-process
    hosted/node/hosted-plugin-protocol
    hosted/node/metadata-scanner
    hosted/node/plugin-activation-events
    hosted/node/plugin-deployer-handler-impl
    hosted/node/plugin-ext-hosted-backend-module
    hosted/node/plugin-host
    hosted/node/plugin-host-logger
    hosted/node/plugin-host-module
    hosted/node/plugin-host-proxy
    hosted/node/plugin-host-rpc
    hosted/node/plugin-language-pack-service
    hosted/node/plugin-manifest-loader
    hosted/node/plugin-reader
    hosted/node/plugin-require-override
    hosted/node/plugin-service
    hosted/node/scanners/backend-init-theia
    hosted/node/scanners/file-plugin-uri-factory
    hosted/node/scanners/grammars-reader
    hosted/node/scanners/plugin-uri-factory
    hosted/node/scanners/scanner-theia
    main/browser/authentication-main
    main/browser/clipboard-main
    main/browser/command-registry-main
    main/browser/commands
    main/browser/comments/comment-glyph-widget
    main/browser/comments/comment-thread-widget
    main/browser/comments/comments-context
    main/browser/comments/comments-contribution
    main/browser/comments/comments-decorator
    main/browser/comments/comments-main
    main/browser/comments/comments-service
    main/browser/custom-editors/custom-editor-opener
    main/browser/custom-editors/custom-editor-service
    main/browser/custom-editors/custom-editor-undo-redo-handler
    main/browser/custom-editors/custom-editor-widget
    main/browser/custom-editors/custom-editor-widget-factory
    main/browser/custom-editors/custom-editors-main
    main/browser/custom-editors/plugin-custom-editor-registry
    main/browser/data-transfer/data-transfer-type-converters
    main/browser/debug/debug-main
    main/browser/debug/plugin-debug-adapter-contribution
    main/browser/debug/plugin-debug-configuration-provider
    main/browser/debug/plugin-debug-service
    main/browser/debug/plugin-debug-session-contribution-registry
    main/browser/debug/plugin-debug-session-factory
    main/browser/decorations/decorations-main
    main/browser/dialogs-main
    main/browser/dialogs/modal-notification
    main/browser/documents-main
    main/browser/editors-and-documents-main
    main/browser/env-main
    main/browser/file-system-main-impl
    main/browser/hierarchy/hierarchy-types-converters
    main/browser/keybindings/keybindings-contribution-handler
    main/browser/label-service-main
    main/browser/languages-main
    main/browser/lm-main
    main/browser/localization-main
    main/browser/logger-main
    main/browser/main-context
    main/browser/main-file-system-event-service
    main/browser/menus/menus-contribution-handler
    main/browser/menus/plugin-menu-command-adapter
    main/browser/menus/vscode-theia-menu-mappings
    main/browser/message-registry-main
    main/browser/notebooks/notebook-documents-and-editors-main
    main/browser/notebooks/notebook-documents-main
    main/browser/notebooks/notebook-dto
    main/browser/notebooks/notebook-editors-main
    main/browser/notebooks/notebook-kernels-main
    main/browser/notebooks/notebook-renderers-main
    main/browser/notebooks/notebooks-main
    main/browser/notebooks/renderers/cell-output-webview
    main/browser/notebooks/renderers/output-webview-internal
    main/browser/notebooks/renderers/webview-communication
    main/browser/notification-main
    main/browser/output-channel-registry-main
    main/browser/plugin-authentication-service
    main/browser/plugin-contribution-handler
    main/browser/plugin-ext-argument-processor
    main/browser/plugin-ext-frontend-module
    main/browser/plugin-ext-widget
    main/browser/plugin-frontend-contribution
    main/browser/plugin-frontend-view-contribution
    main/browser/plugin-icon-service
    main/browser/plugin-icon-theme-service
    main/browser/plugin-shared-style
    main/browser/plugin-storage
    main/browser/plugin-terminal-registry
    main/browser/preference-registry-main
    main/browser/quick-open-main
    main/browser/scm-main
    main/browser/secrets-main
    main/browser/selection-provider-command
    main/browser/status-bar-message-registry-main
    main/browser/tabs/tabs-main
    main/browser/tasks-main
    main/browser/terminal-main
    main/browser/test-main
    main/browser/text-editor-main
    main/browser/text-editor-model-service
    main/browser/text-editors-main
    main/browser/theme-icon-override
    main/browser/theming-main
    main/browser/timeline-main
    main/browser/uri-main
    main/browser/view/dnd-file-content-store
    main/browser/view/plugin-tree-view-node-label-provider
    main/browser/view/plugin-view-registry
    main/browser/view/plugin-view-widget
    main/browser/view/tree-view-decorator-service
    main/browser/view/tree-view-widget
    main/browser/view/tree-views-main
    main/browser/view/view-context-key-service
    main/browser/webview-views/webview-views
    main/browser/webview-views/webview-views-main
    main/browser/webview/webview
    main/browser/webview/webview-context-keys
    main/browser/webview/webview-environment
    main/browser/webview/webview-frontend-preference-contribution
    main/browser/webview/webview-frontend-security-warnings
    main/browser/webview/webview-resource-cache
    main/browser/webview/webview-secondary-window-support
    main/browser/webview/webview-theme-data-provider
    main/browser/webview/webview-widget-factory
    main/browser/webviews-main
    main/browser/window-activity-tracker
    main/browser/window-state-main
    main/browser/workspace-main
    main/common/basic-message-registry-main
    main/common/basic-notification-main
    main/common/env-main
    main/common/plugin-paths-protocol
    main/common/plugin-theia-environment
    main/common/webview-preferences
    main/common/webview-protocol
    main/electron-browser/plugin-ext-frontend-electron-module
    main/electron-browser/webview/electron-webview-widget-factory
    main/node/handlers/plugin-theia-directory-handler
    main/node/handlers/plugin-theia-file-handler
    main/node/paths/const
    main/node/paths/plugin-paths-service
    main/node/plugin-cli-contribution
    main/node/plugin-deployer-contribution
    main/node/plugin-deployer-directory-handler-context-impl
    main/node/plugin-deployer-entry-impl
    main/node/plugin-deployer-file-handler-context-impl
    main/node/plugin-deployer-impl
    main/node/plugin-deployer-proxy-entry-impl
    main/node/plugin-deployer-resolver-context-impl
    main/node/plugin-ext-backend-module
    main/node/plugin-github-resolver
    main/node/plugin-http-resolver
    main/node/plugin-localization-server
    main/node/plugin-mgmt-cli-contribution
    main/node/plugin-remote-cli-contribution
    main/node/plugin-remote-copy-contribution
    main/node/plugin-server-impl
    main/node/plugin-service
    main/node/plugin-theia-deployer-participant
    main/node/plugin-uninstallation-manager
    main/node/plugins-key-value-storage
    main/node/resolvers/local-directory-plugin-deployer-resolver
    main/node/resolvers/local-plugin-deployer-resolver
    main/node/temp-dir-util
    main/node/webview-backend-security-warnings
    plugin-ext-backend-electron-module
    plugin-ext-backend-module
    plugin-ext-frontend-electron-module
    plugin-ext-frontend-module
    plugin/authentication-ext
    plugin/clipboard-ext
    plugin/command-registry
    plugin/comments
    plugin/custom-editors
    plugin/debug/debug-ext
    plugin/debug/plugin-debug-adapter-creator
    plugin/debug/plugin-debug-adapter-session
    plugin/debug/plugin-debug-adapter-tracker
    plugin/decorations
    plugin/dialogs
    plugin/document-data
    plugin/documents
    plugin/editors-and-documents
    plugin/env
    plugin/file-system-event-service-ext-impl
    plugin/file-system-ext-impl
    plugin/known-commands
    plugin/label-service
    plugin/languages
    plugin/languages-utils
    plugin/languages/call-hierarchy
    plugin/languages/code-action
    plugin/languages/color
    plugin/languages/completion
    plugin/languages/declaration
    plugin/languages/definition
    plugin/languages/diagnostics
    plugin/languages/document-drop-edit
    plugin/languages/document-formatting
    plugin/languages/document-highlight
    plugin/languages/evaluatable-expression
    plugin/languages/folding
    plugin/languages/hover
    plugin/languages/implementation
    plugin/languages/inlay-hints
    plugin/languages/inline-completion
    plugin/languages/inline-values
    plugin/languages/lens
    plugin/languages/linked-editing-range
    plugin/languages/on-type-formatting
    plugin/languages/outline
    plugin/languages/range-formatting
    plugin/languages/reference
    plugin/languages/rename
    plugin/languages/selection-range
    plugin/languages/semantic-highlighting
    plugin/languages/signature
    plugin/languages/type-definition
    plugin/languages/type-hierarchy
    plugin/languages/util
    plugin/languages/workspace-symbol
    plugin/lm-ext
    plugin/localization-ext
    plugin/logger
    plugin/markdown-string
    plugin/message-registry
    plugin/node/debug/plugin-node-debug-adapter-creator
    plugin/node/env-node-ext
    plugin/node/plugin-container-module
    plugin/notebook/notebook-document
    plugin/notebook/notebook-documents
    plugin/notebook/notebook-editor
    plugin/notebook/notebook-editors
    plugin/notebook/notebook-kernels
    plugin/notebook/notebook-renderers
    plugin/notebook/notebooks
    plugin/notification
    plugin/output-channel-registry
    plugin/output-channel/log-output-channel
    plugin/output-channel/output-channel-item
    plugin/path
    plugin/plugin-context
    plugin/plugin-icon-path
    plugin/plugin-manager
    plugin/plugin-storage
    plugin/preference-registry
    plugin/prefix-sum-computer
    plugin/quick-open
    plugin/scm
    plugin/secrets-ext
    plugin/status-bar-message-registry
    plugin/status-bar/status-bar-item
    plugin/tabs
    plugin/tasks/task-provider
    plugin/tasks/tasks
    plugin/telemetry-ext
    plugin/terminal-ext
    plugin/test-item
    plugin/tests
    plugin/text-editor
    plugin/text-editors
    plugin/theming
    plugin/timeline
    plugin/tree/tree-views
    plugin/type-converters
    plugin/types-impl
    plugin/uri-ext
    plugin/webview-views
    plugin/webviews
    plugin/window-state
    plugin/word-helper
    plugin/workspace