I'm experiencing an issue with auto-imports in Eclipse IDE. When I write code like this:
Class object = new Class();
object.someMethod();
and I use code completion (by pressing . after the object and selecting a method from the list), the IDE automatically adds the necessary import statement at the top of the file. However, I don’t want this behavior—I prefer to add imports manually.
I’ve looked through the IDE settings but couldn’t find an option to disable auto-import specifically for code completion. Is there a way to turn this feature off?