Home Download Buy Blog Forum Support

Plugin request: Less CSS converter

Re: Plugin request: Less CSS converter

Postby atomi on Mon Feb 28, 2011 10:36 pm

Well yeah, you don't need to name your file blah.css.less it will work with the file name blah.less just the same.
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Re: Plugin request: Less CSS converter

Postby firefusion on Mon Feb 28, 2011 10:50 pm

True. I had them set to that as ZenCoding on worked if you have .css in the filename but with the new sublime-completions formatt i don't need zen for css anymore. Great plugin. Thanks :)
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Plugin request: Less CSS converter

Postby atomi on Mon Feb 28, 2011 11:13 pm

Thanks. It was totally your idea.

I hadn't even heard of dotless.Compiler before this post.

Cheers.
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Re: Plugin request: Less CSS converter

Postby firefusion on Thu Mar 03, 2011 2:00 pm

I'm finding this crashes dotless quite a bit on big less files or if there is an error in the file. Where as dotless always works in the cmd. Do you think there is some memory limit for apps run through sublime?
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Plugin request: Less CSS converter

Postby atomi on Fri Mar 04, 2011 2:45 am

The plugin is really basic. A lot of it is code that was directly copied from exec.py included in the Packages/Default folder.
I did crash dotless once, but that was because I was trying to import a file that didn't exist.

But, If you'd like you can post the file that is causing the crash and I'll check it out.
Or email it to me if you'd rather do that (pm).
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Re: Plugin request: Less CSS converter

Postby maggiee on Sat Apr 30, 2011 5:25 am

What are some good online tutorials or books to read to learn CSS? I want to re-design my website using a Photoshop template but I need to learn a little CSS first were is a good place to learn it online, or what are some good books?
_______________________________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com
maggiee
 
Posts: 1
Joined: Tue Apr 26, 2011 9:12 am

Re: Plugin request: Less CSS converter

Postby firefusion on Sun May 15, 2011 7:23 am

Off topic a bit but anyone managed to get "Go to symbol" working in .less files?
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Plugin request: Less CSS converter

Postby _druu on Tue Nov 08, 2011 10:18 am

Here's a little Build System I made (linux/mac)

https://gist.github.com/1347392
_druu
 
Posts: 4
Joined: Tue Nov 08, 2011 10:11 am

Re: Plugin request: Less CSS converter

Postby Mordof on Tue Nov 15, 2011 6:04 pm

_druu wrote:Here's a little Build System I made (linux/mac)

https://gist.github.com/1347392


I can't get this to work under the Automatic setting.. and if i accidentally hit ctrl+b while it's on my .css files.. well.. it tries to compile them, but since it's already CSS it removes all whitespace >.<; not ideal.

To my understanding the "selector" of the sublime-build should be set to "source.less" for it to pick up .less files under Automatic shouldn't it? why isn't this working and how do I make it work?
Mordof
 
Posts: 4
Joined: Tue Apr 12, 2011 2:15 pm

Re: Plugin request: Less CSS converter

Postby atomi on Wed Nov 16, 2011 7:42 pm

Mordof wrote:
_druu wrote:Here's a little Build System I made (linux/mac)

https://gist.github.com/1347392


I can't get this to work under the Automatic setting.. and if i accidentally hit ctrl+b while it's on my .css files.. well.. it tries to compile them, but since it's already CSS it removes all whitespace >.<; not ideal.

To my understanding the "selector" of the sublime-build should be set to "source.less" for it to pick up .less files under Automatic shouldn't it? why isn't this working and how do I make it work?


You can check what the source selector is for the current view by using the keyboaord shortcut :
ctrl+shift+alt+p
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Previous

Return to Plugin Development

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 7 guests