Teharez
Teharez

Reputation: 613

Disable wrapping imports on right margin in Intellij

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

Answers (1)

jalooc
jalooc

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

Related Questions