Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Eclipse, how to make Shift+Enter to not send a commit immediately?

In Eclipse, how to make Shift+Enter to not send a commit immediately?

In most editting contexts in software (editors, browsers, etc.), Shift+Enter makes a hard linebreak, but in Eclipse when you compose a commit message before making commit to a version control system, hitting Shift+Enter will make the commit immediately. Is there a way to override this sometimes-inconvenient behavior?

like image 774
Meng Lu Avatar asked Oct 18 '25 08:10

Meng Lu


1 Answers

I'm putting this here because it's not apparent where to reply to the previous answer.

These instructions are incorrect. Ctrl+Shift+L twice does not open my preferences. You must then navigate to General>Keys. Then under the binding column you can find Shift+Enter but it is only set to "Insert Line Below Current Line". Unbinding this command does not change behaviour when committing.

like image 109
Craig Pemberton Avatar answered Oct 21 '25 13:10

Craig Pemberton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!