sass and compass susy plug in

Hi
Can i know how php storm  detect sass extension ( bootstrap ,susy, compass) ?

when i use a sass variable  that com from an extension $total-columns , PHP storm show me that this variable is define in 2 different extension
Why phpstrom show me after the variable implicitly  imported for bootstrap library  ?
which file setting inform phpstorm that boostrap  must be impliclty imported ?
why phpstorm show me susy  path library if i dont use  @import it in the *.scss file ?


regards



Attachment(s):
phpstorm_sass_variable.png
5 comments
Comment actions Permalink

Normally variables from all .scss files available in your project/compass libs are shown in completion. The ones that the not imported explicitly are marked with 'implicitly imported' label
>why phpstorm show me susy  path library if i dont use  @import it in the *.scss file ?

it should be shown as implicitly imported then...

0
Comment actions Permalink

Hi
I have a config.rb file for compass  and use prepros has a external compiler .

1 how i must  understand this message in the capture screen ?
2 Does php-storm could have it own "kind of " config.rb ( not use the config.rb  locate in the compass project ?


regard's phpstorm-sass-setting.png

0
Comment actions Permalink

1. PHPStorm just prompts you to add files watchers to compile your sass to css
As you are using compass, I'd suggest dismissinga prompt to create SASS watcher and agree to add a compass one

2. PHPStorm doesn't have its own config.rb files - it uses the config from your project

0
Comment actions Permalink

Hi

Ok for relation beetween phpstrom and compass project directory .
How phpstorm process  scss ?
Does scss  file must be under the project directory ?
Does phpstorm process file that are under ruby directory ?
Does phpstrom ca nsupport prepros where scss files ( but not only also lib exe many rb files  ) are under prepros installation directory ( programm file -> prepros -> gems or nodejs )
for example if i need susy and use prepro in a compass project, susy scss files are not under my working project   !!
Does this distrub phpstrom for completion on  susy files ?
regard's

0
Comment actions Permalink

As I have already mentioned in my other comment, PHPStorm takes all paths from your project config.rb when using Compass, and files don't have to be located in the project directory. But when not using config.rb only project files are available for completion

0

Please sign in to leave a comment.