Eclipse, Git – Keyboard Shortcut, How to use?
What keyboard shortcut is commit bound to here (see image below)? (alternatively, how do I enter a # without using shift?).
I know how to update shortcuts in eclipse, but it is already bound to this default, and I’d prefer to just use that. 🙂
5 Solutions collect form web for “Eclipse, Git – Keyboard Shortcut, How to use?”
The keyboard shortcut
Ctrl-# only works for me after activating command group in
Window > Customize Perspective > Command Groups Availability > Git
Sometimes what happens is that the shortcut it s not binded to a key.
So to bind the shortcut with a key you have to go (as @Janning and @Nateowami said):
Window > Customize Perspective > Tool Bar Visibility > Git
After that if you select
Available command groups go to the
Toolbar details (as in picture):
There you have to select
key bindings and complete the binding:
That should put a bind to your shortcut. Otherway is just searching on
Windows > Preferences
I recommend using the Staging View for committing, it’s much more convenient. Find it using Ctrl+3 (or Command+3 on OS X) and typing “Staging View”. Also see the user guide.
In EGit 2.1, it’s now also possible to commit in the Staging view when you are finished writing the commit message, using Ctrl+Enter (or Command+Enter on OS X). (That was implemented in bug 382936.)
Buy another keyboard with a different keyboard layout than your current one (or just switch your keyboard layout in the OS).
Judging from your profile, you might be using a Canadian Multilangual Standard keyboard. The egit developers are probably used to the standard English or German layouts (looking at the core committers), where # can be accessed without Shift.
Thanks to the poke from @Evan commenting on the question.
In Juno, ctrl+shift+3 (ie. you are doing literally ctrl+#) does NOT work.
(which, is why this was opened, since the obvious combination didn’t seem to do the trick.).
I have tested now in Kepler and Luna, and the shortcut does work.
So, I am considering this closed.