Open Strongbeard opened 3 years ago
You can download the language server binary (e.g. from GitHub Releases) anywhere you like, then point the setting kotlin.languageServer.path
to it.
Similarly you can download and install the debug adapter from the kotlin-debug-adapter
repo.
Motivation
I work with an offline system that I want to use this extension on. Since there is no direct internet connection, the current version (0.2.23) fails to download the Kotlin language server and debug adapter from Github. No further instruction is provided on how to manually find and install these two dependencies after the error message displays and none is provided in the README.md file.
It would improve the user experience if the extension somehow instructed the user (maybe in the error messages or through a pop-up) on how to manually obtain and install these dependencies when this situation occurs.
Calling out these dependencies and their manual installation process in the README.md file would also help limit the number of transfers over the air-gap.
Description
Alternatives considered
Just providing the instruction in the README.md would still be a major improvement for the situation that would not require any code changes.