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 thewebviews
will be served on. It is a good practice to host thewebview
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 settingwarnOnPotentiallyInsecureHostPattern: false
in the appropriate application configurations in your application'spackage.json
.
The backend application property resolveSystemPlugins
is used to control the resolvement behavior for system plugins (builtins).
The property is used to control whether or not extension-packs and extension-dependencies are resolved at runtime.
- Eclipse Public License 2.0
- 一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception
"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia