Hi all,
what editor are you using to edit your stylesheets?
I for one prefer vim.
It's a kind of poll: by the number of votes I will be able to tell which one is the most popular.
Thanks.
Hi all,
what editor are you using to edit your stylesheets?
I for one prefer vim.
It's a kind of poll: by the number of votes I will be able to tell which one is the most popular.
Thanks.
Visual Studio 2008 - Sorry you don't need a IDE for CSS. As long as your editor can syntax highlight .. you're fine.
On my mac, I prefer CSSEdit.
It's very nice with a lot of features, such as: Live Preview, Syntax Highlighting, Auto complete, Validation built-in, and even something similar to version control (milestones).
I use gvim for all my editing, except java and c#, for which it is usually more efficient to use eclipse, VS, or monoDevelop.
I used to use TopStyle but the functionality I used in that was incorporated into VS2008.
I also use Vim. It's a shame that exuberant ctags has no support for CSS though because I could really use a browser for all the selectors I use in large files. Does anybody know a good alternative to ctags here?
TopStyle would get my vote. Both HTML and CSS aware. Full colour coding of CSS, HTML, and javascript.
Previewing of styles on an html of your choice, or the currently edited HTML file.
Written by Nick Bradbury who originally wrote HomeSite.
It's not free, but if you're doing a lot of site development, it's worth it.
A trial version is also available.
Aptana is a really nice IDE. It detects errors in your CSS as you type, and also gives hints as to which rules are supported in which browsers.
I don't feel like a CSS editor is too important. I think I could be just as effective with Notepad if I had Firebug.
I use e-texteditor when I'm prototyping. I'm usually in Visual Studio though, so often I use that for quick edits.
Visual Studio 2008 has some great CSS features, but I actually prefer to do CSS tweaking an debugging directly in Firefox with Firebug.
I've had the most success using any text editor with syntax highlighting (usually this ends up being Visual Studio 200x), and then rapidly tweaking the design using Firebug (http://getfirebug.com/). After the design looks good in FireFox, I try to make it work in IE. There are some tools that are supposed to work like Firebug in IE, but they aren't great.
Rapid PHP is what I use for CSS, PHP, (x)HTML, and Javascript. It has tools for validating, cleaning and formatting CSS, and has auto-complete features for each language.
By "formatting CSS" I mean, for example, turning multiple margin-left, margin-right, etc statements into margin: 5px 3px 2px 1px or whatever you need, or turning multi-line declarations into single line, etc. There are lots of options for how it does this.
Other features I like:
I simply use VS as the project is already open and having another editor open just for CSS feels like a waste to me. It's autocomplete does just fine. Although I do also have Firebug open constantly. I use it more than VS as my CSS development tool. Using Firebugs live manipulation I can edit and work with my CSS and then just copy the changes to the project.
Don't laugh: Visual Studio 2008.
My favorite debugger, however, is Firebug.
IntelliJ IDEA has excellent CSS support.
For example: syntax highlighting, on-the-fly validation & error highlighting, "find usage" functionality, ctrl-space completion of every imaginable thing (CSS keywords, properties, classes, even colour names). I also like many small touches like showing a preview of any colours (both codes (#ffee11
) and names (cadetblue
)). Here's a more complete list of IDEA's CSS features.
Still, if you don't do any Java development along with the HTML and CSS, investing in IntelliJ IDEA probably is not worthwhile.
I use Notepadd++ as I do most of my web development via a simple text editor. Notepad++ allows the syntax highlighting and it is becoming the editor of choice as html is not the only files I edit. Most common file edited are c files.
I have also used Kompozer but found it too much of a non programmers editor. It did however show me the layout in real time when I made changes to the css how it affected the html pages. Unlike notepad++ which is only a text editor not a layout manager or html preview etc. Although there may be plugins available I have never checked.
I've been using Komodo Edit recently - it has really nice autocompletion/syntax highlighting, and its macros/scripts are great for working with version control systems such as Git. Its extension system seems good as well, though I have yet to try creating an extension.
I also use Firebug for debugging and small tweaks to the CSS.
Nothing beats Vim for me, even despite the fact that it has a lot less prettier gui on windows compared to any other editor i've seen. I would love to see the GTK gui for Vim on Windows.