RubyMine 2016.2 Help

Extract Variable Dialog for Sass

Refactor | Extract Variable
Ctrl+Alt+V

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

ItemDescription
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).

See Also

Procedures:

Last modified: 30 November 2016