JSP editor detects java errors and warnings, but offers no fixes [message #481540] |
Fri, 21 August 2009 13:17 |
Eclipse User |
|
|
|
Originally posted by: david.balazic.hermes.si.foo
Hi!
In Eclipse 3.5.0, "Dynamic Web Project" when editing a JSP file, if a
Java portion has a warning, it is underlined and everything, but no
quick fix is offered, like in *.java files. Example:
List a_list = (List)returnSomeList();
gives a warning : List is a raw type. References to generic type List<E>
should be parameterized
But the pop up does not offer quick fixes, like it does for the same
line in a pure Java file.
Is this a bug ?
Regards,
David
PS: Some additional config details (to my prevoius mail today)
-- Configuration Details --
Product: Eclipse 1.2.0.20090619-0620 (org.eclipse.epp.package.java.product)
Installed Features:
org.eclipse.jdt 3.5.0.v20090527-2000-7r88FEeFJePyvYeA33DjZ_c1
PPS: My email address is (hopefully) spam protected/mangled
|
|
|
Re: JSP editor detects java errors and warnings, but offers no fixes [message #481602 is a reply to message #481540] |
Fri, 21 August 2009 17:40 |
|
David Balažic wrote:
> In Eclipse 3.5.0, "Dynamic Web Project" when editing a JSP file, if a
> Java portion has a warning, it is underlined and everything, but no
> quick fix is offered, like in *.java files. Example:
>
> List a_list = (List)returnSomeList();
>
> gives a warning : List is a raw type. References to generic type List<E>
> should be parameterized
>
> But the pop up does not offer quick fixes, like it does for the same
> line in a pure Java file.
>
> Is this a bug ?
No, it's a feature we haven't implemented, yet.
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.03026 seconds