for Windows and Linux
Use this page to integrate the Compass framework with PhpStorm and thus enable compilation of Sass and SCSS files from Compass-specific projects into CSS. For details, see Using File Watchers.
Before you start working with Compass, make sure that the Sass support plugin is enabled. The plugin is bundled with PhpStorm and is activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.
Make sure that Ruby is installed on your computer.
For more details, see Sass and SCSS in Compass Projects.
|Enable Compass support|| Select this check box to activate Compass support including the possibility to compile Sass and SCSS files from your Compass project into CSS. |
|Compass executable file||In this field, specify the location of the |
compass executable file under the Ruby installation. Type the path manually, for example,
C:\Ruby200-x64\bin\compass, or choose it from the drop-down list, or click the Browse button and choose the location of the
compass file in the dialog box that opens.
|Config path||In this field, specify the location of the project Compass configuration file |
config.rb. Type the path manually, for example,
C:\my_projects\\compass_project\config.rb, or choose it from the drop-down list, or click the Browse button and choose the location of the
compass file int he dialog box that opens.
The Compass configuration file
config.rb is generated during project set-up through
compass create or
compass init commands.
Last modified: 21 August 2017