facebook

Turning off HTML parsing

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    Brandon Rife
    Member

    I’m using Eclipse 3RC1 and the appropriate version of MyEclipse. One project in my workspace contains many *.htm files generated by Powerpoint, Word, and even OpenOffice. MyEclipse is logging hundereds of warnings and errors against these files. How can I tell MyEclipse not to parse these files?

    #208379

    Riyad Kalla
    Member

    Navigate to: Window > Preferences > MyEclipse > Editors > JSP/HTML Editor > HTML Formatting

    From here you can either change the file filter (to ignore the htm files) or remove the “Show warnings” check box or maybe also the “Persistent problem markers”.

    #208432

    Brandon Rife
    Member

    Changing the editor-related config doesn’t seem to do much of anything, in the HTML editor or the Package Explorer. This seems to be more of a builder related problem than an editor related one to me.

    #208441

    Scott Anderson
    Participant

    brife,

    We’re adding a new option in Beta 2 to completely turn off HTML validation. It was an oversight that it was left out of Beta 1. Sorry for the inconvenience.

    #211637

    minhv
    Member

    I downloaded and tried 3.8b2. It still gives lots of error and warning messages on html files even though I already unchecked all the options under Preferences > MyEclipse > Editors > JSP/HTML Editor > HTML Formatting and Validation. I also removed htm|html from the “File Filter (Regular Expression)” input field.

    Is there any other way to disable html parsing and validation?

    #211640

    Greg
    Member

    Are you importing a folder of html files? Or are these existing html files that have had problem markers on them from earlier versions? You should be able to right-click the folder that contains the html files and select MyEclipse->Remove HTML Problem Markers

    I tested turning off “Incrementatal HTML Validation” in the MyEclipse -> Editors -> Jsp/HTML Editor -> HTML Formatting and validation preference and then I imported a folder with html files and no validation was performed. Let me know if this isn’t the case for you.

    #211641

    minhv
    Member

    Thanks for the quick response.

    The html files are pre-existing files. After right click the folder and select “MyEclipse > Remove HTML Problem Markers”, all the error msgs were cleared. That’s good. But the Warning messages are still there.
    How do I turn those warnings off too?

    #211642

    Greg
    Member

    What are the warnings? Are they HTML warnings put there by MyEclipse HTML validation? I tested locally and if I do a “Validate” from the MyEclipse menu and I get html warnings, they are removed by using the “Remove problem markers”.

    If this doesn’t work, a possible workaround is to make sure you have html validation turned off in the preferences and export and reimport those HTML files. They should be free of errors when you import them back in.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Turning off HTML parsing

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