-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Add .mill
extension to Scala language highlighting
#7028
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow the details for adding an extension in the CONTRIBUTING.md file.
Please also use and fill in the PR template; it's there for a reason.
Got it! Will follow the instructions and report back when we have >200 results in the wild |
Need to make sure everything works and dogfood it a bit before 0.12.0-RC1 This converts Mill over to the `build.mill` file extension. We also break up `build.mill` into per-folder `package.mill` files: `scalalib/package.mill`, `main/package.mill`, etc. IntelliJ users would need go to `Settings` / `Editor` / `File Types` / `Scala` and add `*.mill`. Github syntax highlighting doesn't work, which is expected for now until github-linguist/linguist#7028 lands (which will need to wait for some usage in the wild according to Github's syntax highlighting policy)
Hi! It's been a while since we adopted the new extension, and the |
I have also completed the checklist, added the search URL in the PR description, and added a sample file together with it's license |
The Mill Scala build tool recently moved its file format extension from
.sc
to.mill
(com-lihaoyi/mill#3426) to better differentiate it from other Scala scripts (Ammonite, Scala-CLI, IntelliJ/VSCode worksheets). This updates Linguist to understand that.mill
files should be highlighted as ScalaDescription
Checklist:
I am adding a new extension to a language.
I am adding a new language.
#RRGGBB
I am fixing a misclassified language
I am changing the source of a syntax highlighting grammar
I am updating a grammar submodule
I am adding new or changing current functionality
I am changing the color associated with a language