Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: bind Command key to show SVN annotations

I wanted to show SVN annotations in Eclipse (3.7) automatically. It turns out I can only bind a key (Command) to it:

Show CVS annotations by default in Eclipse

It's under General->Keys. But it's not working. I tried a few combinations of (Command, Binding and When) settings, however the annotations never appeared on the left margin of any editor. From the context-menu (Team->Show Annotation...) it's working fine.

I'm about to use Ctrl+Shift+Z which is not used by any Eclipse or OS command yet.

Can someone share me the exact Command?

like image 844
Adam Horvath Avatar asked Nov 27 '25 04:11

Adam Horvath


1 Answers

In addition to binding the key command you need to activate the SVN command group in your current perspective.

Step 1: Bind Command

  • Window -> Preferences -> General -> Keys
  • Search for "show annotation" and set a key binding for category "SVN", "Ctrl+Shift+Z" for example (I use "Ctrl+Alt+A"). Choose "In Windows" as "When".

Step 2: Activate SVN Command Group

  • Window -> Customize Perspective... -> Command Groups Availability -> check "SVN"
like image 146
Tobias Avatar answered Nov 29 '25 19:11

Tobias