Disable wrapping imports on right margin in Intellij

Viewed 1922

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?

1 Answers

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.

Related