Do I need to generate the .ensime
directory again with sbt gen-ensime
when adding a new dependency to an sbt project?
Asked
Active
Viewed 153 times
3

Michiel Borkent
- 34,228
- 15
- 86
- 149
-
I always do so. ensime downloads source jars and probably do more job. – ayvango Nov 13 '15 at 22:43
1 Answers
3
Yes, this is required. You also need to restart the ensime server, but that's pretty fast. There is some support in the Emacs client to do this automatically.
You could manually hack the .ensime
file if you don't want to wait for SBT, but then you won't get sources/javadocs.

fommil
- 5,757
- 8
- 41
- 81