"Go to Definition" from hover popup
See original GitHub issueCheck out this quick example:
As you see, VS Code knows the type of _event
, yet there’s no way to navigate to the definition of LoanCancelledEvent
, because it’s just a static text in the popup, and it’s nowhere near in the editor to click on. So, it would be neat if this popup let you “go to definition” of the symbol, just like Ctrl/Cmd+Click in the editor. Something like this:
Currently (v1.63.0), if you press any key while the popup is visible, it will disappear (at least in Windows). And if you hold Ctrl/Cmd while hovering over the symbol, you’ll get some extra content in the popup unrelated to what I’m suggesting. So, I’d say the user should not have to hold any keys for this feature to work - the popup would simply appear with clickable symbols right away.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:31
- Comments:6 (2 by maintainers)
Top GitHub Comments
@jrieken I think this is a very useful feature for code reading especialiy for javascript code. Hope this will be implemented soon.
Since I have switched from intelij to vscode I miss this feature a lot.