This results in (IMHO) tidier output. Previously, we'd add blank lines between any statements within a body that took up multiple lines. The new algorithm is based on groups — imports are grouped, variables are grouped, and statements that require multiple lines are put in their own group. We also start a new group if we encounter a statement with leading comments.
This results in (IMHO) tidier output. Previously, we'd add blank lines between any statements within a body that took up multiple lines. The new algorithm is based on groups — imports are grouped, variables are grouped, and statements that require multiple lines are put in their own group. We also start a new group if we encounter a statement with leading comments.