blob: 06ce96f4567522a934e962579adeafe20331e6da [file] [log] [blame]
Tor Norbye814f8292014-03-06 17:27:18 -08001<html>
2<head>
3 <link rel="stylesheet" type="text/css" href="css/tips.css">
4</head>
5<body>
6
7
8 <p>The Extract Variable
9 refactoring helps you simplify complicated statements in your code. For example, in the code fragment below,
10 you can select an expression in the code, and press <span class="shortcut">&shortcut:IntroduceVariable;</span> (<span class="control">Refactor | Extract | Variable</span>).</p>
11 <p>
12 <p class="image"><img src="images/extract_variable_1.png"></p>
13 This will result in the following:</p>
14 <p class="image"><img src="images/extract_variable_2.png"></p>
15
16
17
18</body>
19</html>