Skip to content

Way to bind custom theia extension to GLSP editor #728

Answered by planger
Abhay0294 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

It is hard to know for sure without having the entire code in front of me, but it looks like you are trying to inject a class RootSelectionManager, which you bound in your GLSP dependency injection module (di.config.ts), into a class that lives in Theia.
Please be aware that while both Theia and GLSP use inversify, their dependency injection containers are not the same. So values you bind in one are not available for injection in the other.

I think the closest example we have for your use case is this one:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Abhay0294
Comment options

@planger
Comment options

@Abhay0294
Comment options

Answer selected by Abhay0294
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