Sublime Forum

Sass Package Syntax Highlighting not picking up

#1

Not sure if this a plugin / package question or a Subilme question.
Both of these packages are not working the same way though.
The syntax highlighting is not ‘picking up’ when I switch to new *.sass files.
Have to Command+Shift+P “Set Syntax” to sass on every file.

github.com/n00ge/sublime-text-haml-sass
github.com/WhatWeDo/Sublime-Tex … its/master

0 Likes

#2

I have a similar issue, but with the keyboard shortcuts that are supposedly built into this package. They don’t work at all for me, making the package useless.

Has anyone gotten them to work? Do we need to set them ourselves in our user preferences? If so, how? What commands do we call I mean.

If I have this:

[code]{ "keys": "super+ctrl+v"], "command": "list_rails_views" },[/code]

What would be the nane of the command to switch HTML to HAML syntax for example?

0 Likes

#3

[quote=“ggggeorge”]The syntax highlighting is not ‘picking up’ when I switch to new *.sass files.
[/quote]

Try this from the menu:

View / Syntax / Open all with current extension as… / SASS / Sass

(or something similar to that…I don’t actually have the plugin installed)

0 Likes

#4

I don’t have any sass completions either, but I do have syntax coloring. Try the “open all with” tip given earlier.

0 Likes

#5

[quote=“jbjornson”]

Try this from the menu:

View / Syntax / Open all with current extension as… / SASS / Sass

(or something similar to that…I don’t actually have the plugin installed)[/quote]

this worked for me - thanks!

0 Likes

#6

This is not a solution, it’s a hack. Is there a way to have Sublime properly detect that .scss, .sass, .css.sass, and .css.scss files should all be the Sass syntax?

0 Likes