Reputation: 14637
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?
Upvotes: 4
Views: 1187
Reputation: 434
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.
Upvotes: 4
Reputation: 2812
One option is to disable this command.
Upvotes: 1