Community
Participate
Working Groups
Build Identifier: 20100617-1415 See the test code under the steps to reproduce; it seems the switch is vital to this bug, as I couldn't take it out and still experience the bug. This bug is similar (possibly related) to bug 249704. Reproducible: Always Steps to Reproduce: 1. see the commented lines in the sourcecode and try if autocomplete still works: public class Test { private Object o = new Object() { public void doSomething() { int i = 3; String s = "Test!"; switch (i) { case 3: // Autocomplete works here new Object() { public void run() { // Autocomplete works here } }; // Autocomplete doesn't work here // if you type "s.", it doesn't work // if you type "String p = new Str<ctrl+space>", it // autocompletes the class name break; } } }; }
Could be related to bug 311356 though you need two anonymous classes there.
I'll investigate. See also bug 306908
*** Bug 363786 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.