MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mcmasjc
Post subject: JSP formatter  PostPosted: Sep 28, 2005 - 09:24 PM
Veteran Member
Veteran Member


Joined: May 22, 2004
Posts: 6

I just downloaded 4.0, and used it for JSP development for the first time. The only thing I can say about the formatter (without violating decency codes) is "ICK!"

It takes this sample code:

Code:
<div id='sidebar'>
  <div class='block'>
    <h3>Add New Folder</h3>
    <form id='newFolderForm' method='get'
        action='<c:url value="/manageFolders.wm" />'>
      <input type='hidden' name='action' value='createFolder' />
      <input type='text'  name='folderName' />
      <input type='submit' value='Add Folder' />
    </form>
  </div>
</div>


and reformats it to:

Code:
<div id='sidebar'>
<div class='block'>
<h3>Add New Folder</h3>
<form id='newFolderForm' method='get'
    action='<c:url value="/manageFolders.wm" />'><input type='hidden'
    name='action' value='createFolder' /> <input type='text'
    name='folderName' /> <input type='submit' value='Add Folder' /></form>
</div>
</div>


It loses all my indentation, joins and splits tags in a really awful manner, and makes the page impossible to read. I omitted the rest of the page, but I assure you it is just as awful.

Has no one else complained about this? The behavor is atrocious!

_________________
Jim McMaster
mailto:jim.mcmaster@comcast.net
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
mcmasjc
Post subject:   PostPosted: Sep 28, 2005 - 09:39 PM
Veteran Member
Veteran Member


Joined: May 22, 2004
Posts: 6

Here is the info from the posting guidelines:

What operating system and version are you running?

Redhat Fedora Core 3 Linux

What Eclipse version and build id are you using?

Version: 3.1.0
Build id: I20050627-1435

- Was Eclipse freshly installed for MyEclipse?

no

- If not, was it upgraded to its current version using the update manager?

no

- Are any other external plugins installed?

yes

- How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*

4

What MyEclipse version are you using?

Version: 4.0.0 GA
Build Id: 20050829-4.0.0-GA

What JDK version are you using to run Eclipse?

Sun JDK 1.5.0_01

What JDK version are you using to launch your application server?

Sun JDK 1.5.0_01

What steps did you take that resulted in the issue?

Pressed ctrl+shift+f in the JSP editor

What application server are you using?

Tomcat 5

Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)

No

_________________
Jim McMaster
mailto:jim.mcmaster@comcast.net
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
support-greg
Post subject:   PostPosted: Oct 03, 2005 - 07:18 AM
Moderator
Moderator


Joined: Mar 31, 2004
Posts: 1612

I will submit this format issue to our PR system. Thanks for the report and sorry for the inconveince.

_________________
Greg
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Oct 03, 2005 - 03:46 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Jim,
On a side note we are aware of the sub-par performance of the formatter, you couldn't believe how complex a piece of code it is, and for the time being has been low priority. It should improve soon but it is not our highest priority right now.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
wfhoehn
Post subject:   PostPosted: Oct 04, 2005 - 10:50 PM



Joined: Oct 04, 2005
Posts: 1

Add my vote to the list for bumping the priority here. This is a very important feature for those who do anything beyond dead simple jsps.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits