- This topic has 1 reply, 2 voices, and was last updated 11 years, 2 months ago by support-tony.
-
AuthorPosts
-
minhurMemberThis is a continuation from my last post
https://www.genuitec.com/forums/topic/disable-javascript-validator-on-myeclipse-2013/I’m not able to turn off Javascript Validators on my project at all on a MAC
On windows, I found a hacky solution of ‘not checking javascript’ while selecting dynamic web module, which is still weird since javascript facet gets check after project rebuilds anyway.I’ve tried clearing all validation markers, excluding project from validation, suspending validations, etc and all kinds of combinations but the problems still shows bunch of false javascript errors.
I have these settings checked:
MyEclipse > Validation >
– Checked Suspend all validators
– Unchecked everything under Manual/BuildMyEclipse > Files and Editors > JavaScript > Validators
– Unchecked Process JSDoc
– Unchecked Enable JS semantic validationOn my project’s Builders setting
– Unchecked Javascript Validator
– Unchecked ValidationAnd yet, after setting these and doing build > clean, and refresh,
Javascript errors are still surfacing on Problems tab.Is there a way to complete turn them off?
support-tonyKeymasterminhur,
Sorry you’re seeing this problem. I’ve raised a bug report for the developers to investigate.
I’m assuming that you’re seeing the problem with JavaScript files, is that right? For embedded JavaScript, turning off the client side JavaScript validation in the project properties worked for me. However, for JavaScript files, disabling the validation of JavaScript files didn’t stop the validation.
There are a couple of workarounds I’ve found.
- For each JavaScript file that you don’t want validated, right click on the file and select MyEclipse->Exclude from Validation.
- Right click on the project and select Properties. Now go to the Builders page and deselect the JavaScript Validation builder and click OK. Now delete the project, without deleting the source, and then import the project again. There should be no validation done against JavaScript files after this.
Sorry for the inconvenience and thank you for reporting the problem.
Please let us know if this helps at all.
-
AuthorPosts