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

Relative Path Token #87

Closed bwathen closed 3 years ago

bwathen commented 3 years ago

Hello, love the extension! Helps out a ton with a large codebase 👍

I have a feature request regarding the commit url. Would it be possible to add a new token so the relative file path can be appended? It'd be awesome to be able to directly open the current file using a URL anchor in the git blame commit link.

Sertion commented 3 years ago

Hey Ben! Glad you like the extension.

I think I have an idea how this could work.

Sertion commented 3 years ago

If you could try if this version works for you that would be great!

I have added a new file.path token for the gitblame.commitUrl configuration option.

bwathen commented 3 years ago

Awesome, worked perfectly! Thanks for the quick response 👍

Sertion commented 3 years ago

Thank you for verifying!

The new version is being uploaded. It can sometimes take a while for it to be available for everyone.