Skip to content
Examples for Eclipse Theia
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
backend-example
browser-app
command-example
editor-example
electron-app
file-label-example
inversify-example
task-example
terminal-example
.gitignore
.travis.yml
LICENSE
README.md
lerna.json
package.json
yarn.lock

README.md

Eclipse Theia Examples

Build Status

This repository contains code examples for common extension scenarios, e.g. adding a menu contribution, in Eclipse Theia.

Getting started

Install nvm.

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash

Install npm and node.

nvm install 8
nvm use 8

Install yarn.

npm install -g yarn

Install dependencies

yarn

Running the browser example

yarn rebuild:browser
cd browser-app
yarn start

Open http://localhost:3000 in the browser.

Running the Electron example

yarn rebuild:electron
cd electron-app
yarn start

Developing with the browser example

Go to Tasks -> Run Task... and select Theia Examples: Browser Development in VS code.

Open http://localhost:3000 in the browser.

Developing with the Electron example

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.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

You can’t perform that action at this time.