After running any SBT task (e.g. compile
) scalafmt is executed and changes line endings on some computers (most of them use Windows). Is it possible to set line endings in scalafmt.conf or any other way?
Thanks.
After running any SBT task (e.g. compile
) scalafmt is executed and changes line endings on some computers (most of them use Windows). Is it possible to set line endings in scalafmt.conf or any other way?
Thanks.
adding to scalafmt.conf
lineEndings=preserve
solves the problem
docstrings.style = keep
helps keeping the line breaks in documentary comments also. –
Moniz © 2022 - 2024 — McMap. All rights reserved.