Sertion / vscode-gitblame

Visual Studio Code Extension - See Git Blame info in status bar.
https://marketplace.visualstudio.com/items/waderyan.gitblame
MIT License
72 stars 31 forks source link

The Copy button is gone #106

Closed a1291762 closed 3 years ago

a1291762 commented 3 years ago

The Copy button is gone, which is a problem for me.

I need to transfer the URL into a private browser window. Clicking Copy let me do this.

Clicking View opens a non-private browser window, which immediately changes the URL, making it impossible to copy the URL.

a1291762 commented 3 years ago

FWIW: This is what I see now: image I don't know how to get a screenshot from before, but there was a Copy button there.

a1291762 commented 3 years ago

I wonder... if the recent "Trust" change in vscode is the root cause here? I never added sites to the "Trusted Domains" config and I see it's still empty, but I did trust the folder I have open...

a1291762 commented 3 years ago

yeah... nevermind, it's a vscode bug. untrusted folder that's allowed to use the git blame extension uses trusted domains. image

Sertion commented 3 years ago

This flew under my radar. I am sorry.

There is a command for copying the URL generated by vscode-gitblame. If you use the command palette it is called Git Blame: Copy tool URL to clipboard and if you want to bind it to a keyboard shortcut it is called gitblame.addToolUrlToClipboard.

I hope you have good URL copying experiences!