VS 2010 + ReSharper 6.1 - Shortcut for inserting a new line?

1.3k Views Asked by At

In IntelliJ it is possible to press Ctrl + Alt + Enter to insert a new line at the current curser position in the editor.

Does such a shortcut exist for VS + ReSharper?

Also I'd love to have the IntelliJ Shortcut to complete the current statement without jumping to the next line.

In IntelliJ

Ctrl + Shift + Enter = Completes current statement without jumping to the next line.
Shift + Enter = Only jumps to the next line.
Ctrl + Alt + Enter = Inserts a new line and moves the current line down.

Would love to have this for VS + ReSharper

I really appreciate your help.

3

There are 3 best solutions below

0
On

Configure the shortcut Edit.LineOpenBelow

0
On

IIRC, Ctrl+enter inserts a new line in VS (even without resharper)...

0
On

To your requirement:

complete the current statement without jumping to the next line.

The shortest way I know is Ctrl+Shift+Enter, Ctrl+L (if using VisualStudio scheme).