gtache / intellij-lsp

Plugin adding Language Server Protocol support for IntelliJ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show popup dialog with all definitions when definition request returns more than one location

ChrisS2812 opened this issue · comments

Currently, only the first among possibly multiple Locations of a definition-response is extracted and used when handling a definition-response in the requestDefinition(position: Position) method of EditorEventManager.

I think It would be fairly easy to extract all items of the response and show the default IntelliJ-Popup Dialog for jumping to files when more than one Location was contained in the response. Is there a reason why this feature is not yet implemented?

Best regards
Christian