Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Package annotations, package-info.java and autocompletion(IDE does not offer annotation autocompletion in package-info.java)
Package annotations, package-info.java and autocompletion [message #684275] Wed, 15 June 2011 10:26 Go to next message
Stevo Slavic is currently offline Stevo SlavicFriend
Messages: 21
Registered: July 2009
Junior Member
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.

Regards,
Stevo.
Re: Package annotations, package-info.java and autocompletion [message #684389 is a reply to message #684275] Wed, 15 June 2011 14:14 Go to previous message
Brian Vosburgh is currently offline Brian VosburghFriend
Messages: 132
Registered: July 2009
Senior Member
This sounds like bug 326610 [1]. You might want to review the bug and add any further insights you have.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=326610
Previous Topic:Source Code shows as rectangles instead of charactars
Next Topic:trying to use a local cvs as repository for eclipse
Goto Forum:
  


Current Time: Fri Dec 19 12:20:01 GMT 2014

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

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