Reputation: 14562
I'm in Eclipse writing Java. I come from Visual Studio with Resharper writing C#.
When Content Assist comes up, I see all the private members of a class, even though I'm not editing that class. Is there a way I can turn that off?
It's really distracting.
Upvotes: 1
Views: 480
Reputation: 958
If you do not explicitly write a method's access level (public, protected, or private), then it will default to package-private, and these methods will probably been shown in Content Assist.
Upvotes: 0
Reputation: 56772
Window -> Preferences -> Java -> Editor ->Content Assist -> Hide proposals not visible in the invocation context
Upvotes: 3