IDE with syntax highlight support for LESS

2019-02-07 19:22发布

问题:

Is there any IDE with syntax highlight support for LESS?

回答1:

Eclipse does not support .less fully (nested rules, single line comments, etc) but you can at least configure it so that it would open .less files and treat them as .css.

Preferences > General > Content Types: find "CSS" entry and add .less extension.

Then, Preferences > General > Editors > File Assoc: add .less extension and associate with CSS editor.

Better than nothing, especially if you're into Eclipse world ;)



回答2:

JetBrains PHPStorm has built-in support for LESS :)



回答3:

You could use Netbeans plugin for LESS.

In Netbeans 6.9: tools-> Available Plugins-> LessCSS Module

Version: 1.0.6 Source: Plugin Portal
Plugin Description This module is to allow for tighter integration of netbeans with LessCSS (using the LessPHP standard).



回答4:

Sublime Text. It's good lightweight editor.



回答5:

If you use Textmate there is a syntax highlighting bundle for LESS:

https://github.com/appden/less.tmbundle



回答6:

Here is an Eclipse plugin for LESS : http://www.normalesup.org/~simonet/soft/ow/eclipse-less.fr.html



回答7:

Syntax highlighting for LESS is included in the newest version of rails.vim.



回答8:

You can use Komodo IDE or Edit for this purpose. It has an add-on named LESS



回答9:

I just tried Crunch and I like it.
It has syntax highlighting (but no intellisense) and can save as .css.

It requires Adobe AIR.