How to move code to a statement body?
Hello
Assume that I have code before an if-statement and I want to move the code
to the body of the if-statement. This is not possible using ReSharper's move
commands. When I move the code down then it will be added to after the
if-statement.
Is there a command to move code before the if-statement to the body of the
if-statement?
Cheers
Gabriel Lozano-Moran
Please sign in to leave a comment.
Hello Gabriel Lozano-Moran,
Ctrl-Alt-Shift-Right (Move into)
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
G> Hello
G>
G> Assume that I have code before an if-statement and I want to move the
G> code to the body of the if-statement. This is not possible using
G> ReSharper's move commands. When I move the code down then it will be
G> added to after the if-statement.
G>
G> Is there a command to move code before the if-statement to the body
G> of the if-statement?
G>
G> Cheers
G>
G> Gabriel Lozano-Moran
G>
Thx! :)
"Ilya Ryzhenkov" <orangy@jetbrains.com> wrote in message
news:76a2bd0b15e39b8cac6b9f83c7ba1@news.intellij.net...
>
>
>
>
>