metals-vscode: Installation instructions not working

Hi, I tried to install Metals in VS Code on MacOS. Versions: Metals 0.1.0 VS Code 1.25.1 MAC OS 10.14.2 locally installed Scala is 2.12.1

I followed the instructions on the website verbatim, and Metals does not work!

After installing Metals, I opened an existing sbt / scala project, opened several scala files and there was no “Import project” option anywhere. Furthermore, the metals.log file consisted of:

Jan 09, 2019 1:21:54 PM org.xnio.Xnio <clinit>
INFO: XNIO version 3.6.5.Final
Jan 09, 2019 1:21:54 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.6.5.Final
Jan 09, 2019 1:21:54 PM org.jboss.threads.Version <clinit>
INFO: JBoss Threads version 2.3.0.Beta2
INFO  Started Metals http server at http://127.0.0.1:5032
INFO  shutting down Metals

Which appears to offer no help in understanding why it does not work. Is your project broken, or are the instructions wrong? Regards, Alan

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Hi Guys, Fantastic feedback and help, much appreciated.
I have upgraded VS Code, (1.30.2), installed the latest Metals. At first, there was an error (inside VS Code) as it seems Metals picked up some random (old) version of the JDK, and not the version pointed at by $JAVA_HOME. When I set this up manually in the Metals (Workspace) settings, it did allow me to import a project. Thanks again for your prompt replies. 😃