Community
Participate
Working Groups
In the code below, I create an annotation class that is enclosed on another class. If I try to have eclipse auto-complete the annotation with the enclosing class prefix, it does not work: public class AtEnclosedCompletionBug { @interface Foo {} // Note that this is valid -- i.e. qualifying the annotation class name with // the enclosing class @AtEnclosedCompletionBug.Foo String foobar; // Type @AtEnclosed <Ctrl-Space>. This should suggest (or auto-complete to) // @AtEnclosedCompletionBug.Foo but it doesn't }
Reproducible, we do not get any proposal here. Not sure if this is supported or could be an enhancement. Moving to JDT/Core for comments.
I see this as far back as 3.8.2. So, I can conclude we never meant to support this. Will consider if someone is willing to provide a patch.