I have some bad news regarding the LSP plugin on Windows - I was able to install geany-plugins from some older installer I had but I did run in the following problems when launching the LSP server using gsubprocess:

  1. I was getting "Failed to execute child process" - after searching for the problem, I found https://discourse.gnome.org/t/g-subprocess-new-behavior-on-windows/22189 which suggested to copy gspawn-win64-helper.exe and gspawn-win64-helper-console.exe under bin which I did from the glib msys2 package.
  2. After that, the server process started, but in a separate console window and it seems that the server process uses the console's stdin/stdout. I need to be able to read/write from/to the server using stdin/stdout using G_SUBPROCESS_FLAGS_STDIN_PIPE | G_SUBPROCESS_FLAGS_STDOUT_PIPE parameters of gsubprocess but I'm not even sure if these are supported because the unit tests don't test them on Windows.

So it's a question whether the LSP plugin will be available on Windows.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/4082/2506202670@github.com>