Communication between Theia Extension and VSCode Extension

When you make a VSCode Extension there is the possibility that they can “communicate” between them. So that you can call Methods from other Extensions. Like in this Example:

Is there a way that a Theia Extension can call a Method from a VSCode Extension and/or the other way around?


@weisa-san I believe the question has been asked previously:

The only way that extensions (build-time) and plugins can communicate are from registered commands.

@vince-fugnitto Thanks for the quick answer and your suggestion worked. And for others who are looking for a solution, you can simply call a Theia command in VSCode extension with the following Line: