我正在使用Intellij IDEA 2017.2.1,当我优化导入时,Intellij正在将我的导入语句包装在右边缘。
如何禁用它以便不再包装导入?
答案 0 :(得分:0)
在Webstorm中,它位于下方(也许也会在其他Intellij IDE中为您提供帮助):Settings -> Editor -> Code Style -> JavaScript (or other) -> "Wrapping and Braces" tab -> "ES6 import/export" header
-选择Do not wrap
。