Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: e6690d87ebf186e71b8e4202827ab33f915e7d5b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                   
                                                                                                                                                                             


















                                                                                                                                                                                             
                                                                 


       
      
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html lang="en">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Refactoring</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>

<body>

<h1>Refactoring</h1>

<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>

<p>To refactor an object select the object, right click and select <b>Refactor &gt; Rename...</b></p>
<p> <img src="../images/cdt_refactor.png"  alt="Editor View showing Refactor option" ></p>

 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>
 <p> <img src="../images/cdt_refactor_undo.png"  alt="Editor View showing Refactor Undo option" ></p>

<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_open_declarations.htm">Open Declarations</a><br>
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
<a href="../concepts/cdt_c_search.htm">C/C++ search</a></p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="cdt_t_search.htm">Searching for C/C++ elements</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_u_search.htm">C/C++ search page, Search dialog box</a></p>

<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >

</body>

</html>

Back to the top