An Ensime-based Scala Language Server
This extension installs an Ensime-based Scala language server. At the moment, the following features are supported:
If you find this useful, please file tickets and contribute fixes. I'm working on this in my spare time and fix those issues that prevent me from using it, but I can't guarantee more than that.
If you can't contribute your time but would like to donate, please donate to the Ensime project instead. This plugin delegates to Ensime for most of its features.
This extension is based on Ensime, so you need to create an Ensime configuration file before you can use it. This file lists source directories, classpath entries and compiler arguments. If you have an Sbt project simply add the sbt-ensime plugin and follow the guide (other build tools are supported). Then just run
If you already started Code, it should detect that a new
Setting the JDK
The path to the Java Development Kit is searched in the following order:
If VSCode is running behind a proxy add the following standard VSCode proxy settings (File -> Preferences -> Settings):
This setting is translated as Coursier's vm arguments: -Dhttp.proxyHost=host -Dhttps.proxyHost=host -Dhttp.proxyPort=port -Dhttps.proxyPort=port.
Language server setttings:
These settings are passed to the Language Server affecting the log level on the server, with possible values "DEBUG", "ERROR", "INFO", "WARN". The heap size used by the Scala language server, for example