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
  • 11 years ago
  • 5 days ago
  • 11 years ago

Installs

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

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.