-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interpolated string might be splitted #2501
Comments
@dos65 why is your expectation that a line exceeding p.s. https://scalameta.org/scalafmt/docs/configuration.html#newlinesavoidforsimpleoverflow |
@kitbellew because it's close to literals in their nature. Also, I think it might confuse people. I was surprised that this compiles 😄 |
i don't think we should change the default behaviour, but do check out that parameter, it will probably do what you want. if it does, we should probably close this issue. |
@dos65 вадим, я пока закрою, но если параметр |
Я тут случайно проверил -
Как-то не красиво выходит. |
забавно... по дефолту нет, но #3080 было вчера. |
шик, тогда все ок! |
Version: 2.7.5 / 3.0.0-RC1
Existing code:
After fmt:
Expectation
No splits
Notes:
It seems that splits produced only if it has at least two arguments and
f(>>token.pos<<)
column position is greater thanmaxColumn
The text was updated successfully, but these errors were encountered: