Can't get SemanticDB to work for amm scripts #4126
Unanswered
CherryWorm
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Ammonite will use a default version of Scala unless it's specified in the file itself. You should be able to add:
but unfortunately Ammonite runner is still not supported for Scala 3, it's stuck on the PR alexarchambault/ammonite-runner#127 If you want to work with Scala 3 I recommend using ScalaCLI https://scala-cli.virtuslab.org/ or staying with ammonite for Scala 2 As for semanticdb, it should get compiled properly for the file, but if you send us a sample we can check it out. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a clean directory, creating an empty
test.sc
file and importing it with the latest stable version of metals in vs code (v1.18.0, metals version 0.11.7), Metals Doctor will show that the Scala version of the target is 2.13.7 (even though I explicitly set the fallback Scala version to 3.1.1) and SemanticDB is not available.Anyone have a pointer on how I can get Ammonite scripts to work properly?
Beta Was this translation helpful? Give feedback.
All reactions