Skip to content
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

Basic support for new .mill source files #6752

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lolgab
Copy link
Contributor

@lolgab lolgab commented Sep 3, 2024

Mill is migrating from the .sc suffix to .mill to distinguish its files from ammonite and scala-cli script files.
.sc will be still supported in a migration period

PR which introduced the new suffix: com-lihaoyi/mill#3426

Mill is migrating from the `.sc` suffix to `.mill` to distinguish its files from
ammonite and scala-cli script files.
`.sc` will be still supported in a migration period
@@ -17,6 +17,16 @@ class CompletionMillIvySuite extends BaseCompletionSuite {
filename = "build.sc"
)

check(
"source",
"""|val dependency = ivy"io.cir@@"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a lot of places where we check if something is a scala file:

@tgodzik
Copy link
Contributor

tgodzik commented Sep 4, 2024

We might also need to update the Scala syntax extension and Metals vs code extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants