View Contribution class hierarchy

Hi all,

I’d like to know how I might be able to view or create a hierarchy of available contributions and widgets that use them.

Does anyone know of any VS Code extensions that would achieve this. I’ve seen some command line tools that create UML diagrams but all the ones I found seemed a bit half-baked or unmaintained.

I’m also aware of the type-hierarchy extension for Theia, but I can’t seem to get it working, and wasn’t able to find an equivalent for VS Code.

Thanks guys.

Cheers,
David

To anyone who is interested in this, the answer is to use the Theia TypeDoc hosted at:

https://eclipse-theia.github.io/theia/docs/next/modules/core.html

which lists all the types within @theia/core

1 Like

Hey @marcdumais-work,

Just a thought, but is there any possibility we could add a link to the Theia TypeDoc on https://theia-ide.org/docs/authoring_extensions, and to theia/doc/Developing.md?

It was a huge timesaver for me.

@BrotherCreamy yes, this sounds like a good idea. Would you be willing to contribute a couple of small PRs for this? Alternatively opening a couple of issues would also help, so we remember to do this when we have a chance.

The theia-ide.org site can be modified from this git repo: https://github.com/theia-ide/theia-website

And Developing.md is in the main Theia repo: https://github.com/eclipse-theia/theia

I’ll try contribute the PRs, most likely on Sunday. Thanks Marc.

1 Like