Is there a way to remove private contributors from Content Assist in Eclipse

I am writing Java in Eclipse. I came from Visual Studio with Resharper writing C #.

When Content Assist appears, I can see all the private members of the class, although I am not editing that class. Is there a way I can turn this off?

It is really distracting.

+1


source to share


2 answers


Window -> Preferences -> Java -> Editor -> Content Assist -> Hide Suggestions Not Visible in Calling Context



+3


source


Unless you explicitly write a method access layer (public, protected, or private), then it will default to private-private, and those methods are likely to show up in Content Assist.



0


source







All Articles