I'm pretty new to ENSIME. I'm trying to do incremantal compilation within Emacs by compiling single file one-by-one with SBT . Let's say I have a file a.scala
that imports a class in file b.scala
. If I try to compile only a.scala
using C-c C-b C
it obviously complains as b.scala
has not been compiled. If I try to compile b.scala
still using C-c C-b C
it correctly compiles, but after that I still cannot compile a.scala
.
I tried using the same procedure of compiling b.scala
and a.scala
using IntelliJ and it works fine. What am I missing?