Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show git author name in Sublime Text editor?

I'm using GitGutter with Sublime Text editor.

With this plug-in Git > This file > blame will open a new tab with annontations.

Is there any way to show the Git annotations in the same edit window probably just before the line number

like image 654
Mithun Sreedharan Avatar asked Feb 15 '13 09:02

Mithun Sreedharan


1 Answers

Ok a couple things here.

First off, The git blame feature is not a part of my GitGutter plugin, it is a part of the Git plugin.

Secondly, @skuroda is correct that you can only put an icon in the gutter.

What you can do to simulate this tho: is use the split pane View > Layout > Columns: 2 and put the git blame on the left pane and the actual file on the right pane. You will want to turn off word wrap View > Word Wrap

Here is a screen shot: enter image description here


Then your only problem is to keep the 2 views in sync when you scroll. I haven't tested it but it looks like this sublime plugin might do that: glue views

like image 178
JD Isaacks Avatar answered Sep 20 '22 20:09

JD Isaacks