Skip to main content



      Home
Home » Newcomers » Newcomers » Excluding a path from validation
Excluding a path from validation [message #556275] Tue, 31 August 2010 11:00 Go to next message
Eclipse UserFriend
Product: PDT 2.2 all-in-one

Goal: Excluding a path from all validators

Why: My code is OK. I like strict validators for myself. BUT I use some code developed by others, like tinyMce editor, jquery, etc. These code is not full w3c compliant and generate tons of warnings (e.g. lacking of ";" in js, "onChange" event in html, etc.) Crying or Very Sad
So I would isolate that folders from being validated.

While I'm able to exclude a path from js and php validators I don't find any way to exclude html validation or a way to hide completely a path to the build process.

Any ideas?
icon14.gif  Re: Excluding a path from validation [message #556278 is a reply to message #556275] Tue, 31 August 2010 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Found!
Project->Validation
Click on the button "..." on the right side of "HTML Syntax Validator"
click "Add Exclude Group"
Selection of "Exclude Group" in the listbox
click Add Rule
click "Folder or file name" option button
browse for on folder to exclude (the path will be relative to the project)

Now, excluded jQuery and TinyMce editor, I have zero warnings! Very Happy


Re: Excluding a path from validation [message #649331 is a reply to message #556275] Tue, 18 January 2011 13:39 Go to previous message
Eclipse UserFriend
Now, in eclipse Helios (at least under Linux) that menu is on
project->properties->validation->enable project specific settings
and then click on "..." of the specific validator to add exlusions

[Updated on: Tue, 18 January 2011 13:43] by Moderator

Previous Topic:Keystroke for Goto (or Open) Implementation
Next Topic:execute exe and do some commands
Goto Forum:
  


Current Time: Sat Nov 08 14:54:24 EST 2025

Powered by FUDForum. Page generated in 0.08594 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top