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
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
Editor Actions | Start New Line
action in Default keymap that behaves as per your description. Just remove that shortcut from that action.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.