Skip to content

chore: make metals believe scala-library-bootstrapped is a scala 3 project #23568

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

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

hamzaremmal
Copy link
Member

If we don't set explicitly the scala version, sbt will default to 2.12 which will be then used by metals, even when we actually override the scalaInstance when bootstrapping. In this PR, we actually make sure that the stdlib bootstrapped uses a Scala 3 version so that metals won't confuse it with a scala 2.12 project.

Screenshot 2025-07-18 at 20 45 30

@hamzaremmal hamzaremmal merged commit 42fdd76 into scala:main Jul 18, 2025
31 checks passed
@hamzaremmal hamzaremmal deleted the view-as-scala3 branch July 18, 2025 23:55
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