Skip to content

How can I quickly add my own Theia extension in the theia-ide project? #16204

Answered by msujew
NO-MAP asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @NO-MAP,

in the end, all a Theia compile-time extension really is, is an npm package with a package.json that contains a theiaExtensions entry:

"theiaExtensions": [
{
"frontend": "lib/browser/toolbar-frontend-module"
}
],

Each entry should point towards a file that exports an inversify ContainerModule. If you want to create an additional extension, you can just do copy and paste from an existing extension.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@NO-MAP
Comment options

@msujew
Comment options

Answer selected by NO-MAP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants