richterger / Perl-LanguageServer

Language Server for Perl
Other
220 stars 53 forks source link

Server connection errors on Windows 10 + VSCode #114

Open tullisar opened 2 years ago

tullisar commented 2 years ago

I'm having difficulties getting the language server to start under VSCode. I'm not sure how else to troubleshoot at this point. It's possible it may be aggressive antivirus on my corp. laptop, but I wanted to drop my specs/log file just in case there's something I'm missing. The local firewall log (and the antivirus logs) don't show any activity that were blocked though.

Specs:

Log: perl-ext.log

I've scrubbed the paths in the log file, but I did leave the path separators as they are just in case there's anything going on there. I'm not sure how to tell which integrated terminal VScode is actually using to launch the language server. However, I've set the automation shell in my settings to the windows command prompt (since I use an MSYS2 bash shell for most other work).

"terminal.integrated.automationShell.windows": "Command Prompt"

I might switch to running it out of a local linux VM, but was curious to see if this was something I could resolve.

sumanstats commented 2 years ago

As far as I know Perl Language server does not work on Windows due to issues with Perl. For details check these issues:

https://github.com/richterger/Perl-LanguageServer/issues/41 https://github.com/richterger/Perl-LanguageServer/issues/52

May be we need to make core perl devs aware about these issues with Perl.