• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

atom-sbt-client

sbt server support for Atom IDE
  • #build
  • #scala
  • #sbt
  • #ide
  • #language-server
laughedelic
0.2.0 1,021
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Atom sbt client

This is an Atom plugin integrating sbt server with the Atom IDE interface.

It connects to a running sbt instance and communicates with it using Language Server Protocol. Atom sends event notifications to sbt (like didSave), in response sbt recompiles the project and sends back information about warnings and errors which are displayed in Atom:

Installation

You can install it using Atom interface or by running this command:

apm install atom-sbt-client

On the first launch it will automatically install its dependencies if needed:

  • language-scala for basic Scala syntax highlighting
  • atom-ide-ui for the Atom IDE interface

Usage

  1. Go to a Scala project and launch sbt (project/build.properties should set sbt version to 1.1.0 or higher)
  2. Open this project in Atom, open any Scala file and save it.

It should trigger compilation and if there are any errors, you should see them in the gutter and in the diagnostics panel.

Another feature is jump-to-definition, which works for some types in the project.

Note that despite the debug logging in the sbt shell, you can still use it directly. It's just a normal sbt shell which additionally communicates with Atom.

Related links

  • sbt server support in other editors:
    • VS Code
    • Sublime Text 3
    • Neovim
  • atom-ide-scala is a similar plugin integrating Atom IDE UI with the metals language server

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by