IntelliJ IDEA 2017.2 Help

Extract Variable Dialog for Sass

Refactor | Extract Variable

Use this dialog box to replace a Sass expression with a variable.

NameSpecify the name for the new variable.
Place for declarationSelect the place in the source code, where the new variable will be declared. The declaration can be global (a variable is declared in the beginning of a Sass file and is available throughout the whole file), or local (a variable is declared immediately before use, and is available in the current block only).
Replace all occurrencesSelect this option to replace all the occurrences of the selected expression (if more than one occurrence of the selected expression is found).
Last modified: 29 November 2017

See Also