Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Mar 3, 2017
1 parent 45df8ec commit 2e4aff3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Make sure you have an existing `.ensime` file before starting code in that direc
tl;dr

```bash
$ sbt publishExtension
$ sbt publishLocal
$ cd scala
$ npm install # only the first time, to download dependencies
$ npm install -g vsce typescript # if you don't have Typescript installed globally
Expand All @@ -46,10 +46,10 @@ The root Sbt project controls all the Scala parts of the build. The client is wr
- ensime-lsp/ implements an Ensime based Scala language server
- scala/ The typescript extension (eventually should migrate to Scala.js)

`ensime-lsp` is what you will want to build most of the times. It's using `assembly` to build a fat jar, so the client can launch it as simply as possible.
`ensime-lsp` is what you will want to build most of the times. It's launched with coursier by the client, for it to be as simply as possible.

You should use `sbt publishExtension` which copies the fat jar into a directory under scala/server, so the client finds it easily.
You should use `sbt publishLocal` which publishes the server under `~/.ivy2/local`, so the client finds it easily.

## Running

You can open code inside the `scala/` directory and use `F5` to debug the extension. This picks up the changes in the server (make sure you copied the fat jar using `sbt publishExtension`!) and allows quick iteration.
You can open code inside the `scala/` directory and use `F5` to debug the extension. This picks up the changes in the server (make sure you published it locally using `sbt publishLocal`!) and allows quick iteration.

0 comments on commit 2e4aff3

Please sign in to comment.