You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plugin fails with "com.redhat.devtools.lsp4ij.server.CannotStartProcessException" for Dhall LSP #513
com.redhat.devtools.lsp4ij.server.CannotStartProcessException: java.io.IOException: Cannot run program "": error=2, No such file or directory
at com.redhat.devtools.lsp4ij.server.ProcessStreamConnectionProvider.start(ProcessStreamConnectionProvider.java:68)
at com.redhat.devtools.lsp4ij.LanguageServerWrapper.lambda$start$0(LanguageServerWrapper.java:231)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
My configuration
Any advice how to fix that? Sorry if I'm making some silly mistake with configuration, I'm new to using this plugin and LSP in general
After few tries I discovered that I had whitespace on the beginning of the command string 🤦 so it's my fault
but maybe would be good idea to automatically strip whitespaces in the command box :) just an suggestion
After few tries I discovered that I had whitespace on the beginning of the command string 🤦 so it's my fault
but maybe would be good idea to automatically strip whitespaces in the command box :) just an suggestion
Wow it is an horrible problem!
Thanks for your feedback. We indeed fix that.
Thanks for help!
You are welcome and hope you will enjoy with LSP4IJ
Activity
angelozerr commentedon Sep 6, 2024
Could you please export your language server configuration (see https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserDefinedLanguageServer.md#exporting-templates) and attach the generated zip to this issue.
jakub-borusewicz commentedon Sep 6, 2024
@angelozerr done
angelozerr commentedon Sep 6, 2024
Sorry I don't see your zip?
jakub-borusewicz commentedon Sep 6, 2024
Attached it to original post at the bottom, here you have it also:
lsp4ij-export20240906.zip
angelozerr commentedon Sep 6, 2024
I have:
and it is working:
I can confirm that you have a problem with your command:
sh -cbefore your commandjakub-borusewicz commentedon Sep 6, 2024
After few tries I discovered that I had whitespace on the beginning of the command string 🤦 so it's my fault
but maybe would be good idea to automatically strip whitespaces in the command box :) just an suggestion
Thanks for help!
angelozerr commentedon Sep 6, 2024
Wow it is an horrible problem!
Thanks for your feedback. We indeed fix that.
You are welcome and hope you will enjoy with LSP4IJ
fix: trim spaces for user defined ls command.
fix: trim spaces for user defined ls command.
angelozerr commentedon Sep 6, 2024
@jakub-borusewicz I have fixed your issue with spaces in #515
You can install nightly-builds to have this fix or wait for Monday because we will create the 0.5.0 release.