carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_refactoring.htm
changeset 5 684bf18fdedf
equal deleted inserted replaced
4:4764c8c88759 5:684bf18fdedf
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
       
     2 <html lang="en">
       
     3 
       
     4 <head>
       
     5 <meta http-equiv="Content-Language" content="en-us">
       
     6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
     7 <title>Refactoring</title>
       
     8 <link rel="stylesheet" type="text/css" href="../help.css">
       
     9 </head>
       
    10 
       
    11 <body>
       
    12 
       
    13 <h1>Refactoring</h1>
       
    14 
       
    15 <p>Use the C/C++ Projects, Outline, or the Editor view <b>Refactor &gt; Rename</b> context menu to refactor class &amp; type names, methods, function &amp; member names.</p>
       
    16 
       
    17 <p>To refactor an object select the object, right click and select <b>Refactor &gt; Rename...</b></p>
       
    18 <p> <img src="../images/cdt_refactor.png"  alt="Editor View showing Refactor option" ></p>
       
    19 
       
    20  The refactoring engine will rename all instances of the object in all referenced files. You can Undo refactoring by right clicking a second time and selecting <b>Refactor &gt; Undo</b></p>
       
    21  <p> <img src="../images/cdt_refactor_undo.png"  alt="Editor View showing Refactor Undo option" ></p>
       
    22 
       
    23 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
       
    24 <br>
       
    25 <a href="../concepts/cdt_c_open_declarations.htm">Open Declaration</a><br>
       
    26 <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
       
    27 <a href="../concepts/cdt_c_search.htm">C/C++ search</a></p>
       
    28 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
       
    29 <br>
       
    30 <a href="cdt_t_search.htm">Searching for C/C++ elements</a></p>
       
    31 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
       
    32 <br>
       
    33 <a href="../reference/cdt_u_search.htm">C/C++ search page, Search dialog box</a></p>
       
    34 
       
    35 <img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" >
       
    36 
       
    37 </body>
       
    38 
       
    39 </html>