sass automatically compiles .scss/.sass files into .css !

Hi,

There have been a bunch of posts about RubyMine providing automatic sass compilation of stylesheets. You guys said it was forthcoming, and lo and behold there it is in V 3.01. Works like a charm - THANKS!

-- Larry

4 comments
Comment actions Permalink

Hello larryh,

Actualy we have bunch of posts about RubyMine highlighting and code insight for these files, however automatical css compilation is not yet done.
Feel free to vote, comment and track progress of the issue: http://youtrack.jetbrains.net/issue/RUBY-7267

Regards,
Oleg

0
Comment actions Permalink

Hi Oleg,

I'm confused about your answer. I'm using 3.0.1 (12/16/10) and when I make a change to my .scss file I automatically get a brand-new .css file generated when I fire up my app. And that .css file contains all of the just-made changes.

Maybe we're talking about two different things?

-- Larry

0
Comment actions Permalink

I guess this is Rails that provides this convertion while you lauch Rails app. RubyMine has nothing to do with it :)

Regards,
Oleg

0
Comment actions Permalink

... and would be really nice if RM had something like "observers" like mentioned in this topic.
For example I have  developed a small utility in Ruby which can convert HTML file into HAML views placing each [action].haml and all partials in proper places even adding some Ruby logic to them.
I would like to attach this utility to RM "save action" on HTML file so it fires automatic.
(So whenever I change and save HTML file in RM it gots silently processed in background, reporting to RM console pane like if I would run Rails generator or rake task)
Of course I can do that outside of RM, but I in IDE stands for Integrated.

Maybe there is already a way to do this?

0

Please sign in to leave a comment.