Skip to main content



      Home
Home » Newcomers » Newcomers » JSDT(Validation of Unresolved Type/field/method)
JSDT [message #769630] Thu, 22 December 2011 07:44 Go to next message
Eclipse UserFriend
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. Smile


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. Sad

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 13:37 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: JSDT [message #770033 is a reply to message #769827] Fri, 23 December 2011 01:21 Go to previous messageGo to next message
Eclipse UserFriend
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 17:53 Go to previous message
Eclipse UserFriend
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
Previous Topic:My profile in this web site
Next Topic:WebSphere MQ Explorer
Goto Forum:
  


Current Time: Tue Jul 22 19:34:03 EDT 2025

Powered by FUDForum. Page generated in 0.09905 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top