You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spaces in .editorconfig's ij_kotlin_imports_layout should not matter. E.g. this:
ij_kotlin_imports_layout = *,^
Should behave in the exact same way as this:
ij_kotlin_imports_layout = *, ^
Observed Behavior
ktlint seems to stop parsing the line at the first whitespace. With ij_kotlin_imports_layout = *, ^, I get the same results as ij_kotlin_imports_layout = *. Note that IntelliJ properly supports whitespaces.
Expected Behavior
Spaces in
.editorconfig
'sij_kotlin_imports_layout
should not matter. E.g. this:Should behave in the exact same way as this:
Observed Behavior
ktlint seems to stop parsing the line at the first whitespace. With
ij_kotlin_imports_layout = *, ^
, I get the same results asij_kotlin_imports_layout = *
. Note that IntelliJ properly supports whitespaces.Steps to Reproduce
.editorconfig
, and reformat it:ktlint -F
on a file with an import alias. Notice the ordering is now incorrect.Your Environment
The text was updated successfully, but these errors were encountered: