Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » eclipse can not format the html file
eclipse can not format the html file [message #634492] Thu, 21 October 2010 23:31 Go to next message
Call me bond-James Bond is currently offline Call me bond-James BondFriend
Messages: 9
Registered: September 2009
Junior Member
Note:
This is a cross post: at: stackoverflow.

Got no right answer, so I forward it here,

I am using eclipse-jee-helios-SR1-win32,I found that it can not format the html file well,please check this img(this is effection after I use the "ctrl+shift+F"):

http://i.imgur.com/sWFej.png

As the img shown , it does not format the file perfectly. The body tag should be indented.

I have not set any setting about the HTML-editor,all of the configuration are default.

Also I just did not install any plugins expect the Spoket.

So I wonder why?

This is the file formatted by the NetBeans, it work well, however I do not like that IDE.
http://i.imgur.com/YhfZb.png
Re: eclipse can not format the html file [message #634519 is a reply to message #634492] Fri, 22 October 2010 05:47 Go to previous messageGo to next message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 131
Registered: February 2010
Location: Bangalore, India
Senior Member
Hi,
Please check out the answer on a similar thread.
http://www.eclipse.org/forums/index.php?t=msg&goto=51087 1&


Sarika Sinha
JDT Programmer
Re: eclipse can not format the html file [message #634566 is a reply to message #634519] Fri, 22 October 2010 09:21 Go to previous messageGo to next message
Call me bond-James Bond is currently offline Call me bond-James BondFriend
Messages: 9
Registered: September 2009
Junior Member
That's to say I can not format the html file using eclipse.......
Re: eclipse can not format the html file [message #634645 is a reply to message #634566] Fri, 22 October 2010 14:54 Go to previous messageGo to next message
Nick Sandonato is currently offline Nick SandonatoFriend
Messages: 126
Registered: July 2009
Senior Member
Mr. Bond, we are currently investigating a fix for this through https://bugs.eclipse.org/203252 which would is targeted for the next service release of Helios.

The background on it is that in the distant past, it was requested that only a certain subset of tags be indented (you can see that ul, ol, table, and some others properly indent) as this was the "proper" style. I don't know if that holds true today.
Re: eclipse can not format the html file [message #635014 is a reply to message #634645] Mon, 25 October 2010 12:22 Go to previous message
Call me bond-James Bond is currently offline Call me bond-James BondFriend
Messages: 9
Registered: September 2009
Junior Member
Thanks, I got it. Not my setting problem Smile
Waiting for the fix,if not, I have to change my ide.
Previous Topic:Problem integrating Apache Tomcat to Eclipse
Next Topic:Debugging jsps
Goto Forum:
  


Current Time: Sat Apr 27 02:32:23 GMT 2024

Powered by FUDForum. Page generated in 0.03257 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top