Community
Participate
Working Groups
I have an Annotation @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Option { String name(); String usage() default ""; String metaVar() default ""; } If I want to use this annotation, I have to type "@o" to get code completion. Same for its arguments (n-name u-usage m-metachar). When using code completion in the normal Java space I´ll get suggestions directly with Ctrl-Space. So would expect to get a list of available annotations directly (or after "@") and all available arguments inside the annotation. First I thought here is no completion, but Bug 87987 sais it´s buildin. But not correctly (IMHO) - you have to type the first character.
Sorry, I used Eclipse 3.1 Version: 3.1.0 Build id: I20050627-1435
This is a change that would need to be made to JDT core. Agree that typing "@o" is more than should be required. Would prefer "@" though, as the suggestions list would be very cluttered if we offered annotations in all places they could be used.
Defer post 3.2
Reopened
*** This bug has been marked as a duplicate of 129983 ***