eclipse / lsp4e

Language Server Protocol support in Eclipse IDE
Eclipse Public License 2.0
60 stars 53 forks source link

Fix #969 Add collecting of declarations in addition to definitions #970

Closed travkin79 closed 4 months ago

travkin79 commented 4 months ago

Instead of collecting only definitions (and type definitions and implementations), I modified the code to also collect declarations for the command "open declaration" in LSP4E. For example, in C++, that makes a difference, since methods can be defined, e.g. in .cpp files and declared in .hpp files.

travkin79 commented 4 months ago

It seems, there is an OutOfMemoryError in the build run.

rubenporras commented 4 months ago

I retriggered the job and it has ended normally. Thanks for the PR!