fwcd

Results 260 comments of fwcd

Hm, I think the issue is that `scoop` creates shim scripts instead of symlinking directly to the compiler, which makes it hard for us to find the compiler (without hardcoding...

I think you'd want to modify `findAlternativeLibraryLocation`

Hm yeah, this is a tricky one. Haskell's language server solves this by [letting the user place an `hie.yaml` in the project root](https://github.com/haskell/hie-bios#explicit-configuration) to specify the preferred build tool, perhaps...

Kotlin/Native isn't really supported yet (see #11), but if you wish to use the language server anyway, you can now use ```kotlin { "kotlin.diagnostics.enabled": false } ``` in your settings...

I have gated code generation behind the `kotlin.codegen.enabled` option for now, to avoid spamming users with exceptions. This unfortunately also means that Java interop will require setting this option, but...

The Kotlin Web Demo might be a good resource for Kotlin JS support: https://github.com/JetBrains/kotlin-web-demo/tree/master/versions/1.2.71/src/main/java/org/jetbrains/webdemo/kotlin/impl

The upcoming Wasm support in `kotlin-compiler-server` might be interesting: - https://github.com/JetBrains/kotlin-compiler-server/commit/2d87c39775f0c66e7a025f63cff29006089980f8 - https://github.com/JetBrains/kotlin-compiler-server/pull/681

The build script currently searches for Java 11 by default, but you can override this by passing a custom version (which is also what [the CI build does](https://github.com/fwcd/kotlin-language-server/blob/394c6a3b898235e4568ef4c6483a0fda9bab8be5/.github/workflows/build.yml#L27C14-L27C65)), e.g. for...

I agree, the current solution is not optimal and we should either query the build system (ideal) or at least the `.gitignore` as a heuristic on which files to exclude....

This test repeatedly triggered the issue: https://github.com/fwcd/kotlin-language-server/blob/a18cd788a23738812a09ff1a42ddfc4f2eaf284f/server/src/test/kotlin/org/javacs/kt/HoverTest.kt#L56-L57 Therefore it might be a good starting point to investigate this.