Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

css/less editor which shows colors

Tags:

css

editor

less

Is there a css editor (for Windows) which would show colors? Or more generally, editor that would always display a 6-characters hexadecimal values with a color background.

e.g. like this:

div.myclass {
  color: #ff8861;  <- the background (or foreground, doesn't matter) of #ff8861 has orange color in the editor
}

[Edit 1]: not a wysiwyg, just a rich text editor showing colors and syntax

[Edit 2]: ideally, it should also support LESS syntax

like image 228
camcam Avatar asked Dec 06 '11 12:12

camcam


2 Answers

Try Crunch! - It's a LESS CSS editor that color codes, compiles and compresses. It's written in Adobe Air, so it's cross-platform. http://crunchapp.net/

Update - Visual Studio 2012 has a fantastic LESS editor, as a plug-in that you can install easily via the extensions manager. I believe that in VS2012, the extension is provided by Microsoft, and integrates with DotLess, and gives you a variety of options for when your LESS file is compiled (at compile, build or run times).

like image 95
Nathan Strutz Avatar answered Sep 19 '22 13:09

Nathan Strutz


If you're interested in using Visual Studio, ReSharper 6 (in beta when that blog post was written, but released now) will show a thick underline in the specified color.

If you want something lighter-weight (or less expensive) than Visual Studio, the same folks who wrote ReSharper also make standalone IDEs. WebStorm 3 (currently in beta) shows color chips in the editor gutter. (Released versions may do this too; I can't find screenshots online.) Here's a screenshot I took from the beta; note the little gold square:

enter image description here

like image 23
Joe White Avatar answered Sep 20 '22 13:09

Joe White