Arthur McGibbon

Results 87 comments of Arthur McGibbon

> That's good to know, so this version should also work if my project uses scala 2.13.x? The plugin version is completely separate from whatever version of scala your project...

@hegyibalint Thanks for replying - no worries on timing. I think the whole Java `Diagnostic` class is a bit bizarre as it reports a range **and** a position in the...

I get this on [ClassLinkMetaData.java](https://github.com/gradle/gradle/blob/master/build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java) I'm struggling to minimize it though. Deleting nearly everything in the file still gives the error. I guess [here](https://github.com/scala/scala3/blob/f4847cca6e10886e4ca3658b81fcf5797fe088d8/compiler/src/dotty/tools/dotc/interactive/InteractiveDriver.scala#L164) `ctxRun.suspendedUnits` is empty? Stacktrace... ``` scala.collection.Iterator$$anon$19.next(Iterator.scala:973)...

Yes. If I start VSCode, Then open that java file. Then start Metals by going to the Metals tab and clicking `Start`. Then click on the file. The error appears....

Also - if I give Metals a dodgy `.bsp/nonWorking.json` file so it can't start a build server then this error happens.

FYI: Gradle 9-rc-1 is out [here](https://docs.gradle.org/9.0.0-rc-1/release-notes.html) The current Gradle-Bloop plugin is not compatible - it will just throw Exceptions... stack trace ```java org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':XXXXX:configureBloopInstall'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:135)...

@tgodzik I'm having a go at changing the name but I'm now wondering something about Bloop If I change all instances of `executableName` in the file `BuildTool.scala` to `uniqueName`, VSCode...

Another benefit of `buildTarget/jvmTestEnvironment` is that non-Scala targets could be included in the request e.g. java only targets. Not that java-only targets couldn't be included in `buildTarget/ScalaTestClasses` I guess but...

A different example using jsoniter... ``` // build.sbt libraryDependencies ++= Seq( "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % "2.33.2", "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % "2.33.2" % "compile-internal" ) ``` ``` // Foo.scala package mypackage...