I ran sbt ensimeConfig, it created .ensime file and .ensime_cache directory.
It seems to me that everything is just fine (correct me if I am wrong)
However nothing happens in my VSCode (no code completion, errors, etc.). When I want to use it "actively" (e.g. jump to definition or something) then my CPU spins up to maximum and ~95% of it is a some java process.
I can see that there is an ensime-langserver.log in my project root. There are a few errors:
[2017-10-24 14:32:59,060] ERROR akka.dispatch.Dispatcher - Cannot open local storage '/home/path/to/my/project/.ensime_cache/graph-2.0.4' with mode=rw
DB name="graph-2.0.4"
Do you have any idea what is the problem and how can I fix this?
Thanks
OK now... I have changed scalaLanguageServer.heapSize to 4G and after some time of "noisy CPU fans", it seems to work. Didn't consider simple GraphQL API server that large...
Hey,
I have this installed with VSCode 1.17.2 on ArchLinux 64.
My ensime:
I ran
sbt ensimeConfig
, it created.ensime
file and.ensime_cache
directory. It seems to me that everything is just fine (correct me if I am wrong)However nothing happens in my VSCode (no code completion, errors, etc.). When I want to use it "actively" (e.g. jump to definition or something) then my CPU spins up to maximum and ~95% of it is a some
java
process.I can see that there is an
ensime-langserver.log
in my project root. There are a few errors:and
Do you have any idea what is the problem and how can I fix this? Thanks