facebook

How can I enable jsp formatter? [Enhancement]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #197711 Reply

    fling
    Member

    I am unable to use jsp formatter, looks like it is not enabled.

    #197712

    support-michael
    Keymaster

    JSP formatting features are currently going through our internal testing process. This capability will be available in an upcoming release.

    Michael
    MyEclipse Support

    #216668

    Scott Ryan
    Member

    It would nice if you would not remove features that were working ok but upgrade them. The formatter was a nice feature that we were using in previous versions. We had to upgrade to the latest version to get around some bugs in other areas only to find a number of features we were using had disappeared. The formatter was a useful tool in the state it was in and it is too bad you have removed it.

    #216690

    Riyad Kalla
    Member

    Scott,
    The JSP formatter was *not* working OK before, that is why it was removed. On some pages, it would mangle the imports in a such a way that some would be removed and other would randomly be concatonated together into a giant string. Ontop of that it would sometimes munge the page directives and <html> and <head> tag contents together, overall ruining the page. You can imagine the kind of feedback we would have gotten if someone had right clicked on their project and said “Format”… I imagine someone would have shot us.

    #216711

    Scott Ryan
    Member

    I did not realize there were issues. We did not see any problem but hopefully you get them resolved soon as it was a very useful tool and there aren’t any good replacements out there.

    I hope the JSP validator gets fixed as well cause right now it is taking 10 minutes to validate a 30 line JSP file. It must be doing some incredible validation.

    Well thanks for a great product and I look forward to future versions and more features and stability.

    Scott

    #216712

    Riyad Kalla
    Member

    it was a very useful tool and there aren’t any good replacements out there.

    Absolutely agree, formatters now fall into the “Required tools” category for keeping large projects nicely organized.

    I hope the JSP validator gets fixed as well cause right now it is taking 10 minutes to validate a 30 line JSP file. It must be doing some incredible validation.

    I had to re-read this sentence 3x to make sure I understood you… JSP validation consists of the following steps:

    1) Run JSP page through Jasper2 to create the Servlet Java file
    2) Execute javac.exe to compile the Java file into a class.

    So ‘validation’ of a file should not take any longer than it does for example, Tomcat to compile and display the JSP page to a user visiting the site (it should be much faster in ME). I have compiled many large files and they take about a second (Give or take) each… are you exagerating or do you honestly mean wall-clock-time it takes more than a few seconds to validate a JSP file when you save it? (or execute validation manually).

    Please provide all of your Build IDs for MyEclipse (Window > Preferences > MyEclipse) and Eclipse (Help > About) as well as the JSP file in question, even 10 seconds per file is unacceptable, let alone 1 minutve, 5 minutes or 10. We would like to get to the bottom of this ASAP.

    It must be doing some incredible validation.

    For 10mins of validation? I wish I could point you to a 200pg whitepaper on how we do validation to explain the 10mins it takes… but I can’t 😛

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: How can I enable jsp formatter? [Enhancement]

You must be logged in to post in the forum log in