trying to get vscode metals to import ammonite script results in the following:
ammrunner.CoursierError: Error fetching Ammonite 2.3.8-4-88785969 for scala 2.12.13
...
Caused by: coursierapi.error.SimpleResolutionError$1: Error downloading com.lihaoyi:ammonite-repl-api_2.12.13:2.3.8-4-88785969
any idea why such an old version of ammonite is required?
offline := true
or possibly into the global sbt settings as Global / offline := true
- I haven't tried that though
java 3124174 siddhant 101u IPv4 1390651908 0t0 TCP localhost:42869 (LISTEN) <---------- Listening
java 3124174 siddhant 107u IPv4 1390656144 0t0 TCP localhost:33290->localhost:8212 (ESTABLISHED)
java 3124174 siddhant 120u IPv4 1390669649 0t0 TCP localhost:33626->localhost:8212 (ESTABLISHED)
java 3124174 siddhant 121u IPv4 1390673042 0t0 TCP localhost:33630->localhost:8212 (ESTABLISHED)
Hi, I am trying to implement the decoration protocol with sublime so I added the following to the initializationOptions
"decorationProvider": true,
"inlineDecorationProvider": true
and enabled "-Dmetals.show-inferred-type=true"
but for a simple example like
object Hello extends App {
val l = List(1, 2, 3)
}
the client keeps receiving empty options meaning metals/publishDecorations: {'options': [], 'uri': 'file:///...'}
Is there any other settings / flags I need to set so that for a simple example the client would receive actually some DecorationOptions
?
decorationProvider
enabled for that. then you can see the most basic ones come. As far as I know, -Dmetals.show-inferred-type=true
will do nothing
InitializationOptions
instead.
UserConfiguration
, not InitializationOptions