tags:

views:

750

answers:

14

I don't like WYIWYG editors, I want to be responsible for the selection and placement of each tag and attribute! Is there a good editor out there that allows you complete control over the HTML but offers useful features such as:

  • syntax highlighting (of course)
  • suggestions of tags, attributes etc. e.g. as dropdown lists
  • validation and accessibility checking
  • previewing the HTML

Currently I use TextPad with syntax highlighting, but feel I could do better.

+4  A: 

Microsoft Visual Studio 2008 might suit your needs (and there's a free download "express" version).

Brian Knoblauch
+2  A: 

HTMLKit is reasonably decent and free.

ctacke
+1  A: 

Depending on what code you will be using (ASP v. php v. ruby, etc), I would suggest Dreamweaver. It is WYSIWYG, but many of the best editors you would find are, including VS 2008. Of course, that doesn't mean you have to use it! I used Dreamweaver quite often at my last job and it was great for editing code and quickly previewing.

Edit: I should mention that Dreamweaver would be best for html, css, javascript, coldfusion, and php. Those are the technologies I have used it with.

Totty
for CSS and JavaScript i now work almost exclusively in Aptana
David Alpert
My phrasing may have been poor. I did not mean that Dreamweaver was "the best". I meant to say that I know Dreamweaver will work with those technologies. I was not sure of Dreamweaver's use of ruby, asp, etc. Certainly with ASP, the best choice would be a Microsoft product such as VS2008.
Totty
I would add that DreamWeaver has a code pane that allows you to ignore the WYSIWYG editor and edit the raw HTML/CSS/Javascript with code highlighting.
Bill the Lizard
+2  A: 

I really like Microsoft Expression Web 2.0 or Microsoft SharePoint Designer 2007, depending on my needs.

Specifically, Microsoft Expression Web 2.0 supports development of the basics (HTML, CSS, etc.) while including Intellisense for ASP.NET and PHP.

Microsoft SharePoint Designer 2007 includes support for SharePoint Services and MOSS.

I've heard people say that they like Dreamweaver, but it's a little on the bloated side for my taste. Both the tools I mentioned above allow for WYSIWYG editing, but they support all the features you listed as well. They also allow for doctype support and validation for accessibility, etc.

Ed Altorfer
+4  A: 

Others have mentioned Visual Studio and HTML Kit. You might also consider DreamWeaver or Microsoft Expression Web. Technically, both of these (and even Visual Studio) have WYSIWYG modes, but they also offer split source/WYSIWYG and total source-only modes. All have validation, standards checking and the whole nine. All allow complete control over code with no fuss nor muss, if that's what you want. Expression and DreamWeaver support syntax highlighting for more than just HTML/ASP; both also support PHP natively.

Here's a link to Visual Web Developer Express (the free Visual Studio Brian mentioned).

John Rudy
+9  A: 

I'm a big fan of Aptana for generic HTML/CSS/Javascript editing. Based on Eclipse, but nicer usability. Automatic formatting, code suggestion (with native support for jQuery & ExtJs) and embedded browser tabs for checking your work.

It's also cross-platform, supports Windows Mac & Linux.

Adam Lassek
Thanks, I have downloaded it and it looks pretty good.
Tony Andrews
+4  A: 

I like Notepad++; it doesn't have embedded preview, but it's lightweight, has a good UI, syntax-highlights reliably...

Noah Witherspoon
+3  A: 

I really like Coda on the Mac http://www.panic.com/coda/.

Stimy
+1  A: 

I recommend Programmer's Notepad for lightweight code editing, but then I'm biased :)

To be fair, these are all also good for the same: Notepad++, SciTE, Notepad2.

None of these (including PN) do the big extras you're asking for with previews and the like, however. For those features you need something more full featured like the already recommended and excellent Expression Web or perhaps even Visual Web Developer.

I should point out also that there are loads of editor discussions on SO already:

http://stackoverflow.com/search?q=html+editor

Simon Steele
+1  A: 

I really like Kate, and since it's a KPart, other KDE programs use it as the editor, so it's goodness everywhere!

(why is everybody else assuming you use windows?)

Javier
+1  A: 

You might want to look into Bluefish - it's what I use for php at home. It has nice support for syntax highlighting for many languages and quite a bit of other goodies HTML-wise.

I use Eclipse here at work, for J2EE stuff. It comes with some great tools and syntax highlighting for html/css/etc.

lucas
+1  A: 

I still use an old version (4.0) of Homesite and it does just about all I want and need. It was originally written by Nick Bradbury and was not too heavy, had just the right set of features, and was very popular.

Nick sold Homesite to Allaire and then it was eaten by bigger and bigger fish. But it is still maintained and now being sold alongside Dreamweaver as a text-based HTML alternative by Macromedia (and now Adobe).

They charge $99 USD for it.

I would have upgraded, but they only have upgrade pricing for version 4.5 and after. Sorry for the following emotional comment, but I say Software vendors should not ignore early adopters of their programs. People who were first in line deserve special and lifetime treatment. They will become your best customers and best spokesmen for your software, if you let them.

lkessler
+2  A: 

I realize you're on Windows (from the tools you describe) but, for the next Mac guy to read this question:

TextMate seriously does-not-suck for editing all sorts of things, especially collections of things (like projects of C, ruby, java, html, perl, bash, etc.) If it had SubEthaEdit's ability to do cooperative editing, it'd be the only editor I ever use.

TextMate

Olie
A: 

I am looking for a non-WYSIWYG html editor that lets you highlight text and then right-click and wrap a tag around the text. It is seems that most HTML editor make it difficult for you to add content first and then format after. They expect the tags first then the content later, not content first then format after. Stupid!

Edvaard