Refactoring (IDE Tutorial)

From RAD Studio
Jump to: navigation, search

Go Up to The Code Editor Index (IDE Tutorial)

Refactoring is the process of improving your code without changing its external functionality.

For example, you can turn a selected code fragment into a method by using the extract refactoring method. The IDE 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.

Several other refactoring methods, such as renaming a symbol and declaring a variable, are also available. See Refactoring Overview for more information.


Keystroke Macros