Add possibility to copy text from hover tooltip
Check for existing issues
- [X] Completed
Describe the feature
It would be nice to add a possibility to select and copy a text from the hover tooltip. Currently, the hover tooltip is closed when it is clicked. For example in some cases in Typescript, it is faster to copy the type than to write it manually.
If applicable, add mockups / screenshots to help present your vision of the feature
Zod:
VSCode - selected text which is possible to copy:
Error message - copy error message and paste into the browser
Eslint message - copy eslint rule
As a vim user I'd love to see this to be navigateable via the keyboard. In vim I can simply press ctrl-w-w to jump in and out of the tooltip and while being inside I can navigate with vim movements and yank text using them.
This issue is a bit old, but it is still a valid issue - however, I realized that when triaging it before, I forgot that we already had an issue for this. I'm going to close this in favor of:
- https://github.com/zed-industries/zed/issues/5236
For anyone subscribed to this thread wanting this feature, please upvote #5236!