2004-06-21 10:33:03 +00:00
<!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 >
2010-03-31 01:34:27 +00:00
< p > Use the C/C++ Projects, Outline, or the Editor view < strong > Refactor > Rename< / strong > context menu to refactor class & type names, methods, function & member names.< / p >
2004-06-21 10:33:03 +00:00
2010-03-31 01:34:27 +00:00
< p > To refactor an object select the object, right click and select < strong > Refactor > Rename...< / strong > < / p >
2004-06-21 10:33:03 +00:00
< p > < img src = "../images/cdt_refactor.png" alt = "Editor View showing Refactor option" > < / p >
2010-03-31 01:34:27 +00:00
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 < strong > Refactor > Undo< / strong > < / p >
2004-06-21 10:33:03 +00:00
< 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 >
2007-06-14 15:58:09 +00:00
< a href = "../concepts/cdt_c_open_declarations.htm" > Open Declaration< / a > < br >
2004-06-21 10:33:03 +00:00
< 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 >
2007-06-14 15:58:09 +00:00
< img src = "../images/ng00_07.gif" ALT = "IBM Copyright Statement" >
2004-06-21 10:33:03 +00:00
< / body >
2004-06-24 10:49:13 +00:00
< / html >