I'm looking for a powerful CSS text editor. I have no need for WYSIWYG capabilities. Right now I'm using Vim, Aptana, and Visual Studio 2008 depending on the project, but I'm wondering if there are better solutions. Free is better.
I want all the obvious features:
- auto-completion
- syntax highlighting
- tab/space options
A few less common:
- auto-formatting
- auto block-commenting
- different text-sizes for comments and code
And, if possible, one that I haven't seen anywhere. I usually write CSS rules on one line, so I can see a lot of rules at once:
div#big-box {color:#000; font-family:Georgia, serif; line-height:2em;}
div#big-box a {color:#06a; text-decoration:none; }
div#big-box a:hover {background-color:black; color:white;}
This is great for browsing CSS rules, but the horizontal scrolling can be a pain, so I'm wondering if any editor can automatically expand the CSS rule I'm currently editing to a block format, one line per declaration:
div#big-box {
color:#000;
font-family:Georgia, serif;
/* Editing here, so this ruleset is expanded */
line-height:2em;
}
div#big-box a {color:#06a; text-decoration:none; }
div#big-box a:hover {background-color:black; color:white;}
SO Note: this is NOT an dupe of another question asking about CSS editors, as that one specifically asks for WYSIWYG editors.