kotlin-language-server
kotlin-language-server copied to clipboard
Crash on windows
Resolving classpath fails on Windows on the following line https://github.com/fwcd/kotlin-language-server/blob/80fc538635beff0b36ade6f955cd7b552c5e3a9f/shared/src/main/resources/projectClassPathFinder.gradle#L24
With the error character to be escaped is missing
This can be traced to the File.separator being \ on Windows.
I'm not very familiar with Java strings, but I was able to resolve the issue by hardcoding \\\\ (!) instead of File.separator