Reputation: 3
May be someone know how I can disable the following behaviour: when I press Shift+Enter - Rider moves the carriage on new line.
For example I write:
if (someCondition){[Here I press Shift+ENTER]}
I want:
if (someCondition)
{
| <- carriage
}
But Rider makes:
if (someCondition){}
| <- carriage is here
Upvotes: 0
Views: 2310
Reputation: 165423
Settings/Preferences | Keymap
Find Actions by Shortcut
button to find what actions have Shift + Enter assigned to them.Here in PhpStorm (it would be similar in Rider as they both IDEA-based IDEs) Shift + Enter is assigned to Editor Actions | Start New Line
action in Default keymap that behaves as per your description. Just remove that shortcut from that action.
Upvotes: 1