Vscode-gitlens: Static width of blames in "File Blame" mode

Created on 19 Jun 2017  路  3Comments  路  Source: eamodio/vscode-gitlens

Hi

  • GitLens Version: 4.1.2
  • VSCode Version: 1.13.1
  • OS Version: Mac OS X

I would expect to have some static editable width value of the file gutter blame area. If I set the format of file gutter annotations to "${id} ${author}" and some authors have longer/shorter names then another, then the lines in the gutter area are indented differently as well as the code in the file.

different width of blame lines in gutter

Thanks!

question

Most helpful comment

Cool! That did the trick, thanks a lot!

All 3 comments

@obrejla See Advanced Formatting for details on how to control the lengths.

In your example you could use ${id|8} ${author|20} -- you can replace 20 with however many characters of the author you want displayed.

Hope that helps!

Cool! That did the trick, thanks a lot!

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings