fwcd / vscode-kotlin

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

Kotlin Windows 11 VSCode language server and debugger fail to install #123

Closed FullValueRider closed 1 year ago

FullValueRider commented 1 year ago

Hi

I'm a novice amateur programmer wishing to try Kotlin. I have VSCode installed and working well with nim and Typescript. When I tried to add your Kotlin extension I get two errors...

Could not update/download Kotlin Language Server: Error: ENOENT: no such file or directory, stat 'c:\Users\redacted\AppData\Roaming\Code\User\globalStorage\fwcd.kotlin\langServerInstall\server'

Could not update/download Kotlin Debug Adapter: Error: ENOENT: no such file or directory, stat 'c:\Users\redacted\AppData\Roaming\Code\User\globalStorage\fwcd.kotlin\debugAdapterInstall\adapter'

ould you please advise on what I need to add to remove these errors.

I am using WIndows 11 and have installed gradle (version 8.1).

FullValueRider commented 1 year ago

Sorted

When I looked for the two directories above they did not exist. but the directories above contained zip files. I extracted the zip files to get the server and adaptor directories, but had to move them both up one level to be under langServerInstall and debugAdaptorinstall respectively.

fwcd commented 1 year ago

Ah thanks for reporting this, I could reproduce this on macOS too. There were some recent changes in the way the installation and updating works and this must have been something I've missed.

fwcd commented 1 year ago

The next extension release should be out soon and fix the issue.