Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
access t osass and compass color function
Permanently deleted user
Created
Hi I don't succeed to access to color function define in compass ( only sass ) . Is there a tutorial about configure sass and compass color function for phpstorm ?
Hi i ll post after try many others tools to know if they work and to be shure that it is not a ruby/javascript installation problem but rather a phpstorm issue . regard's
Hi I test on a simple project by changing only color. i launch compass watch ( work during all test session )for compile sass to css the index.html contain a script for reload the css if change occur in the css file this script need http protocol so i open the html page using http protocol i don't need the phpstorm server so i launch easyphp server theproject is inside easyphpserver directory I use chrome browser but i don't need the phpstorm plugin or server i switch during test beetween microsoft text editor and jetbrain phptstom editor
1) i open MS editor only ( textpad ? ) i change the color in sass file and then color change occur in the browser( easyphp) 2) i close the MS text editor 3) i open phpstorm project that contain the sass/_color.scss when i change the color in color.scss => the Command windows show error => the css file is not update => the browser don't update since no change occur in the css file
Is there a way to stop the http server launch by phpstorm ? during those step the phphwebserver is running but i don't use it . when i close phpstorm the server shutdown http://localhost:63342/ ( no html page , no error message ) in this case i think i have in a browser a message generate by the browser in french "Page web inaccessible" when i relaunch the phpstorm editor , the page go html page error ( 404 not found => the server work ) during all test chrome Jetbrain IDE support is install and enable then i desactivate the chrome plugin and see the server still running after phpstorm is launch . But this time i could use phpstorm for edit my sass file and let compass compile the sass file to css . in a way phphstrom create a http server ( 63342) from a directory that is already manage by easyphp server but on a different port number !!!
I think it is a problem about order relative to launch phpstorm launch browser activate disable chrome phptstorm plugin
i don't achieve to add again the problem after last disable chrome phpstorm plugin. the compass.bat contain this text ------------------------------compass.bat-------------------------------- @ECHO OFF IF NOT "%~f0" == "~f0" GOTO :WinNT @"C:\RailsInstaller\Ruby1.9.3\bin\ruby.exe" "C:/RailsInstaller/Ruby1.9.3/bin/compass" %1 %2 %3 %4 %5 %6 %7 %8 %9 GOTO :EOF :WinNT @"%~dp0ruby.exe" "%~dpn0" %* ---------------------------------------------------
By color functions, do you refer to http://compass-style.org/reference/compass/helpers/colors/? What problems using them in Compass project have you faced? Do other Compass features work for you?
Hi
it seem after test some others work some not .
In the ruby code source , the functions are in the color.rb file !!
strange !!
Regard's
Please can you provide details? What functions don't work for you? Code samples/screenshots are welcome
Hi
i ll post after try many others tools to know if they work and to be shure that it is not a ruby/javascript installation problem but rather a phpstorm issue .
regard's
Hi
I test on a simple project by changing only color.
i launch compass watch ( work during all test session )for compile sass to css
the index.html contain a script for reload the css if change occur in the css file
this script need http protocol so i open the html page using http protocol
i don't need the phpstorm server so i launch easyphp server
theproject is inside easyphpserver directory
I use chrome browser but i don't need the phpstorm plugin or server
i switch during test beetween microsoft text editor and jetbrain phptstom editor
1) i open MS editor only ( textpad ? )
i change the color in sass file and then color change occur in the browser( easyphp)
2) i close the MS text editor
3) i open phpstorm project that contain the sass/_color.scss
when i change the color in color.scss
=> the Command windows show error
=> the css file is not update
=> the browser don't update since no change occur in the css file
Is there a way to stop the http server launch by phpstorm ?
during those step the phphwebserver is running but i don't use it .
when i close phpstorm the server shutdown http://localhost:63342/ ( no html page , no error message )
in this case i think i have in a browser a message generate by the browser in french "Page web inaccessible"
when i relaunch the phpstorm editor , the page go html page error ( 404 not found => the server work )
during all test chrome Jetbrain IDE support is install and enable
then i desactivate the chrome plugin and see the server still running after phpstorm is launch .
But this time i could use phpstorm for edit my sass file and let compass compile the sass file to css .
in a way phphstrom create a http server ( 63342) from a directory that is already manage by easyphp server but on a different port number !!!
I think it is a problem about order relative to
launch phpstorm
launch browser
activate disable chrome phptstorm plugin
i don't achieve to add again the problem after last disable chrome phpstorm plugin.
the compass.bat contain this text
------------------------------compass.bat--------------------------------
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"C:\RailsInstaller\Ruby1.9.3\bin\ruby.exe" "C:/RailsInstaller/Ruby1.9.3/bin/compass" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"%~dp0ruby.exe" "%~dpn0" %*
---------------------------------------------------
regard's
Attachment(s):
phpstorm_webserver.png
phpstorm-fileacceserror.png