Updated formatting to keep assignments on same line if possible and to not fold parameters if they are short enough.