Socket
Socket
Sign inDemoInstall

generator-theia-extension

Package Overview
Dependencies
402
Maintainers
7
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-theia-extension

Helps to setup the project structure for developing extensions to the Theia IDE


Version published
Weekly downloads
18
decreased by-28%
Maintainers
7
Install size
26.5 MB
Created
Weekly downloads
 

Readme

Source

theia logo

ECLIPSE THEIA - EXTENSION GENERATOR

Build npm


A yeoman generator that scaffolds a project structure for developing Eclipse Theia extensions.


How to use

To use it, install yo (version 4.x.x) and the generator (see next below).

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

For configuration options, see:

yo theia-extension --help

Extension Options

Template OptionDescriptionDocumentation
hello-worldCreates a simple extension which provides a command and menu item which displays a messagereadme
widgetCreates the basis for a simple widget including a toggle command, alert message and button displaying a message. The template also contains an example unit test.readme
labelproviderCreates a simple extension which adds a custom label (with icon) for .my filesreadme
tree-editorCreates a tree editor extensionreadme
emptyCreates a simple, minimal extensionreadme
backendCreates a backend communication extensionreadme
diagram-editorCreates a diagram editor extensionreadme

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

Trademark

"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia

Keywords

FAQs

Last updated on 09 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc