mrcrowl / vscode-hg

Integrated Mercurial source control for Visual Studio Code
MIT License
71 stars 37 forks source link

Unable to use or copy hash in gutter annotations #178

Open Alphare opened 2 years ago

Alphare commented 2 years ago

First of all, thanks for shipping annotations support, it will prove very useful. :)

I usually use hg annotate to get more information or even follow code through history (with hg export and other calls to annotate). When using gutter full-file annotations, I am unable to do anything with the pop-up window that appears on hover.

I would like to be able to easily copy the (preferably full) hash of the changeset that introduced that line. Even the Git Lens extension does not make it easy to copy the hash because it requires hovering + scrolling to the bottom of the message if it's long + clicking the hash + clicking "copy SHA".

My ideal workflow would be to just be able to right click the gutter line and have the option to copy the hash from there, but I'm not sure how possible that is.