-
Notifications
You must be signed in to change notification settings - Fork 276
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
Default dialect for Scala version specific directory #2882
Comments
And also, sbt now adds scala-2 (epoch directory) source folder by default. sbt/sbt#5919
|
and when you dialect-specific directories, which dialect should be used for the usual |
i think it's inconvenient. painful was when there was no on your request, can you suggest a way? since scalafmt doesn't know which build system is used, it can't really tell which modules are being built, and whether
|
That's right. "Painful" was inappropriate in this context 😅
Ah, sorry, I did not consider how scalafmt interacts with build system.
I imagine that
I think the top-level
Ah, it is good question. |
and what should we do if the directory structure is
ok, and if you have both if you have many cross-built projects, quite simple to copy-paste once... |
As a maintainer for several cross-built libraries , it is painful to configure dialect explicitly for Scala version specific source directories like below:
It would be helpful if scalafmt assume dialect for each version specific directories automatically.
The text was updated successfully, but these errors were encountered: