Hello,
we activated "SortVariables" in codeActionsOnSave and and noticed a strange behavior:
When saving, the variables are automatically sorted. But in addition, several line breaks are inserted into the variable declaration:
IsA, IsB, IsC: Boolean;
IsD: Boolean;
is changed into:
IsA,
IsB,
IsC: Boolean;
IsD: Boolean;
In addition we noticed: if we add IsD to the declaration above (IsA, IsB, IsC, IsD: Boolean) then no line break is added during the saving process.
If we disable the automatic code action and perform the code action manually, the variable declaration will not be split into multiple lines.
Hello,
we activated "SortVariables" in codeActionsOnSave and and noticed a strange behavior:
When saving, the variables are automatically sorted. But in addition, several line breaks are inserted into the variable declaration:
is changed into:
In addition we noticed: if we add IsD to the declaration above (
IsA, IsB, IsC, IsD: Boolean) then no line break is added during the saving process.If we disable the automatic code action and perform the code action manually, the variable declaration will not be split into multiple lines.