A Visual Studio Code extension that provides basic IDE-like functionality for the Scala language (2.11 and 2.12):
- Show type on hover;
- Show Scaladoc on hover;
- Jump to definition (does not currently work for external dependencies);
- Linting (compiler errors/warnings show up as you type).
Scalavista is not as feature-complete as ENSIME but instead aims to be minimalistic and lightweight.
The VSCode extension is a front-end to the scalavista language-server, which in turn is a thin wrapper around Scala's presentation compiler.
- Install this extension from the Marketplace.
See scalavista-server on how to set up and launch scalavista-server. Once a server is running, the VSCode extension will connect to it upon opening any Scala source file.
This project is in alpha stage and should be considered unstable.