Josh Rosen
Josh Rosen

Reputation: 13801

Automatically displaying VCS annotations in IntelliJ IDEA

Is there a way to have IntelliJ IDEA automatically display Git / VCS annotations in the left margin for every file that I open? Right now, I can bring them up by right-clicking in the left margin and choosing Annotate or by using the VCS -> Git -> Annotate menu option. Both of these options are cumbersome when I want to view annotations for dozens of files in a row.

I'm using IntelliJ Ultimate 12.1.3.

Upvotes: 41

Views: 13177

Answers (3)

prayagupadhyay
prayagupadhyay

Reputation: 31192

I was searching for the same feature for a while, but couldn't find in intellij 13.0.

So I ended up adding up shortcut(Ctrl Alt 0) through File->Settings->keymap, which will show or hide the VCS annotation.

intellj vcs annotation

Upvotes: 16

adswebwork
adswebwork

Reputation: 5485

I found that by using the keyboard path it was pretty straight forward. {ALT + S} > g > n - will display the annotations, but I wanted a faster way.

So i created a shortcut. File > Settings > Keymap > Main menu > VCS > GIT > right click annotate and 'add keyboard shortcut' - I used {Ctrl + Alt + z} since that didn't conflict with any I already had.

Hope that helps

Upvotes: 23

fecresgam
fecresgam

Reputation: 27

I think it cant be done by default. Note that the "annotate" feature executed every time will cause a huge overload in the system that most of the people prefer to avoid.

Upvotes: 1

Related Questions