facebook

Any way to turn off errors for html in package explorer?

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #270964 Reply

    eaparnell
    Member

    I have what are basically html snippets in my classpath (They are Freemarker templates). I like to use the MyEclipse html editor for them and have set my preferences to use that editor for any *.ftl filetypes. However, since they are often only PART of a full html page, I get warnings all over the place that show up in package explorer. I would like to disable these and therefore only show real Java compile errors in that view.

    Thanks.

    #270991 Reply

    Riyad Kalla
    Member

    You can do two things:

    1) You can go to your project settings under MyEclipse > Validation, and turn off HTML Validation.
    2) Or you can go to MyEclipse > Validation > Exclusion (or right-click on the files individually) and mark all the FTL files as excluded from validation.

    I prefer #2 since it allows real HTML files to still get validated, BUT if you don’t have any full HTML files in your project, #1 will be much easier/faster.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Any way to turn off errors for html in package explorer?

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