Autoformat removes blank lines between imports

Hi Jetbrains,

I've recently disabled code folding for ES6 imports, but it's revealed some behaviour I'm not so keen on:

  • Before, when I used auto-format, any line-spacing inside the (folded) imports would be ignored.
  • Now, when all lines of code are showing, blank lines seem to be eaten by the formatter.

This is probably better explained using a gif:

For extensive imports which I would like to group, this is problematic.

I've looked at the "blank lines" section of the code style prefs, but I can't find how to turn this behaviour off.

Can you help?
Thanks.

0

请先登录再写评论。