AppCode 2021.2 Help

Extract Variable Dialog

Use this dialog to extract variables in C/C++/Objective-C contexts.

NameSpecify the name for the new variable.All
Replace all occurrencesSelect this checkbox to replace all the occurrences of the selected expression (if more than one occurrence of the selected expression is found).All
Variable declaration

Choose to extract a (global) variable, a constant, or a local variable:

  • extract var- select this option to extract a global variable.

  • extract constant- select this option to extract a constant.

  • extract local variable- select this option to extract a local variable.

    The extract local variable option is available only for JavaScript 1.7, JavaScript 1.8.5, ES5, and ES6.

Last modified: 09 September 2021