Community
Participate
Working Groups
Using 3.0 M7, been like this since I started using Eclipse with 2.1 Create this class: public class Parent { public static class Nested { } } Then create this class and attempt code completion (Ctrl-Space) the listed location: public class OtherClass { public OtherClass() { Nes<Code Complete Here> } } The Nested class does not show up in the completion list. If you create a method in the Parent class and attempt code completion the Nested class does show in the list.
That's because the type Parent.Nested is not visible unless you qualify it. The member type cannot be found by its simple name. Try: public class OtherClass { public OtherClass() { Parent.Nes<Code Complete Here> } }
that's not the point :) make it a new feature if you must but this is how I would like to see it work
How can we guess you want the Nested in Parent, and not any arbitrary member types nested anywhere ? What about offering all static members of the entire libraries following this approach ? We want codeassist to remain predictible and simple. If it offers 10.000 completions, it is as good as offering none (except much slower). I don't think we want to follow that path.