Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Stub elements and indexes? #17

Open
Tomasu opened this issue Jun 10, 2020 · 1 comment
Open

Support for Stub elements and indexes? #17

Tomasu opened this issue Jun 10, 2020 · 1 comment

Comments

@Tomasu
Copy link

Tomasu commented Jun 10, 2020

Hi,

I think it'd be useful if this library supported intellij's Stub feature. I'd like to be able to add some StubIndex's to my language plugin.

@bjansen
Copy link
Collaborator

bjansen commented Jun 12, 2020

It seems to me that stub indexes are very specific to the language you are building:

The stub tree contains only a subset of the nodes. Typically it contains only the nodes that are needed to resolve the declarations contained in this file from external files.

I don't see how a generic library could decide what should be put in the index and what's not needed, but perhaps I'm missing something. Did you have something specific in mid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants