I am trying to configure dart to let the operator . appear on the same line. I am not having any success on configuring it to do that. It currently looks like this
I would like colors.removeLast() and colors.length to be each on one line.
So it should be like
do
{
colors.removeLast();
}
while(colors.length > 0);
Any suggestions on how I can make that happen ? Which settings do i need to change ?

Increase line length. The function call is being placed on the new line as the line cannot be longer than 20 (or so) symbols. Increasing this value will prevent IntelliJ IDEA to find ways to fit the text. See the difference: