facebook

JSP Document Formatter

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #246339 Reply

    When working on a JSP file, I would like to have it automatically format my file. If I right-click, I can select “Format, Document”. For JAVA, I can change the formatting rules. How do I change the formatting rules for JSP files or do they use the same preferences?

    Thanks

    Michael

    #246342 Reply

    Greg
    Member

    Michael,

    Try modifying the settings here:
    Window > Preferences > MyEclipse > Editors > HTML > HTML Source

    Also if you right-click and choose “Cleanup Document”. That gives you some other formatting options as well.

    #246358 Reply

    nielsentpg
    Member

    is there a plan to implement any more detailed formatting options for HTML / JSP similar to those available for JAVA?

    JSP is particularly susceptible to becoming unreadable with too many levels of indentation as well as performance problems due to page-bloat with all the tab-characters littering large pages.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP Document Formatter

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