Sublime Text 2 and .less Syntax Highlighting

So you've hopped onto the Sublime Text 2 bandwagon and ready to roll with {less}. Now you simply want to enable syntax highlighting while working on .less files...right? Well, it's actually quite simple!

First, open a .less file in Sublime Text 2. Then View > Syntax > Open all with current extension as... > CSS

OR...

After originally publishing this, of course I stumble across a github project called Less-sublime. Using the Package Control plugin, it's an absolute breeze to setup. Even if you don't, simply follow the installation directions on the github project.

So there you go...two methods for getting {less} syntax highlighting for you! Either way works great, but obviously the github project offers a bit more {less}-specific syntax support.

Hope that helps...cheers!

Comments
So how are you liking Sublime Text2?
# Posted By Matt Levine | 2/1/12 10:14 PM
@Matt,

I'm finding myself using it more than I thought I would...I still use Dw for some things though. However, I rarely launch CF Builder anymore. Glad you put me onto this!

Cheers!
# Posted By Steve Withington | 2/2/12 8:07 AM
I've been using it this week and like it. Y'all need to install the Zen Coding package.

http://code.google.com/p/zen-coding/
# Posted By TonyAdams | 2/2/12 8:25 AM
@Tony,

Thanks for sharing...that looks pretty sweet!
# Posted By Steve Withington | 2/2/12 8:50 AM
If you haven't already check out https://github.com/SublimeText/ColdFusion also available via Package Control.
# Posted By atomi | 2/4/12 4:03 AM
@atomi,

already installed my man! in fact, you should be able to see it as an option in the screenshot just above CSS in the blog post :)

great work btw...cheers!
# Posted By Steve Withington | 2/4/12 9:43 AM
Perfect! Just what I was looking for. Installed in a snap with Package Control!

Many Thanks,
Nick
# Posted By Nick Tomlin | 4/17/12 9:04 AM
Looks good ...

Since I moved to (G|Mac)Vim ... I ain't looked back :-)
# Posted By Edward Beckett | 7/2/12 10:18 PM
Great but I wonder how I can edit my theme so that lines with // turn grey like normal css comments?
# Posted By artdog | 7/11/12 8:47 AM
@artdog: You can also try this syntax highlighter specifically created for .LESS files:
https://github.com/appden/less.tmbundle
# Posted By joan | 10/15/12 12:19 PM
If anyone is wondering, the installation through Package Control is not working but no problem, you just need to download the latest version, unzip on you "Packages" directory and rename it to "LESS", restart sublime and you're ready to rock.
# Posted By JorgeArtware | 7/14/13 8:19 PM
Its working fine. Thanks a lot
# Posted By flashaddicts | 5/27/14 10:28 AM
Many Sublime Text 2 and .less Syntax users have such question in their mind for which you have provided solution here. This tutorial of enable syntax highlighting while working on .less files will sure helpful to many.

Alyssa,
http://www.secureassignmenthelp.com/essay-writing-...
# Posted By Alyssa P | 9/27/18 5:20 AM
I like this post, I wish you will keep on to have similar posts to share with everyone. Let's make dressing down easy AND stylish https://yesonline.pk/collections/shirts-tops

# Posted By Yes Online | 9/27/18 7:40 AM
Sublime Text 2 and .less syntax highlighting which you described here is really helpful for the installation directions on the github project.


Ida,
http://www.assignmenthelpfolks.com/human-resource/...
# Posted By Ida Wallace | 9/28/18 6:19 AM
https://followers-like.com Visit this site and get followers for Instagram
# Posted By evan | 9/28/18 7:14 AM
They Are Not Able To Finish The Writing Assignments On Time. For Some Students, Writing Any Writing Assignments Is Able To Waste Their Time
# Posted By Pay Me To Do Accounting Essay Writing Service | 10/20/18 12:44 AM
Good Way Of Telling, Good Post To Take Facts Regarding My Presentation Subject Matter, Which I Am Going To Deliver In My College
# Posted By Help With Engineering Assignment | 10/20/18 3:44 AM
blonde bangs wig hair transplant uk reviews https://www.humanhairwig.org.uk wavy hair extensions weft socap hair extensions vs great lengths https://www.wighair.co.uk double drawn hair extensions suppliers faux ponytail on natural hair http://www.hairflair.org.ukshrinkies hair extensions reviews raw indian hair bundle deals https://www.finesthairextensions.co.uk hair extension courses northamptonshire bun hairstyles for short hair step by step https://www.leez-extensions.co.uk
# Posted By VS | 11/4/18 8:50 PM
Keep on blogging! It’s getting through the tough times that make you stronger and then the good times will follow, keep writing about your experiences and we should all pull together.
# Posted By Laboratory Filtration Equipments | 11/26/18 4:15 AM
I understand that it becomes difficult to take out time for assignments and other academic works, due to the busy schedule. But with Programming Assignment Help one can solve this issue as well. Make sure that you take the help of a genuine writing service as these services can help you understand the basics from the first level.
# Posted By programming assignment help | 12/14/18 5:06 AM

© 2018, Stephen J. Withington, Jr.  |  BlogCFC was created by Raymond Camden – Version 5.9.004

Creative Commons License  |  This work is licensed under a Creative Commons Attribution 3.0 Unported License.  |  Hosted by Hostek.com