简体   繁体   中英

How to get auto-complete in Scala REPL launched from ensime?

I can get auto-complete in an Ensime buffer containing Scala code but not in the Scala REPL launched from ensime. I wish to have auto-complete work in the Scala REPL launched from ensime. How can I fix this? I am using the following:

  1. Scala 2.9.1
  2. sbt 0.13.5
  3. scala-mode2 from elpa

I also have this for the contents of plugins.sbt:

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

Now, the only other thing I have noticed is that in my .ensime file, it appears to be compiling for scala version 2.10. Note, that I can get auto-complete if I open scala from a terminal.

In summary, how can I get auto-complete from the scala REPL launched from ensime?

I am going to repost CodeKingPlusPlus's own comment on this question:

Apparently this is not a feature of Ensime, I asked on their github.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM