kirides / vscode-daedalus

A Visual Studio Code extension for the scripting language daedalus used by the games Gothic and Gothic II. It uses my DaedalusLanguageServer implementation at https://github.com/Kirides/DaedalusLanguageServer
MIT License
13 stars 3 forks source link

Daedalus Language Server client: couldn't create connection to server. #14

Open pagi111 opened 1 month ago

pagi111 commented 1 month ago

I installed fresh Visual Studio Code, then installed this extension by clicking on the install button here: https://marketplace.visualstudio.com/items?itemName=marcinbar.vscode-daedalus&ssr=false#overview . Then I open _work\Data\Scripts\Content\ folder and then any of the .d files. And I get the following error: [Error - 9:32:30 AM] Daedalus Language Server client: couldn't create connection to server. Launching server using command c:\Users\Marcin.vscode\extensions\marcinbar.vscode-daedalus-0.0.24\languageserver\DaedalusLanguageServer.exe failed. Error: spawn c:\Users\Marcin.vscode\extensions\marcinbar.vscode-daedalus-0.0.24\languageserver\DaedalusLanguageServer.exe ENOENT

pagi111 commented 1 month ago

Ok, so I found the solution: I had to download https://github.com/kirides/DaedalusLanguageServer and extract the files to C:\Users\USER_NAME.vscode\extensions\marcinbar.vscode-daedalus-0.0.24\languageserver. If that's a necessary step, though, I think it should be mentioned in the Readme.

kirides commented 1 month ago

I think it should not be, as the extension you found in the marketplace is not from here.

The only official releases are the GitHub releases currently. For the language server and the vscode-extension.