Open plwalsh opened 4 years ago
My guess if that relative paths are handled differently in those two cases; this extension wasn't made with relative paths in mind regarding the Uncrustify executable path
You are correct; that fixed it. I was hoping it that setting would take a relative path from the root of my workspace since I was adding the setting to my "workspace settings". We use a specific version of the uncrustify executable for this particular project, simply because it was the first one we got a working configuration for, and haven't updated since. I could see this as a reasonable use case for adding support for relative executable paths, based on the workspace.
Thanks for the help!
I'm having trouble getting the Uncrustify extension to work when using the VSCode Remote SSH environment.
My current setup is as follows:
The uncrustify extension is installed both locally and remotely, but VSCode reports (as expected) the following when I hover over your extension in my list:
When working directly on the remote machine, with its local instance of VSCode and the Uncrustify extension, everything works just fine when I format a document, and I see the following output:
But when working from the Windows machine using the VSCode Remote Development environment, the formatting fails with a popup that says,
and the following output:
My uncrustify settings are configured for the workspace exactly the same in both cases:
And a final note, I'm currently compiling the uncrustify executable, on the RHEL7 remote machine, from the v0.66.1 source tarball.
Any help would be greatly appreciated, as your extension has greatly improved my workflow.