Refactoring in the DVT Eclipse IDE - How to Perform Extract to Variable Refactoring

Description

Using DVT's Extract to Variable refactoring, an expression inside a function or task can easily be extracted to a local variable. Just select the expression and press Ctrl+1 - the variable will be declared and initialized with the extracted expression in the correct scope. You may chose to replace all the occurrences of the expression with the newly created variable, or only the selected one.

Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license