Terminal hover positioning is unfriendly
See original GitHub issue- have a long’ish link, like
echo https://github.com/microsoft/vscode/pull/162335
- mouse-hover over the number
- 🐛 the link hover appears left aligned, ignores my mouse x-coordinate, and forces me to move the cursor into it (which can be finicky)
https://user-images.githubusercontent.com/1794099/193029983-cc12425a-8d2f-4359-88a5-ee9e5ed74f8c.mov
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Mac Terminal Cursor Position More Visible - Stack Overflow
I'm on OSX Mavericks, using TotalTerminal. Here is a screen shot of me hovering over a character of text which is hard to...
Read more >Keyboard Control - mpv.io
Show the playlist and the current position in it (useful only if a UI window is used, broken on the terminal). F9: Show...
Read more >Menu hover effect causes unwanted movement - CSS-Tricks
I want to include a hover effect for each of my menu items. ... Items with absolute positioning won't have any effect on...
Read more >A terminal stock watcher and stock position tracker
On latest chrome, when I scroll down the homepage, the links in the header no longer work (no hover state or click handling)....
Read more >Department of Defense Dictionary of Military and Associated ...
position military equipment and supplies in support of combatant commanders' ... that hostile aircraft and/or missiles are en route toward an air defense ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The editor positioning is now improved via https://github.com/microsoft/vscode/pull/163970 , let’s keep this issue around to track the terminal hover positioning.
The reason was, as @Tyriar mentioned, to align the hover with the current word / symbol being hovered. Over the years, we’ve added a range property to a hover result, where a hover provider can express what range their hover applies to, and we moved to use that. Most of the times, that range is something sensible, like the current word/symbol. But I agree that this doesn’t work very well if the range is a lot larger, if it begins far away from the mouse position or on a wrapped line, etc. This came up a lot over the years, I’ll look into improving things.