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
  • 10 years ago
  • 49 minutes ago
  • 10 years ago

Installs

  • Total 11K
  • Win 4K
  • Mac 5K
  • Linux 2K
Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3
Windows 0 2 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1
Mac 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
Linux 0 0 0 0 0 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 1 0 1 1 1 0 1 1 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.

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.