sample-plugins/README.md
A small collection of minimal VS Code extensions used by Theia to exercise the plugin runtime. Each plugin lives under sample-namespace/ and registers a simple Hello from <plugin-name> command. Some demonstrate specific runtime variants (browser-only, ESM, etc.).
Two options:
plugins directoryOptional: download the bundled VS Code built-ins via npm run download:plugins.
Copy the plugin into the deployed plugins directory:
cp -r sample-plugins/sample-namespace/<plugin-name> plugins/
Start the example app, e.g.:
npm run start:browser
Open the command palette and run Hello from <plugin-name>.
Package the plugin as a .vsix. From inside the plugin folder:
npm run build
This runs vsce package --no-dependencies and produces a <plugin-name>-<version>.vsix next to the source files.
Start Theia, e.g. npm run start:browser.
Open the Extensions view.
Use the ... menu and pick Install from VSIX..., then select the built .vsix.
Open the command palette and run Hello from <plugin-name> to verify.