| Tor Norbye | 814f829 | 2014-03-06 17:27:18 -0800 | [diff] [blame^] | 1 | <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> |