Pookly
Pookly

Reputation: 143

How to close intellij auto sort imports?

IDEA version : 2019.3.1 x64

I know Settings | Code Style | Java | Imports, but not found where close;

I don't like idea auto change original import order. how to close IDEA self-assertion function.Thanks!

problem

Upvotes: 3

Views: 805

Answers (1)

Ersoy
Ersoy

Reputation: 9624

in Settings > General > Auto Import uncheck Optimize imports on the fly. Also while reformatting, you may disable it by unchecking Optimize Imports in Reformat Code Dialog.

Screenshot

Upvotes: 4

Related Questions