Skip to content

dcsobral/sublime-ensime

Repository files navigation

Sublime Ensime

This project provides an integration with ensime and Sublime Text Editor 2. Sublime as an outstanding API so it should be possible to get all of ensime's features in Sublime Text Editor 2.

What's working?

The plugin is able to communicate with an ensime server and it should also be able to do reformat source. For some reason it seems that the java server doesn't get killed when you close the sublime application. There is NO support yet for the subprojects in an .ensime file.

  • Reformat source
  • Organize imports
  • highlighting syntax errors, shows message in status bar
  • Type inspection, needs a delay and cancellable queue currently accessible via context menu

How to install?

In your sublime text Packages dir.

git clone git://github.com/casualjim/sublime-ensime.git Ensime
cd Ensime
./install-ensime-server

and (re)start sublime text editor.
Once you're in a project that has a .ensime file in the root folder, you can start a server from the file context menu. Or run:

window.run_command("ensime_server", { "start": True})

What's planned?

To implement all the features of ensime.

Wishlist?

I'd like to use the information we get back from ensime to provide semantic highlighting.

About

This project is an integration of Sublime Text Editor 2 with Ensime for Scala development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published