RAD Studio (Common)
ContentsIndex
PreviousUpNext
Refactor

These dialogs are used to refactor aspects of a project in RAD Studio.

Name 
Description 
RefactorChange Params
Adds, edits, removes, and rearranges the parameters of a method.  
RefactorDeclare Field
Use this dialog box to declare a field in your code.  
RefactorDeclare Variable
Use this dialog box to declare a local variable in a procedure. If the cursor in the Code Editor is not positioned on an undeclared variable, the RefactorDeclare Variable command in unavailable.  
RefactorExtract Method
Turns a selected code fragment into a method. RAD Studio moves the extracted code outside of the current method, determines the needed parameters, generates local variables if necessary, determines the return type, and replaces the code fragment with a call to the new method.  
RefactorExtract Resource String
Use this dialog box to convert the string currently selected in the Code Editor to a resource string. The resourcestring keyword and the resource string will be added to the implementation section of your code, and the original string will be replaced with the new resource string name.  
RefactorFind Unit
Use this dialog to locate units and add them to the uses clause of your Delphi code file.  
RefactorRename
Use this dialog box to specify a new name for the selected symbol before refactoring your code.  
RefactorRename <symbol name>
Use this dialog box to perform rename refactoring on a symbol, such as a variable, type, field, method, or parameter, currently selected in the Code Editor. The first field in the dialog varies based on the type of symbol you are renaming.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!