Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow an option to only show hovers if a shortcut key is down #43857

Closed
eamodio opened this issue Feb 16, 2018 · 4 comments
Closed

Allow an option to only show hovers if a shortcut key is down #43857

eamodio opened this issue Feb 16, 2018 · 4 comments
Labels
editor-hover Editor mouse hover feature-request Request for new features or functionality
Milestone

Comments

@eamodio
Copy link
Contributor

eamodio commented Feb 16, 2018

Issue Type

Feature Request

Description

I've been seeing more and more people complain about the hovers, and honestly at times they are getting in my way as well. It might be nice if there was an option to only show hovers if you hold down a key (Ctrl/Alt/etc), so that way moving around won't cause hovers unless you want them. If something like this was to be added, debugging should be considered a separate mode from editing.

VS Code Info

VS Code version: Code - Insiders 1.21.0-insider (936b796, 2018-02-16T05:15:47.029Z)
OS version: Windows_NT x64 10.0.17101

@egamma egamma added the feature-request Request for new features or functionality label Feb 18, 2018
@jrieken jrieken assigned alexdima and unassigned jrieken Feb 27, 2018
@alexdima alexdima added the editor-hover Editor mouse hover label Feb 27, 2018
@alexdima alexdima added this to the Backlog milestone Feb 27, 2018
@alexdima alexdima removed their assignment Feb 27, 2018
@n8crwlr
Copy link

n8crwlr commented Aug 22, 2019

I would like it to 👍

@n8crwlr
Copy link

n8crwlr commented Aug 27, 2019

Just realized that hover means hovering linter messages, too. That's bad.

@scscgit
Copy link

scscgit commented Jun 12, 2020

Bump, I was also searching for this issue (of being unable to enable Hover: Sticky only temporarily instead of having it forced either always or never), but couldn't find it due to a lack of keywords within issue description; it's a setting "editor.hover.sticky": true which only lets you permanently disable the annoying default behaviour. I hope we can already have something similar implemented after having the issue open for over 2 years; I believe this is a huge oversight, as approximately 99% of the time the user doesn't really want to interact with a hover in any way, and when they do, holding a modifier like Ctrl; or even just pressing it, or doing anything else really, definitely wouldn't hurt most people (as a default behaviour that can be changed to a current one), yet now even a simple action of moving a mouse over the code repeatedly causes blind spots to be created, so you have to always move the cursor far away, and then be always quick enough without parking the mouse in any spot. If this was indeed by design, can you please provide us with any user testing statistics where people found this behaviour helpful instead of annoying? There was also a similar attempt to suggest an alternative solution of only making tooltips sticky if they support some action at #81181, though I'd much rather also keep other options of the interaction, like copying text from the tooltip. Btw. I'd suggest that a small hint like [CTRL to interact] could be displayed in the tooltip corner by default.

@alexdima
Copy link
Member

Let's continue tracking in #15667

@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-hover Editor mouse hover feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

6 participants