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
When putting a line break in the definition after ::, the list gets ordered and # styler:sort is moved back above the module attribute again. The line break persists.
The text was updated successfully, but these errors were encountered:
rojnwa
changed the title
#styler:sort doesn't work on module attributes with maps/structs# styler:sort doesn't work on module attributes with maps/structs
Feb 7, 2025
thanks for the issue. the problem here is the ::, styler doesn't know what to do with that. happy to take a PR!
novaugust
changed the title
# styler:sort doesn't work on module attributes with maps/structs# styler:sort doesn't sort map keys in typespecs
Feb 7, 2025
Versions
Example Input
Stacktrace / Current Behaviour
When putting a line break in the definition after
::
, the list gets ordered and# styler:sort
is moved back above the module attribute again. The line break persists.Because the comment gets moved, this map won't be sorted afterwards.
The text was updated successfully, but these errors were encountered: