ppisl opened a new pull request, #4302: URL: https://github.com/apache/netbeans/pull/4302
This adds the SymbolProvider interface, which is used to retrieve symbols from open projects, to the LSP API. So far we only support symbol extraction from Java. This will make it possible to provide symbols from other languages as well. An implementation has been added to allow symbols to be retrieved from GSF languages. SymbolProvider returns a list of `StructureElements`. It's not ideal, but I wanted to reuse the code as much as possible. Of course, no children are used from StructureElement, just a file, a simple name and a selection range to find the position. If the range is not known, it can be null and then at least the file is opened. -- 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
