Is there any IDE with syntax highlight support for LESS?
Syntax highlighting is a feature of text editors that are used for programming, scripting, or markup languages, such as HTML. The feature displays text, especially source code, in different colours and fonts according to the category of terms.
less doesn't support syntax highlighting. vim , like all vi clones has a read-only mode called view which you can use to just view files. it supports all features of vim including syntax highlighting.
Syntax Highlighting with PrismJS Prism is a lightweight, extensible syntax highlighter that can be used when working with code blocks in markdown files in blog posts.
After opening login.sh file in vim editor, press ESC key and type ':syntax on' to enable syntax highlighting. The file will look like the following image if syntax highlighting is on. Press ESC key and type, “syntax off” to disable syntax highlighting.
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 ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With