Dart. Idea. How to prevent formatting from merging into single line
609
End each line you don't want to be affected by formatting with "//":
[1, 2, 3]
.map((a) => 0) //
.map((a) => 1); //
var x = [
0, 1, 2, //
3, 4, 5 //
];
Author by
GensaGames
Updated on December 15, 2022Comments
-
GensaGames over 1 year
I'm trying to set new formatting for me. Because of this problem.
Before auto format.
I checked Idea Settings. But seems there are not too many settings for Dart. I have removed all the setting with line merging. But above issue still exist. For example. This setting, which should work, but it doesn't.
Any suggestion?