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
  • 8 years ago
  • 3 minutes ago
  • 8 years ago

Installs

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

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.