Forum Moderators: open

Message Too Old, No Replies

Decent Eclipse HTML editor

Does one exist?

         

jtara

12:15 am on Jan 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm working on a project in Python. The company does it's documentation (user manual, installation instructions, etc.) in HTML, and I'll have to do some updates the the docs and some new docs. Also, I'm considering templatizing (Mako) some of the HTML pages (currently embedded in the code - don't look at me that way - I didn't write it!)

I'm working in Eclipse/PyDev on Fedora 8-64.

I've also got Aptana/RDT/Radrails installed under Eclipse, but there are problems due to Aptana's use of architecture-specific libraries which support 32-bit only. I can work in PyDev or Aptana, but can't successfully mix the two - that is, open an Aptana HTML editor view in PyDev, and Eclipse crashes. And I can't make head or tails of the various advice on the web on how to mix and match (or not) 32 and 64-bit Eclipse plugins.

Anyway, that makes it pretty inconvenient to hop back and forth between code changes and documentation.

And, besides, I've decided that Aptana doesn't have a particularly good HTML editor anyway. (I only installed Aptana because I was forced to when they hijacked RDT/Radrails and made it part of the Aptana suite.)

I don't need WYSIWYG, although that would be great for my needs.

What I would like is some kind of "smart auto-format" or at least the ability of the editor to wrap a tag around an existing word/sentence/paragraph (whatever I've selected).

That is, I'd like to be able to just type-away at content, and format it later. It's pretty mind-numbing to put an <h2> in front of a heading, then have to delete the </h2> and type it at the end of the heading... Better yet if I could run a command that would do a "best guess" format of the whole thing.

Any suggestions?

The alternative is to go outside of Eclipse and use one of the many stand-alone HTML editors available in or outside of the Fedora 8 distribution, or use an HTML editor on my Windows machine.

But I'd like to stick with Eclipse, since I like the integration with Subversion, Mylyn, etc.

Fotiman

3:37 pm on Jan 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Do you have the Eclipse Web Tools Platform [eclipse.org]?

jtara

4:47 pm on Jan 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'll give WTP a shot. I thought it a bit much, since I don't do Java development, and my understanding is that it's basically a Java web development stack.

I installed Quanta+ (stand-alone WYSIWYG HTML editor, and (the version distributed by Fedora, at least) blows-up right after launch - taking KDE with it!

jtara

6:04 pm on Jan 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I usually love Eclipse, but every now and then...

Today's one of those days I hate it.

Can't install WTP. It requires XSD version 2.3.0. Well, I *have* XSD verison 2.3.0. But it complains it needs XSD version 2.3.0...

I discovered Bastian Bergerhoff's Tiny HTML Tools, though.

They were designed specifically for marking-up previously-written text as HTML, and even more specifically for documentation. All simple menu commands - things like "convert to table".

This should make the bare-bones HTML editor in Aptana more palatable. (Now I *can* edit with the Aptana editor when in PyDev. At least today.)

Oh, I also found ALT-Ins. Pops up a little dialog which will wrap the current selection in an HTML tag.

encyclo

12:05 am on Jan 11, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I installed Quanta+ (...) blows-up right after launch - taking KDE with it!

From my experience with Quanta Plus on both Kubuntu and Mandriva, this is pretty much standard behavior. ;) I'm a Bluefish user myself (the latest version is a very easy compile).

My only suggestion for a text editor which works with Eclipse would be SlickEdit, which has a plugin for Eclipse. It's going to cost you though, $300 for the editor and $200 more for the plugin. Ouch!

coopster

5:41 pm on Jan 14, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I use the Web Development Tools as well. Another nice option is that Eclipse will allow you to use internal, external and ActiveX editors so you can invoke any HTML editor you want, including a WYSIWYG editor. Don't forget, there is always the simple open source editor from the W3 -- Amaya [w3.org].

jtara

3:27 am on Feb 5, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I finally bit the bullet and installed Web Development Tools. Since I hadn't been able to install it into the Fedora 8 distribution (64-bit) of Eclipse, I installed 32-bit Eclipse from the Eclipse download site into /opt.

While WDT has a bunch of stuff I don't need (Java programming stuff) the HTML editor is a huge improvement over the one that comes with Aptana.

It is even tolerant (so far) of my Mako templates. (Aptana's editor got confused and messed up the syntax highlighting.)

(The trend seems to be toward template languages that hide themselves in attributes, making them valid HTML, but Mako isn't on that curve. It's ## comments drive most HTML editors crazy...)

I don't know why I didn't dump the Fedora distribution of Eclipse long ago. The 32-bit version with the Sun runtime is actually MUCH FASTER than the 64-bit version with either HotSpot or Sun Java. Plus it eliminates confusion and problems with updates.

(Fedora's repository doesn't come close to following the updates on the Eclipse Update sites. What a mess, once you've installed a plugin that isn't distributed with Fedora and then it has a prerequisite that superceeds one that is.)

And there are too many Eclipse plugins that have architecture-specific code that isn't available in 64-bit. So, at this point running a 64-bit Eclipse is really not practical.

Unfortunately, there's little help available on the net for installing 32-bit Eclipse on 64-bit Fedora. Ran into some trouble with AVC denials during plugin installation (I run with enforcing seLinux) but it turns out they can be ignored. I guess part of the Fedora customization to Eclipse is making those error messages go away.

Anyway, so far, I am happy with WDT's editor.