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

IDEA setup does not work for Scala 3.1 and 3.2 #2109

Closed
informarte opened this issue Nov 8, 2022 · 2 comments · Fixed by #2111
Closed

IDEA setup does not work for Scala 3.1 and 3.2 #2109

informarte opened this issue Nov 8, 2022 · 2 comments · Fixed by #2111
Milestone

Comments

@informarte
Copy link

./mill mill.scalalib.GenIdea/idea

does not work properly when the project uses Scala 3.1 or 3.2: IDEA will think that the project uses Scala 2.

For Scala 3.2, the problem can be worked around by adding

<language-level>Scala_3_2</language-level>

to the properties section of .idea/libraries/scala3_library_3_3_2_0_jar.xml.

@lefou
Copy link
Member

lefou commented Nov 8, 2022

Strange, language level for Scala 3.1 should work since Mill 0.10.4 (#1856)

Newer versions should work after #2111 is merged.

@informarte
Copy link
Author

Regarding Scala 3.1, it seems I looked at an older version of GenIdeaImpl.scala.

@lefou lefou linked a pull request Nov 9, 2022 that will close this issue
@lefou lefou added this to the 0.10.9 milestone Nov 9, 2022
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 a pull request may close this issue.

2 participants