-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot specify relative paths #5
Comments
OK, I've had a look and identified what I believe is the cause of the defect: In util.ts, the configPath entry from settings.json explicitly expands ${workspaceFolder} (et al), while the executablePath entry is just read as text. I'll try out some changes locally then do a PR if you're OK with that. |
Thanks for the report @ps-bond, a pull request would be greatly appreciated! |
No problem; I've made the changes, just need to test them first. |
Tested & in use on my system; seems to do what I wanted it to. |
Running via ssh (installed on ssh):
Specifying "uncrustify.executablePath.linux": "${workspaceFolder}/uncrustify/uncrustify" results in an error ENOENT, while
"uncrustify.executablePath.linux": "/home/user/workspace/uncrustify/uncrustify" functions as expected.
(NB the config var uncrustify.configPath.linux does appear to accept ${workspaceFolder} )
The text was updated successfully, but these errors were encountered: