I am developing a plugin for a custom language using Grammar-Kit, everything is going pretty well so far. I would like to see how I can add indexing using PSI stubs, as decribed in confluence. As I need to modify classes generated by Grammar-Kit, for example to add constructors to PSI elements classes, this means I need to modify Grammar-Kit itself.
So here is my question : is it theoretically possible for Grammar-Kit to generate code that allows indexing the generated PSI classes? I did a first attempt at doing this (using custom attributes in the grammar), but since I'm very new to indexing, I'm not sure I'm going the right way.
Anyway, it seems that such feature could be very interesting for people who develop plugins using Grammar-Kit.
Thanks for your help