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

Make hover tooltip show up automatically after specified delay #362

Closed
krassowski opened this issue Sep 14, 2020 · 2 comments
Closed

Make hover tooltip show up automatically after specified delay #362

krassowski opened this issue Sep 14, 2020 · 2 comments
Labels

Comments

@krassowski
Copy link
Member

krassowski commented Sep 14, 2020

At the moment the user has to press Ctrl (or a different modifier key if changed in settings) to bring up the hover tooltip. We could allow specifying a delay as an alternative/additional activation method. This is how it is implemented in VScode I think.

Sketch for setting schema:

"delay": {
  "title": "Hover delay",
  "type": ["number", "null"],
  "default": 300,
  "description": "Number of milliseconds after which the hover tooltip should be shown. Set to `null` to disable the automatic display of the tooltip (it will still be possible to bring it up with the modifier key)."
},

The following files are relevant:

Questions to the users:

  • should it be enabled by default?
  • what should be the default delay?
@yamaton
Copy link
Contributor

yamaton commented Apr 29, 2022

Let's re-ignite this auto-tooltip discussion.

  • should it be enabled by default?

Yes. A consistent UI/UX is what I like.

  • what should be the default delay?

300 ms, the default value in VS code.

@krassowski
Copy link
Member Author

Closing as this was implemented in #864. Thank you again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants