1.4.0 • Published 8 years ago

ensime-controller-js v1.4.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
8 years ago

Ensime Controller JS

NPM module that controls the ENSIME server. ENSIME is a cross editor platform for the scala programming language.

API

Constructor

  • new Controller(dotEnsime, ensimeInstallDir, options);

The following methods are available:

  • update(output, callback): (Re)download the newest version of ensime.
  • connect(output, callback): Start ENSIME and connect to it. It will cleanup already running but unmanaged instances of ensime.
  • attach(callback): Try to attach to a currently running ENSIME.
  • status(callback): Request the current status. Fails if not running, else returns a ConnectionInfo.
  • send(req, callback): Send an rpc request to ENSIME.
  • stop(callback): Disconnect and stop ensime.

Parameters:

  • req: Request to ensime (an RpcRequestEnvelope)
  • output: {out: Stream, err: Stream} => Streams that capture the sysout/syserr of the started process (ensime resp. the installer).
  • callback: function(err, result)
1.4.0

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.0.2

8 years ago