| Summary: | Provide a way to disable JS semantic analyzer/validator | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Michael Spector <spektom> | ||||||||
| Component: | General | Assignee: | Nitin Dahyabhai <thatnitind> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | johnjbarton, thatnitind | ||||||||
| Version: | 3.0 | Flags: | thatnitind:
review+
|
||||||||
| Target Milestone: | 3.1 M6 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Michael Spector
The JavaScript validation page already provides the capability of turning off the errors (via configuring error/warning/ignore) for many of the error types. Anything above what is already there would require a user interface change which cannot be made in a maintanance release. (In reply to comment #1) > The JavaScript validation page already provides the capability of turning off > the errors (via configuring error/warning/ignore) for many of the error types. > Anything above what is already there would require a user interface change > which cannot be made in a maintanance release. > The problem is that all error kinds cannot be disabled for now. There are still many errors, even if I disable all errors. What I'm asking is the way to disable all errors except for JS pure syntax errors. Please see the patch as an example of what I'm asking, this patch adds undocumented preference constant that disables all but syntax errors. Created attachment 110584 [details]
disable all but syntax errors patch
Created attachment 110626 [details]
modified patch
modified slightly to use options object. Will check in to 3.0.2. Do you want to leave this bug open until the UI can be updated? Created attachment 110751 [details]
Modified patch + UI changes
Here's a modified patch that includes UI changes as well.
Committed, with a spelling fix and touch-ups to the UI changes. The headless portion was previously released. Disabling by default, and adding a modification to pass-through detected tasks. *** Bug 162451 has been marked as a duplicate of this bug. *** |