facebook

HTML/JSP Editor

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #197508 Reply

    mercatorgeo
    Member

    Hi,

    I think I may be missing something obvious, but I can’t find the Preview pane for either HTML or JSP’s. I expected a preview tab next to the source tab in the editor view, but it’s now there. Should I look elsewhere, or does it need to be enabled somewhere?

    Also, one of the features I really like about Eclipse (coming from IBM WSAD 4) is the Overview ruler. However, it seems that je MyEclipse HTML/JSP editor does not support this overview. It would be nice if at least errors would be shown there.

    And lastly, is there a way to choose the type of HTML validation (e.g. HTML 1.1 vs XHTML 1.1)?

    thanks,
    Marijn

    #197510 Reply

    Scott Anderson
    Participant

    Marijn,

    I can’t find the Preview pane for either HTML or JSP’s.

    The preview pane is currently only available on Windows, so if you’re using Linux this would explain it. If you’re on Windows, the preview tab will be at the bottom of the editor window, next to the Source tab. If you don’t see it, please be sure you’re opening your JSP’s and HTML files specifically with the MyEclipse JSP Editor by using ‘Open with…’

    However, it seems that je MyEclipse HTML/JSP editor does not support this overview.

    I’ve added this as an enhancement request for the editor.

    is there a way to choose the type of HTML validation (e.g. HTML 1.1 vs XHTML 1.1)?

    Currently, no validation on HTML content is performed. However, we do have an enhancement request open to perform validation of HTML in the future. As part of that enhancement, we should add the ability to determine which specification you’re writing for.

    –Scott
    MyEclipse Support

    #197512 Reply

    mercatorgeo
    Member

    Thanks for the swift reply. I am indeed using Linux (Suse 8.2) so at least I did not oversee an option or something.
    I’m not really in need of an HTML preview pan, but I was a bit annoyed with myself for not being able to find it.

    On the subject of HTM validation, why does the editor highlight certain (parts of) HTML tags as errors? For example, if I specify a height attribute for a table tag, it is colored red. Isn’t that validation?

    #197514 Reply

    Scott Anderson
    Participant

    On the subject of HTM validation, why does the editor highlight certain (parts of) HTML tags as errors? For example, if I specify a height attribute for a table tag, it is colored red. Isn’t that validation?

    You’re correct. We do validate attributes for HTML elements. I’d forgotten that this was recently added. I was thinking more about a well-formedness check and validation for XHTML compliance when I wrote my response. These are areas we’re looking into now.

    –Scott
    MyEclipse Support

    #197546 Reply

    mercatorgeo
    Member

    I’d forgotten that this was recently added.

    “Too many features for one man to comprehend” could be your new slogan 😉

    I’ve noticed something else in the code highlighter: It doesn’t reload tld’s automatically on change.
    If I add a new tag to my tld (and save it), the editor will color my tag red until I close and reopen the file, as if it doesn’t exist.
    Nothing really worrying, but now that I’ve become used to autodeployment to my Tomcat 5 server, I expect this to be automatic as well 🙂

    Also, the jsp compiler does reread the tld after saving a jsp, but changing the tld does not cause my jsp’s to be recompiled. That way, my tld and jsp’s might get out of sync.

    Could it be possible to create a trigger on tld saves, forcing at least the recompilation of all jsp’s that use the tag libary, and possibly reloading the tag validator in the JSP editor?

    Again, I’m using MyEclipse 2.51 with Eclipse 2.1.1 on Suse Linux 8.2

    #197547 Reply

    Scott Anderson
    Participant

    The dependency enhancements you’re suggesting are already a known limitation of the system and have been logged to be addressed in a future release. In addition, you’ll notice that changing Java files doesn’t cause their corresponding JSP’s to be recompiled either.

    We’re working on providing full dependency checking in a later release. In the meantime, we’ve added the ‘Recompile All JSP’s’ option on the project’s context menu as a workaround.

    –Scott
    MyEclipse Support

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: HTML/JSP Editor

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