Extract Variable Dialog
Refactor | Extract Variable
Generally, this dialog is used to extract new variables. Depending on the language, there may be additional options, for example:
- In Java, you can declare the new variable
To make this dialog accessible for Java, you have to disable in-place refactoring in the editor settings.
- In ActionScript, you can choose to extract a constant rather than a variable, and specify the variable type.