Skip to content

aloiscochard/woods

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Woods

Minimal Scala LSP server that use sbt behind the scene.

Support:

Sbt needs to be configured the following:

For diagnostics, you need the sbt's server: autoStartServer := true and for definitions/references, you need some generated semanticdb files:

addCompilerPlugin("org.scalameta" % "semanticdb-scalac" % "4.1.0" cross CrossVersion.full)
scalacOptions += "-Yrangepos"

You can have a look the example used for testing

Install on Nix

In your system configuration add this (replace the hash commit and sha256):

woods = pkgs.haskellPackages.callPackage (builtins.fetchTarball {
  url = "https://github.com/tdroxler/woods/archive/191e7ad4793637fe1cbe35e9bee375a6de459cb6.tar.gz";
  sha256 = "1fjivqqiq5yfrpngfnmm4xk3ik9jxgnvn8dp2j6hymh81vdqqk4b";
}) {};

You can get the sha256 value with nix-prefetch-url --unpack URL

And then you can use woods in your nix configuration as any packages:

environment.systemPackages = [ woods ];

This will build on the unstable channel. Stable has not been tested.

About

Minimal Scala LSP server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 94.1%
  • Nix 4.2%
  • Scala 1.7%