Anders
Anders

Reputation: 10078

Git blame in Atom editor

I usually used the Intellij IDEA to edit code but lately I have been testing out Atom from Github. I was wondering if there was any way to display Git blame in the editor. Intellij dose it by right clicking on the line number and clicking "annotate".

Upvotes: 12

Views: 7744

Answers (3)

Baldur
Baldur

Reputation: 237

I just released a new package which renders the line’s author and date in the status (bottom) bar:

https://atom.io/packages/atom-status-bar-blame

Upvotes: 1

Tonatiuh
Tonatiuh

Reputation: 2465

If you type CMD+shift+p in Atom, it displays a list of available commands, you can open the command palette and search for "Git blame", the keyboard shortcut is:

option + G + B

Actually if you check there is a considerable list of commands prefixed as: "Open On Github", when you fire any of those commands, they're opened on the repo website of your project.

Seems the shortcut isn't working for me, but the command is.

Upvotes: 5

Anders
Anders

Reputation: 10078

I found this package and it dose exactly what I was looking for.

https://atom.io/packages/git-blame

Upvotes: 9

Related Questions