|Package annotations, package-info.java and autocompletion [message #684275]
||Wed, 15 June 2011 10:26
| Stevo Slavic
Registered: July 2009
Hello Eclipse IDE users,|
When editing package-info.java with Eclipse Java editor, autocompletion doesn't seem to work for annotations. E.g. if classpath contains an annotation with @Target(ElementType.PACKAGE), and in some package-info.java I try to annotate package with that annotation, typing in "@" followed by first letter of mentioned annotation name, pressing Ctrl+Space will not offer autocompletion for that annotation, regardless if annotation is in same or different package as package-info.java
Can anybody else reproduce this behavior? Is this behavior by design?
If package-info.java and annotation are in different packages, after typing in complete annotation name, organizing imports will add appropriate imports for the annotation.
Powered by FUDForum
. Page generated in 0.02078 seconds