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
Ah, it looks like the doc examples regressed in 93996d1 based on 0dfea6b which disabled aligning when it lead to lines that would be too long, so I guess the examples need to be adapted to specify a longer max column.
smarter
changed the title
Is align.tokens broken?
Doc examples involving align.tokens are not working as expected (due to overflowing maxColumn?)
Dec 6, 2023
Configuration (required)
Command-line parameters (required)
None
Steps
https://scalameta.org/scalafmt/docs/configuration.html#alignpreset has examples involving
code = "%"
as well ascode = ":"
, but the formatted output displayed in the doc for these examples does not actually align on these tokens, for example:So it seems scalafmt isn't behaving as expected here?
The text was updated successfully, but these errors were encountered: