JSDT [message #769630] |
Thu, 22 December 2011 12:44 |
|
In JSDT (1.2.5):
Validation of unresolved type,field and method is available.
we get error in editor for such issues if we set severity "Error" in preferences.
But in latest JSDT's version (1.2.5 or 1.3.1)
We do not find these validators(Unresolved Types,Unresolved Fields,Unresolved Method) in preferences.
What is the reason to disable this feature in latest version.
In anticipation for your quick reply.
Thanking You,
Shalini Gupta.
|
|
|
Re: JSDT [message #769827 is a reply to message #769630] |
Thu, 22 December 2011 18:37 |
|
On 12/22/2011 7:44 AM, Shalini wrote:
> In JSDT (1.2.5):
> Validation of unresolved type,field and method is available.
> we get error in editor for such issues if we set severity "Error" in
> preferences. :)
>
> But in latest JSDT's version (1.2.5 or 1.3.1)
> We do not find these validators(Unresolved Types,Unresolved
> Fields,Unresolved Method) in preferences. :(
> What is the reason to disable this feature in latest version.
>
> In anticipation for your quick reply.
It was removed to large amounts of false positives, and many users not
knowing how to disable it (which doesn't really address the issue of the
false positives at all).
https://bugs.eclipse.org/bugs/show_bug.cgi?id=346960#c1
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Re: JSDT [message #770033 is a reply to message #769827] |
Fri, 23 December 2011 06:21 |
|
Thank You for your reply
Going through the code of JSDT Validation I found that both versions (i.e 1.2.3 which supports unresolved type,field,method and latest one which does not support) parse the code and found the problem of Unresolved type,field,method.
But in apis: invalidMethod, invalidField,invalidType of ProblemReporter Class ,
for version 1.2.3 it calculates severity using projectID and preference and report error on editor if severity is set to Error in preferences.
where as in latest version severity is hardcoded to ProblemSeverities.Ignore, so the problem is not reported to the editor.
Is there any way to turn on this feature through program, since i have requirement for the same in my project.
In anticipation of your reply.
Thank You,
Shalini Gupta
|
|
|
Re: JSDT [message #774430 is a reply to message #770033] |
Tue, 03 January 2012 22:53 |
|
On 12/23/2011 1:21 AM, Shalini wrote:
> Is there any way to turn on this feature through program, since i have
> requirement for the same in my project.
>
> In anticipation of your reply.
No. You can still recompile that plug-in if you want to restore the
change, but there's no plan to go back and turn them on.
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.03635 seconds