Formatting "from xxx import..." with multiple imports

 I just did a "Move module members" to another file (very nifty feature, btw), but it doesn't format multi-line imports as our local standard dictates. I found that "Reformat code" does the same thing.

Before:

from foo import (
bar,
baz,
nern
)

After:

from foo import (
bar, baz, nern
)

I am looking to either preserve the "Before" formatting, or have "Reformat code" generate the "Before" formatting when applied to a "from xxx import" with multiple imports.

Is there any setting to do this?

Thanka!

0

Please sign in to leave a comment.