Is there any way to achieve 'jump from method implementation to interface method definition'? #1115
-
For now, I use lspsaga & glance plugins. I found that they offer the function 'Lspsaga goto_definition' and 'Glance implementations' can use for jump from definition to implementation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I dont really get your point. What lang and lsp do u use? Can u give us some screenshots or examples of what u want to achieve? After all, they're commands from different plugins, i'm not sure why u want do combine them. |
Beta Was this translation helpful? Give feedback.
-
I think this really depends on the language server u're using, bc the formal specification doesn't mandate that servers must implement a |
Beta Was this translation helpful? Give feedback.
I think this really depends on the language server u're using, bc the formal specification doesn't mandate that servers must implement a
textDocument/switchSourceHeader
method. I knowclangd
supports this (extra) feature and we have a mapping for it, but for Java, IMO u should contact ur LSP vendor or check their documentation to see if there's a similar feature available.