在Intellij中禁用右边距的包装导入

时间:2017-08-14 14:20:04

标签: intellij-idea

我正在使用Intellij IDEA 2017.2.1,当我优化导入时,Intellij正在将我的导入语句包装在右边缘。

如何禁用它以便不再包装导入?

1 个答案:

答案 0 :(得分:0)

在Webstorm中,它位于下方(也许也会在其他Intellij IDE中为您提供帮助):Settings -> Editor -> Code Style -> JavaScript (or other) -> "Wrapping and Braces" tab -> "ES6 import/export" header-选择Do not wrap