Odd formatting for Variable declarations / Align = When grouped and object destructuring
I currently have Variable declarations set to "Chop down if long" and Align set to When grouped.
This is good for the alignment of the equals symbol, but I don't think it should be affecting the contents of the destructure:
const x = 1,
y = 2,
foregroundColor = 'transparent',
highlightColor = 'lime',
font = 'Arial';
const {
actions,
mocks,
} = scenario;
My expected formatting is:
const x = 1,
y = 2,
foregroundColor = 'transparent',
highlightColor = 'lime',
font = 'Arial';
const {
actions,
mocks,
} = scenario;
Is there some other setting that may be messing with the formatting?
Please sign in to leave a comment.
There are no such settings; please feel free to file a feature request to youtrack, https://youtrack.jetbrains.com/issues/WEB.
Related feature: https://youtrack.jetbrains.com/issue/WEB-31028