Plugin calls ucm on Windows instead of ./ucm
bytesource opened this issue · comments
Hi,
When opening a folder containing ucm
with this plugin, a terminal opens inside VS Code running this code:
// Plugin just calls ucm
on Windows, which fails:
ucm
bash: ucm: command not found
However, on Windows, I need to run ucm
like this:
// This is what I did
./ucm
Now starting the Unison Codebase Manager (UCM)...
Is there a way to adapt the startup process, so that ./ucm
is called on Windows?
Hi, yes I believe you can set the ucmCommand
parameter in your language server settings to anything you like. It should appear in the VS Code settings for the unison
LSP 😄
Alternatively I believe you could add your ucm executable to your Path.
Let me know if that doesn't work for you :)
Now everything is working perfectly. Thanks for pointing me to this setting!