trim
in https://github.com/jvican/snailgun/blob/master/core/src/main/scala/snailgun/protocol/Protocol.scala#L193 ?
"/Users/work/src/PROJECT_ROOT/.bloop/common/build/classes"
Unfortunately, that directory doesn't exist. I'm assuming it should so that coc-metals can get completion info. Any ideas?
2020.05.28 11:50:38 INFO compiling common (239 java sources) 2020.05.28 11:50:38 INFO time: compiled common in 78ms
bloop run <project>
and in my main I have val action = StdIn.readLine()
. I type things and press 'Enter' but it is not received by my app. It works okay with sbt run
but as I already have everything compiled and ready to run it would be awesome to be able to get this working
...../.bloop/PROJECT_NAME/build/classes
, in reality the class file location is slightly different - depending on the client you use (e.g. CLI, Metals). You should see class files under ...../bloop/PROJECT_NAME/build/bloop-XXXX-classes
or similar.bloop clean
then bloop compile PROJECT_NAME
to see it compile from scratch.(239 java sources)
so I'm assuming this is a Java project? While Bloop will compile and run java projects, Metals does not support Java files scalameta/metals-feature-requests#5 - you won't get any code completion on them. Vote on the issue if you need that.
@jvican I found that runing bloopInstall
in maven workspaces will always generate:
"platform" : {
"name" : "jvm",
"config" : {
"home" : "/usr/lib/jvm/java-11-openjdk",
"options" : [
]
},
"mainClass" : [
],
"classpath" : [
],
"resources" : [
]
},
which cause bloop run
to fail since it doesn't have scala library on the classpath
[]
Hello
I'm trying to setup bloop to work with a Play + Scala project on a MacOS computer. The command sbt bloopInstall gives me this output:
[error] Not a valid command: bloopInstall
[error] Not a valid project ID: bloopInstall
[error] Expected ':'
[error] Not a valid key: bloopInstall
[error] bloopInstall
Thanks so much in advance
i'm getting a NoSuchMethodError
when running bloop console
, which seems to have happened before: https://gitter.im/scalacenter/bloop?at=5e41e38055b6b04bf6a4873a
Any ideas @jvican, if you can recall?