3

Do I need to generate the .ensime directory again with sbt gen-ensime when adding a new dependency to an sbt project?

Michiel Borkent
  • 34,228
  • 15
  • 86
  • 149

1 Answers1

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