Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365020 - javascript validation has the cache with any project.
Summary: javascript validation has the cache with any project.
Status: RESOLVED WONTFIX
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 01:43 EST by Lin ZuXiong CLA
Modified: 2011-12-01 14:23 EST (History)
1 user (show)

See Also:


Attachments
According to tips, it is not right measure. (17.70 KB, image/jpeg)
2011-11-30 03:52 EST, Lin ZuXiong CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lin ZuXiong CLA 2011-11-29 01:43:23 EST
Build Identifier: Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 1 Build id: 20110916-0149

After hours of looking around I have found how to definetly remove JS validation.

This means editing your .project file, so back it up before just in case.

Close Eclipse
Open your .project file
look for the following line : 
<buildCommand>...javascript</buildCommand><nature>org.eclipse.wst.jsdt.core.jsNature</nature>
delete it
save your file and start Eclipse

Except result:
There no more red or yellow squibble all over the place... but no more js validation.
But actual result:
There still are red or yellow squibble all over the place.

You can copy a jquery.min.js to Eclipse Project so that see many errors!

Reproducible: Always

Steps to Reproduce:
1.Close Eclipse
2.Open your .project file
3.look for the following line : 
<buildCommand>...javascript</buildCommand>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
delete it
4.save your file and start Eclipse
Comment 1 Nitin Dahyabhai CLA 2011-11-29 10:14:53 EST
I'm not sure what we're supposed to "fix" here.  Removing the Builder doesn't automatically remove the Problem Markers it created.  Those would have to be deleted manually using the Problems or Markers View.
Comment 2 Lin ZuXiong CLA 2011-11-30 03:47:00 EST
(In reply to comment #1)
> I'm not sure what we're supposed to "fix" here.  Removing the Builder doesn't
> automatically remove the Problem Markers it created.  Those would have to be
> deleted manually using the Problems or Markers View.

Do you have a try?
Comment 3 Lin ZuXiong CLA 2011-11-30 03:52:50 EST
Created attachment 207707 [details]
According to tips, it is not right measure.

Do you mean it ?
Comment 4 Lin ZuXiong CLA 2011-11-30 03:53:59 EST
Why dont fix it ?
Comment 5 Nitin Dahyabhai CLA 2011-12-01 14:23:39 EST
As mentioned, there's nothing to fix in terms of what you've reported.  Disabling a builder doesn't automatically remove the markers it created, and removing those markers manually does have the consequences shown in the dialog.