matthiasblaesing commented on PR #4549:
URL: https://github.com/apache/netbeans/pull/4549#issuecomment-1250319886

   I pushed an update into my branch 
(https://github.com/matthiasblaesing/netbeans/commits/antlr4-support).
   
   The idea is this: The NB indexer is to limited and to big to fix the issue 
for antlr files. We are lucky, in that they only allow import from the local 
directory. With this limit in mind and considering that we have a limited 
number of grammar files in each directory, we should be able to get away with a 
local indexer. This is implemented as `AntlrLocalIndex`, which caches the 
parser results for the local antlr files, which should make them readily 
available.
   
   Based on that modification I implemented "Where used" support.
   
   Finally I found a problem, where I could not use the navigation entries in 
the structure display to jump inside the grammar files. This was fixed by the 
last commit.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to