fwcd / vscode-kotlin

Kotlin code completion, debugging, linting and more for VSCode
MIT License
298 stars 41 forks source link

Update server if installation is corrupt #130

Closed fwcd closed 1 year ago

fwcd commented 1 year ago

Fixes #119 (hopefully)

Currently, older versions of the extension have the potential to break the language server installation (see https://github.com/fwcd/vscode-kotlin/issues/119#issuecomment-1536713105 and https://github.com/fwcd/vscode-kotlin/issues/119#issuecomment-1567203029 for an explanation). By reinstallating the server whenever a library (JAR) appears twice, even incorrect updates by an older version of the extension should now converge to a valid installation, as long as the VSCode extension is kept up-to-date.