Community
Participate
Working Groups
N20081005-2000 Take the following snippet: --------------------------------- package p1; public class A { public static void main(String[] args) { System.out.println("/some/path/image.bmp"); } } /** * not intended */ class bmp { } --------------------------------- If you hover over bmp inside the string javadoc view and javadoc hover will show "not intended". I see the point that strings can contain class names but in this case it' just annoying. One way I could imagine is to only match if the string contains a full qualified name.
codeSelect could be smarter and if the string in front of the '.' doesn't match the package name then don't return the type. Other scenario: /** * This should show a hover: HashMap and this is not: .HashMap */
(In reply to comment #1) > codeSelect could be smarter and if the string in front of the '.' doesn't match > the package name then don't return the type. In this case, the following scenario would still show "not intended": package image; public class A { public static void main(String[] args) { System.out.println("/some/path/image.bmp"); } } /** * not intended */ class bmp { }
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.