Extract Variable Dialog for Sass
Ctrl+Alt+V
Use this dialog box to replace a Sass expression with a variable.
Item | Description |
---|---|
Name | Specify the name for the new variable. |
Place for declaration | Select 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 occurrences | Select this option to replace all the occurrences of the selected expression (if more than one occurrence of the selected expression is found). |
Last modified: 21 November 2018