IDE support for Dotty

Dotty comes built-in with the Dotty Language Server, an implementation of the Language Server Protocol, which means that any editor that implements the LSP can be used as a Dotty IDE. Currently, the only IDE we officially support is Visual Studio Code.

Prerequisites

To use this in your own Scala project, you must first get it to compile with Dotty, please follow the instructions at https://github.com/lampepfl/dotty-example-project

Usage

  1. Install Visual Studio Code.
  2. Make sure code, the binary for Visual Studio Code, is on your $PATH, this is the case if you can start the IDE by running code in a terminal. This is the default on all systems except Mac where you'll need to follow these instructions: https://code.visualstudio.com/docs/setup/mac#_command-line
  3. In your project, run:
sbt launchIDE

Status

Fully supported features:

Partially working features:

Unimplemented features:

Current limitations, to be fixed:

Feedback

Please report issues on https://github.com/lampepfl/dotty/issues, you can also come chat with use on the Dotty gitter channel!