Home Download Buy Blog Forum Support

Sublime not recognising some css3 properties

Sublime not recognising some css3 properties

Postby drdrdi on Thu May 16, 2013 2:55 pm

I'm new to web development and Sublime Text 2. I'm having trouble getting Sublime to 'recognise' CSS3 selectors such as "@font-face" or "transition". The text just stays white when I type them in the css file. Am I missing a plugin or something? I installed a css3/htmls 5 plugin through package control but that didn't help. I'm trying to include a custom font file for a site I'm working on. Any ideas?
drdrdi
 
Posts: 1
Joined: Thu May 16, 2013 2:27 pm

Re: Sublime not recognising some css3 properties

Postby pyn on Tue Sep 03, 2013 6:18 pm

Anyone? I can’t believe this is still a problem when CSS is being written by almost everyone.
pyn
 
Posts: 1
Joined: Tue Sep 03, 2013 6:17 pm

Re: Sublime not recognising some css3 properties

Postby skuroda on Tue Sep 03, 2013 8:10 pm

I'm not a web developer so please correct me if I'm wrong. This sounds like a limitation of the tmLanguage file (which applies syntax coloring). If that's the case, it's something that a user can create (and ideally share). If you are already using a third party tmLanguage file, you should make sure that it is actually being used. To do this, you can add the "CSS" package to the ignored list. Alternatively, you can try using the ApplySyntax plugin. I'd be surprised if no one had created an updated CSS syntax highlighting file (since it is so popular). That being said, it's still possible.
skuroda
 
Posts: 685
Joined: Fri Oct 05, 2012 8:11 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 20 guests