script.sc, suggestions should work fine? :o
script.scin an empty directory Metals will assume that you have an ammonite script and will prompt you to import it
fallbackScalaVersionin your settings
// ammonite <version>
2021.06.28 11:49:22 INFO Started: Metals version 0.10.4 in workspace '/Users/zsszilagyi/Repos/...' for client Visual Studio Code 1.57.1. 2021.06.28 11:49:24 INFO time: initialize in 1.94s 2021.06.28 11:49:24 WARN Build server is not auto-connectable. 2021.06.28 11:49:24 WARN no build target for: /Users/zsszilagyi/Repos/.../prod-to-stg.sc 2021.06.28 11:49:29 INFO no build target: using presentation compiler with only scala-library: 2.12.14 2021.06.28 11:49:30 INFO time: code lens generation in 6.31s 2021.06.28 11:49:47 INFO tracing is disabled for protocol BSP, to enable tracing of incoming and outgoing JSON messages create an empty file at /Users/zsszilagyi/Library/Caches/org.scalameta.metals/bsp.trace.json 2021.06.28 11:49:48 INFO Ammonite: Starting BSP server 2021.06.28 11:49:48 INFO Connected to Ammonite Build server v2.3.8-58-aa8b2ab1 2021.06.28 11:50:03 INFO time: indexed workspace in 5.64s 2021.06.28 11:50:03 INFO compiling .../credentials.sc 2021.06.28 11:50:05 INFO time: compiled credentials.sc in 1.98s 2021.06.28 11:50:05 INFO compiling .../repositories.sc 2021.06.28 11:50:06 INFO time: compiled repositories.sc in 1.56s 2021.06.28 11:50:30 ERROR code navigation does not work for the file '/Users/zsszilagyi/Repos/.../prod-to-stg.sc' because the SemanticDB compiler plugin is not enabled for the build target prod-to-stg.sc.