zilert
zilert

Reputation: 41

Eclipse package names instead of imports

How to configure Eclipse to always use fully qualified names instead of automatically adding imports ?

i.e. if you are using Foo, Eclipse does an import of com.stackoverflow.Foo; I would like it to always write com.stackoverflow.Foo when Foo is used.

Please don't ask why. :)

Upvotes: 4

Views: 286

Answers (1)

Sean Patrick Floyd
Sean Patrick Floyd

Reputation: 298818

in Panel Window > Preferences > Java > Editor > Content Assist

uncheck "Add import instead of qualified name"

Upvotes: 9

Related Questions