IDE-like features for Scala in Visual Studio Code - powered by scalavista-server
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
test
.eslintrc.json
.gitignore
.vscodeignore
CHANGELOG.md
LICENSE
README.md
demo2.gif
extension.js
jsconfig.json
package-lock.json
package.json
scala-spiral.png

README.md

vscode-scalavista

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;
  • Auto-completion;
  • 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.

Prerequisites

Install

  • Install this extension from the Marketplace.

Usage

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.

Disclaimer

This project is in alpha stage and should be considered unstable.