是否可以从 Intellij IDEA 中的 js 中删除空行?

Is it possible to remove blank lines from js in Intellij IDEA?

是否可以从 ES6 js 代码中删除空行? IDEA 格式化程序破坏了我的代码风格:(

还有an open feature request,随意vote/comment。

我能够使用正则表达式摆脱空白 ^\s*^。在 html/js 目录或单个文件中按替换,空格消失。这是来自 IntelliJ 支持的 perma