When I copy&past my source files IntelliJ autoformat the file content. E.g. change the order of imports.
How can I disable this behavior?
CodePudding user response:
You can change this behaviour under Settings/Preferences (on macOS) | Editor | General | Smart Keys | Reformat on paste
CodePudding user response:
In "Setting" --> "Editor" --> "CodeStyle"-->"Java" you find a tab imports. There you can change this behavior