
Disable javascript validation from my eclipse project?
by bernt & torsten
I have been using Eclipse for my projects, recently I run into some problems with Eclipse while going through the Two-Minute-Tutorial 5 for Android. While setting up a new project using the Phonegap plugin for Eclipse with jQuery Mobile, I got an error with my jQuery library – after some investigation – I found that the problem was caused by having the Javascript validation enabled in Eclipse.
How do you disable the Javascript validation in Eclipse, it’s not that straightforward – you need to take a few actions to disable it.
Turn off the JavaScript Validator in the “Builders” config for your project:
- Right click your project
- Select Properties -> Builders
- Uncheck the “JavaScript Validator”
Then restart your Eclipse.
If that does not solve your problem or is a bit drastic for you, then you can selectively remove some JavaScript sources from validation.
- Right click your project
- Select Properties -> JavaScript -> Include Path
- Select
Source
tab. ( It looks identical to Java Build Path Source tab ) - Expand JavaScript source folder
- Highlight
Excluded
pattern - Click
Edit
button - Click
Add
button next toExclusion patterns
box. - You may either type Ant-style wildcard pattern, or click
Browse
button to mention the JavaScript source by name.
That should be, your choice of which method to use.

The Human Brain and Its Role in Creativity, Memory, and AI
The human brain is a marvel of evolution, a universe within, teeming with thoughts, memories,...

What’s the Environmental Cost of Your Online Activities? From AI Queries to Streaming Video
Scrolling through social media, searching on Google, or chatting with an AI feels like a...

A Poem: Too Old to Be Seen, Too Wise to Be Broken
They saw my years, not the code I wrote,
Dismissed the knowledge I carried, remote.