Sass Code Completion?

When I edit a css file, RubyMine has a very nice code completion feature.

For example, when I type a css fragment 'background', then enter Ctrl-Space, RubyMine shows a pop-up window with a list of valid completions.

However, this code completion feature doesn't seem to work for me when editing sass files.

I would like code completion and attribute validation in sass files.  Is there something I can do to enable this?  If not - when is it planned for release??

tx, Andy

7 comments

Hi Andy,

When I edit a css file, RubyMine has a very nice code completion feature.

For example, when I type a css fragment 'background', then enter Ctrl-Space, RubyMine shows a pop-up window with a list of valid completions.

However, this code completion feature doesn't seem to work for me when editing sass files.

I would like code completion and attribute validation in sass files.  Is there something I can do to enable this?  If not - when is it planned for release??

This feature is not implemented yet, please have a look at RubyMine roadmap for more info:
http://confluence.jetbrains.net/display/RUBYDEV/Development+Roadmap

Regards,
Oleg

0

The roadmap says that this feature is completed in the EAP builds, but it does not seem to be there as of release 1146.  Completion on anything always says "No suggestions".  Declaration navigation and entity recognition don't seem to be enabled either.  Is there a setting or something to enable this?

Oh and I'm attempting this in SCSS files... which I assume would not be different than SASS files.

0

Hello Scott,

The code completion and advanced analysis is (so far?) supported only for
the SCSS dialect of SASS.

The roadmap says that this feature is completed in the EAP builds, but
it does not seem to be there as of release 1146.  Completion on
anything always says "No suggestions".  Declaration navigation and
entity recognition don't seem to be enabled either.  Is there a
setting or something to enable this?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Yes I expected that it was only done for SCSS, but it does not seem to be enabled in SCSS files as of the latest EAP.

0

we're having the same problem; when I command-click on a mixin in a scss file, it doesn't take me to the declaration. Instead, it says "Cannot find declaration to go to". Please advise.

0

Hello guys,

Please submit an issue with sample projects and description what cannot be resolved.
RubyMine tracker is here: http://youtrack.jetbrains.net/issues/RUBY

Best regards,
Oleg

0

Please sign in to leave a comment.