Arthur McGibbon
Arthur McGibbon
As well as... ``` val f: Query[String ~ Int, Country] = sql""" SELECT name, population FROM country WHERE name LIKE $varchar AND population < $int4 """.query(country) ``` it would be...
## Compiler version 3.1.3 and 3.2.0-RC1 on Scastie ## Minimized code ```Scala object A { class Builder[K, V](creator: K => V) { def build(k: K): V = creator(k) } case...
This is yet another way of implementing the FileSystemAPI. I found with https://github.com/scalameta/metals/pull/3750 that it was getting too complicated and there were code paths in the MetalsURLConnection that I was...
An experiment in using the VSCode FileSystem API to explore library dependencies Here's an example....  Stuff that works... 1) auto population of libraries on indexing complete 2) file exploring...
### Describe the bug When extending a Java class that has abstract methods that take vararg params, Metals doesn't mark these as override methods (i.e. there is no goto parent...
Currently there is support for JUnit 4 testing in Bloop and SBT by including `"com.novocode" % "junit-interface" % "0.11"` This library will run JUnit 5 tests only if they are...
Bloop v1.4.1 gives an error when installing on Windows using Scoop... ``` Exception in thread "main" coursier.error.ResolutionError$CantDownloadModule: Error downloading C:\Users\ArthurM\scoop\apps\bloop\1.4.1:latest.release not found: C:\Users\ArthurM\.ivy2\local\C\Users\ArthurM\scoop\apps\bloop\1.4.1 not found: https://repo1.maven.org/maven2/C/\Users\ArthurM\scoop\apps\bloop\1.4.1/maven-metadata.xml at coursier.Resolve$.$anonfun$validate$1(Resolve.scala:325) at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:273)...
## Reproduction steps Scala version: 2.13.8 Override `java.nio.file.Path` as follows... ```scala import java.nio.file.Path import java.nio.file.FileSystem import java.net.URI import java.nio.file.LinkOption import java.nio.file.{WatchKey, WatchService} import java.nio.file.WatchEvent.{Kind, Modifier} class FooPath extends Path {...
Linked to https://github.com/scalameta/metals/pull/3750 and https://github.com/scalameta/metals-languageclient/pull/461
`textDocument/didOpen` and `textDocument/didClose` get fired off from VSCode everytime a Metals sends a `textDocument/definition` message for a non-opened file. e.g. Hover over `java.util.LinkedList` and Metals will send a `textDocument/definition` with...