blob: 40d25ab6d3e8ff66a00f4ce633f77ec9a2d06766 [file] [log] [blame]
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
The <span class="control">Code | Move Statement Up/Down</span>
action is useful for reorganizing the code lines in your file, e.g.,
for bringing a variable declaration closer to variable usage.</p>
<p>
Select a code fragment and press <span class="shortcut">&shortcut:MoveStatementUp;</span>
or <span class="shortcut">&shortcut:MoveStatementDown;</span>.</p>
<p>
The following pictures show an initial location of a code fragment, and the results of moving the selected fragment up and down.</p>
<p class="image">
<img src="images/move_up_down_witharrows_initial.png"></p>
<p class="image">
<img src="images/move_up_down_witharrows_up.png"></p>
<p class="image">
<img src="images/move_up_down_witharrows_down.png"></p>
<p>
When nothing is selected in the editor, the line at the cursor will be moved.</p>
</body>
</html>