Skip to content

eclipsesource/generator-theia-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


theia logo

THEIA - EXTENSION GENERATOR

Travis Status

A Yeoman generator that scaffolds a project structure for developing extensions to the Theia IDE.


How to use

To use it, install yo and the generator.

npm install -g yo generator-theia-extension

To create a sample project with a Theia extension including a browser and electron app, run:

mkdir my-extension && cd my-extension
yo theia-extension

Extension options

  1. hello-world: creates a simple extension which provides a command and menu item which displays a message.
  2. widget: creates the basis for a simple widget including a toggle command, alert message and button displaying a message.
  3. labelprovider: create a simple extension which adds a custom label (with icon) for .my files

For configuration options, see

yo theia-extension --help

Publishing

Follow this instruction to login to the npm registry with a user account.

If you don't have an account contact Theia organization to request one.

Publish with np.

npx np

License

Apache-2.0

About

A Yeoman generator for extensions to the Theia IDE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 71.1%
  • JavaScript 28.1%
  • CSS 0.8%