zed icon indicating copy to clipboard operation
zed copied to clipboard

Template inline blame

Open Angelk90 opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

Hi! @mrnugget, Would it be possible to add a template to inline blame?

%ic - icon commit
%ca - committer avatar
%cn - committer name
%ce - committer email
%cr - committer date, relative
%cs - committer date, short format (YYYY-MM-DD)
...

Link pretty format: https://git-scm.com/docs/pretty-formats#Documentation/pretty-formats.txt-emHem

"inline_blame": {
      "enabled": true,
       "template": "%ca %cn, %cr <%ce>" //"%ic %cn, %cr" default
      // Sets a delay after which the inline blame information is shown.
      // Delay is restarted with every cursor movement.
      // "delay_ms": 600
}

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Angelk90 avatar Apr 27 '24 13:04 Angelk90

I think it would be fair to merge this request with #10771 by adding this information to it. Let me know what you think.

Moshyfawn avatar Apr 29 '24 00:04 Moshyfawn

Yeah, let's merge it with #10771.

mrnugget avatar Apr 29 '24 04:04 mrnugget

Be sure to +👍 the other issue if you end up on this one.

Related to:

  • #10771

Moshyfawn avatar Apr 29 '24 12:04 Moshyfawn