Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Package annotations, and autocompletion(IDE does not offer annotation autocompletion in
Package annotations, 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 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 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

Can anybody else reproduce this behavior? Is this behavior by design?

If and annotation are in different packages, after typing in complete annotation name, organizing imports will add appropriate imports for the annotation.

Re: Package annotations, 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: 133
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.

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: Sun Nov 29 01:40:01 GMT 2015

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

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