Home Download Buy Blog Forum Support

Sass Package Syntax Highlighting not picking up.

Sass Package Syntax Highlighting not picking up.

Postby ggggeorge on Tue May 29, 2012 3:31 pm

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.



https://github.com/n00ge/sublime-text-haml-sass
https://github.com/WhatWeDo/Sublime-Tex ... its/master
ggggeorge
 
Posts: 1
Joined: Tue May 29, 2012 3:26 pm

Re: Sass Package Syntax Highlighting not picking up.

Postby kakubei on Wed Jun 06, 2012 8:53 am

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: Select all
{ "keys": ["super+ctrl+v"], "command": "list_rails_views" },


What would be the nane of the command to switch HTML to HAML syntax for example?
kakubei
 
Posts: 58
Joined: Sun Sep 25, 2011 9:19 am

Re: Sass Package Syntax Highlighting not picking up.

Postby jbjornson on Wed Jun 06, 2012 8:59 am

ggggeorge wrote:The syntax highlighting is not 'picking up' when I switch to new *.sass files.


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)
jbjornson
 
Posts: 350
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Sass Package Syntax Highlighting not picking up.

Postby handycam on Wed Jun 06, 2012 12:31 pm

kakubei wrote: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


I don't have any sass completions either, but I do have syntax coloring. Try the "open all with" tip given earlier.
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: Sass Package Syntax Highlighting not picking up.

Postby haustraliaer on Sat Jul 21, 2012 12:59 am

jbjornson wrote:
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)


this worked for me - thanks!
haustraliaer
 
Posts: 2
Joined: Sat Jul 21, 2012 12:58 am

Re: Sass Package Syntax Highlighting not picking up.

Postby olivierlacan on Sat Dec 21, 2013 7:16 pm

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?
olivierlacan
 
Posts: 4
Joined: Thu Nov 03, 2011 1:07 pm


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], supergra and 21 guests