ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Blame​Highlighter

by skyronic ST3

Sublime Text 3 Extension to highlight the code committed by you in a file using git blame

Details

  • 2013.12.01.17.14.55
  • github.​com
  • github.​com
  • 7 years ago
  • 3 hours ago
  • 7 years ago

Installs

  • Total 10K
  • Win 3K
  • Mac 4K
  • Linux 2K
Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20
Windows 0 1 2 2 0 2 2 1 0 1 0 4 1 0 2 0 1 0 0 0 1 1 0 2 2 1 2 2 0 3 0 2 0 1 0 0 0 1 0 1 1 1 0 1 0 2
Mac 1 1 1 2 0 1 4 1 0 0 0 0 0 0 1 1 1 0 1 1 0 2 2 2 1 0 2 1 2 2 2 2 1 0 0 2 3 3 1 0 0 0 2 2 2 2
Linux 0 3 2 1 1 0 1 2 0 0 2 0 0 2 0 1 1 0 0 0 1 1 1 1 0 0 0 0 0 0 1 1 1 0 1 0 0 1 1 0 1 1 0 2 1 3

Readme

Source
raw.​githubusercontent.​com

BlameHighlighter

What does it do?

This Sublime Text 3 Extension highlights the code in a git-repository file that is previously committed by you. It does this by using git-blame which shows which lines were committed by you.

Screenshot

Why would it be useful?

If you have previously committed a small bit of code in a large file, you can quickly find that section because it gets highlighted on the minimap.

How do I Install it?

You can get it from Sublime Package Control. Install the 'BlameHighlighter' package.

Please note you need Git 1.8.4 or above to use BlameHighlighter. If you are running Windows, you have to set the path to git.exe in the BlameHighlight.sublime-settings file.

How to use it?

Invoke the command pane (Ctrl + Shift + P or Cmd + Shift + P) and run the following functions:

  • BlameHighlighter: Highlight the code you have edited - to highlight the changes.
  • BlameHighlighter: Clear Highlighted Blames - to clear the highlights

License

This is licensed under MIT/X11. Thanks to Sindhu for the idea for this plugin.