IDEADEV-40756
[fedora-idea.git] / platform / platform-resources-en / src / tips / IntroduceVariable.html
blob427921a86280b4fdada417db82694ee056b34ff2
1 <html>
2 <body style="font-family: Verdana; font-size: 13;" LEFTMARGIN="25" TOPMARGIN="25">
3 <table cellpadding="15" width="98%" border="0">
4 <tr>
5 <td>The <font style="font-family: Verdana; font-weight:bold;" size="3" color="#005555"><i>Introduce Variable</i></font>
6 refactoring helps you to simplify complicated statements in your code. For example, in the code fragment below,
7 you can select an expression in the code:
8 <p><img hspace="20" src="images/introduce_variable_1.gif"></p><br>
9 and press &shortcut:IntroduceVariable; (<font style="font-family: Verdana; font-weight:bold;" size="3" color="#005555">Refactor | Introduce Variable...</font>).
10 This will result in the following:
11 <p><img hspace="20" src="images/introduce_variable_2.gif"></p>
12 </td>
13 </tr>
14 </table>
15 </body>
16 </html>