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
  • 9 years ago
  • 40 minutes ago
  • 9 years ago

Installs

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