Skip to content

A extension for the Nova editor to support Scala

Notifications You must be signed in to change notification settings

quelgar/nova-scala

Repository files navigation

Scala provides syntax highlighting and LSP support for the Scala programming language. It uses Metals, the LSP server for Scala.

The syntax highlighting is currently very basic.

Requirements

Metals must be installed, which is usually done using the Coursier CLI:

cs install metals

Usage

This extension should start automatically whenever a .scala or .sc file is edited.

Configuration

To configure global preferences, open Extensions → Extension Library... then select Scala's Preferences tab.

You can also configure preferences on a per-project basis in Project → Project Settings...

There are two preferences that can be set:

  • The path to the metals executable, which defaults to the standard location used by Coursier
  • The path to JDK home, which defaults to the value of the JDK_HOME environment variable, if it is set

Acknowledgements

The extension uses:

About

A extension for the Nova editor to support Scala

Topics

Resources

Stars

Watchers

Forks