Nik Kashi
Nik Kashi

Reputation: 4606

Add Scala 3.0 SDK to IntelliJ

Currently, the dotty compiler released its first Release Candidate and will be released in the next few months. I updated the IntelliJ scala plugin to EarlyAccess to make it working with Scala 3.0, its problem with syntax highlighting resolved, but still, it has a problem with IntelliSense, suggestions are only scala 2.13 API and it has no idea for Scala 3.0 API and it makes hard to develop. I tried to add the Scala 3.0 SDK manually, but it does not accept it(as the compiler jar file name in the new version changed).

enter image description here

Is there any possibility to add Scala 3.0 SDK to IntelliJ?

Upvotes: 13

Views: 2461

Answers (1)

Daenyth
Daenyth

Reputation: 37461

Update to one of the 2022 EAP versions of IntelliJ and the EAP version of the scala plugin. Once that's done, loading a scala3 project from build.sbt works out of the box

Upvotes: 1

Related Questions