Reputation: 613
I'm using Intellij IDEA 2017.2.1 and Intellij is wrapping my import statements on the right margin when I optimize the imports.
How can I disable that so the imports aren't wrapped anymore?
Upvotes: 4
Views: 2961
Reputation: 1227
In Webstorm it's under (maybe it'll help you in other Intellij IDEs too): Settings -> Editor -> Code Style -> JavaScript (or other) -> "Wrapping and Braces" tab -> "ES6 import/export" header
- select Do not wrap
.
Upvotes: 3