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

3

6

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.

Quinine answered 21/4, 2012 at 11:7 Comment(1)
I did not get any answer to a related question.Herve
H
4

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).

Herve answered 26/4, 2012 at 15:33 Comment(0)
T
3

Configure the shortcut Edit.LineOpenBelow

Thicket answered 7/5, 2013 at 8:24 Comment(0)
U
1

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

Uniparous answered 21/4, 2012 at 11:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.