This repository contains code examples for common extension scenarios, e.g. adding a menu contribution, in Eclipse Theia.
Install nvm.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash
Install npm and node.
nvm install 10
nvm use 10
Install yarn.
npm install -g yarn
Install linux packages (if necessary).
sudo apt-get install g++-4.8 libsecret-1-dev xvfb libx11-dev libxkbfile-dev
yarn
yarn rebuild:browser
cd browser-app
yarn start
Open http://localhost:3000 in the browser.
yarn rebuild:electron
cd electron-app
yarn start
Go to Tasks -> Run Task... and select Theia Examples: Browser Development
in VS code.
Open http://localhost:3000 in the browser.
Start watching of label-contribution-example.
cd label-contribution-example
yarn watch
Start watching of editor-example.
cd editor-example
yarn watch
Start watching of command-example.
cd command-example
yarn watch
Start watching of the electron example.
yarn rebuild:electron
cd electron-app
yarn watch
Launch Start Electron Backend
configuration from VS code.
This project is licensed under the MIT License. See the LICENSE file for more information.