Format (Ctrl + Shift + F) under Source menu has bug, specifically in HTML files. I don't know if there is a setting that must be made to format (alignment, tabbing) the codes just like what it does in STS 2.9.2.
Here is an example, the original code is like this (which is under a script tag, inline javascript):
In STS 2.9.2 the above code will be tabbed correctly:Code:+"<td><center><img src=\"images/table_delete.png\" width=\"16\" height=\"16\"></center></td>"+"</tr>");
In the case of STS 3.0.0 it looks like this:Code:+ "<td><center><img src=\"images/table_delete.png\" width=\"16\" height=\"16\"></center></td>" + "</tr>");
It is just annoying to be like this all the time, all tags are formatted correctly while others are replaced with random spelling of "$tag" and underscores.Code:+ "_$tag_________________________$ta_$tag____$tag_____________________________________________________________________________$tag_____$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag____$tag__________________________________________________________$tag_____$tag_$ta_$tag_________________________$ta_$tag____$tag_____________________________________________________________________________$tag_____$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag____$tag__________________________________________________________$tag_____$tag_$ta_$tag____$tag_________________________$ta_$tag____$tag_____________________________________________________________________________$tag_____$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag____$tag__________________________________________________________$tag_____$tag_$ta_$tag____$tag____________________________________________________________$tag_________________________$ta_$tag____$tag_____________________________________________________________________________$tag_____$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag____$tag__________________________________________________________$tag_____$tag_$ta_$tag____$tag____________________________________________________________$tag_____$tag_________________________$ta_$tag____$tag_____________________________________________________________________________$tag_____$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag____$tag__________________________________________________________$tag_____$tag_$ta_$tag____$tag____________________________________________________________$tag_____$tag" + "_$tag_________________________$ta_$tag____$tag_____________________________________________________________________________$tag_____$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag_$ta_$tag____$tag__________________________________________________________$tag_____$tag_$ta_$tag____$tag____________________________________________________________$tag_____$tag_$tag");
I hope you have an answer for this![]()


Reply With Quote
inside Eclipse Juno itself when formatting the codes, specifically in html files...
