Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the keyboard shortcut for 'Commit' in the 'commit changes' dialogue in RubyMine (and PHPStorm, IntellijIDEA, PyCharm etc)?

After choosing git --> commit changes, I have a dialogue as below with 'Commit' in the bottom right. It seems to have the 'i' underlined, however I can't work out what the shortcut for it is as none of the usual combinations e.g. Command-I, Command-Alt-I work. Any ideas?

enter image description here

like image 587
Matt Gibson Avatar asked Apr 04 '13 14:04

Matt Gibson


1 Answers

Mnemonics usually work via the Alt key, so it would be Alt+I.

Note that Enter confirms the dialog choice and if the focus is in the text area, it would be Ctrl+Enter.

Alt+I mnemonic will also not work when you are entering the commit comment, so you should use Ctrl+Enter.

You can also try disabling this option to get separate buttons.

like image 111
CrazyCoder Avatar answered Oct 24 '22 11:10

CrazyCoder