Refactoring

Use the C/C++ Projects, Outline, or the Editor view Refactor > Rename context menu to refactor class & type names, methods, function & member names.

To refactor an object select the object, right click and select Refactor > Rename...

Editor View showing Refactor option

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

Editor View showing Refactor Undo option

Related concepts
Open Declaration
CDT Projects
C/C++ search

Related tasks
Searching for C/C++ elements

Related reference
C/C++ search page, Search dialog box

IBM Copyright Statement