Sign inSign up

hobord/theia-ext-dev

By hobord

Updated over 6 years ago

env for theia extension development

Image
0

255

hobord/theia-ext-dev repository overview

Theia extension dev

Content

  • nvm
  • node 10
  • yarn
  • yo
  • generator-theia-extension
  • @theia/generator-plugin
  • generator-code typescript
  • ovsx
  • vsce

Run

docker run -it --rm -p 3000:3000 --user $(id -u):$(id -g) -w=/workspace -v $(pwd):/workspace theia-ext-dev

yo theia-extension my-extension
# or
yo @theia/plugin my-plugin
# or
yo code my-extension

yarn

The env running in user level (no root), but You can get root with sudo su.

  • uid: 1000
  • gid: 1000
Publish theia
yarn publish
ovsx create-namespace "publisher" # if it doesn't already exist
ovsx publish

https://github.com/open-vsx/publish-extensions

Publish vscode extension
cd extension-dir
vsce package

https://code.visualstudio.com/api/working-with-extensions/publishing-extension

Tag summary

Content type

Image

Digest

Size

329.7 MB

Last updated

over 6 years ago

docker pull hobord/theia-ext-dev