Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 242
Teharez Avatar asked Sep 02 '25 02:09

Teharez


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.

like image 121
jalooc Avatar answered Sep 06 '25 17:09

jalooc