avlrna
Last Updated: February 25, 2016
·
2.6K
· jameswu629
0 u ug0hby9zdu0qhgrasl0 6tnvv71lhgmzzg0 bawkay2tcccqyali1hsrslkg3asamprxjlc44j

emacs + ENSIME for your scala coding

After trying TextMate, Eclipse, IntelliJ IDEA and Sublime, finally I decide to use emacs to be my final (maybe?!) editor. Although TextMate is the fastest & gorgeous one but unfortunately it's still weak in scala bundle.

I haven't used emacs since I left Yahoo! TW (2 years+), but there seems a magic between my fingers that I can perform most complex key bindings even I have forgot them, maybe it's a subliminal... :p

Add sbt plugin in your Plugins.sbt

addSbtPlugin("org.ensime" % "ensime-sbt-cmd" % "0.1.1")

Generate your project file

Run ./sbt ensime generate, it will generate your ensime project file.

Open emacs & connect to ensime

M-x ensime and specify the .ensime file you generated, it may takes a moment for loading.

Check user manual and familiar with what you need in your daily coding...

Command Reference

alt text

Say Thanks
Respond

3 Responses
Add your response

12678
35bd4c153de79ba272de5624ebc6cd1b

I perfer company-mode/sbt-mode/scala-mode2 while I am using an low-end machine.
Ensime does really eat a lot of memory.

over 1 year ago ·
12975
0 u ug0hby9zdu0qhgrasl0 6tnvv71lhgmzzg0 bawkay2tcccqyali1hsrslkg3asamprxjlc44j

Agree :p

over 1 year ago ·
19191
None

Are you still using it? I can't get the auto completion to work. Your screenshot looks really good.

What are you using to display line numbers, tabs for file names and the green light?

over 1 year ago ·