Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ensimeConfig creates directories java and scala-2.11, which I don't need

Tags:

scala

sbt

ensime

When I run ensimeConfig, it creates directories such as

src/main/java
src/main/scala-2.11

which I don't need, since I have my sources always inside

src/main/scala

How can I avoid such behaviour?

NOTE: This is the version I'm using: addSbtPlugin("org.ensime" % "sbt-ensime" % "1.12.4")

like image 891
Richard Gomes Avatar asked Dec 10 '16 00:12

Richard Gomes


1 Answers

I found the solution. Create ~/.sbt/0.13/global.sbt like this:

import org.ensime.EnsimeKeys._

ensimeIgnoreMissingDirectories := true
like image 60
Richard Gomes Avatar answered Nov 03 '22 19:11

Richard Gomes