-
|
It seems scalafmt tries to adhere to the max column by breaking up a long string line like below: I don't want it to do that. However, in other scenarios, I still want scalafmt to adhere to the max column settinng. I can't seem to find a setting to prevent this. I wonder if scalafmt supports this. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
I think the only thing you could do currently is: or breakup those strings yourself since maxColumn doesn't make much sense if you actually only want it in some cases. |
Beta Was this translation helpful? Give feedback.
-
|
use https://scalameta.org/scalafmt/docs/configuration.html#newlinesininterpolation |
Beta Was this translation helpful? Give feedback.
use https://scalameta.org/scalafmt/docs/configuration.html#newlinesininterpolation