Closed x-user closed 6 months ago
You can use the VSCode variable ${pathSeparator}
{
"phpSniffer.executablesFolder": "tools${pathSeparator}phpcs${pathSeparator}vendor${pathSeparator}bin"
}
You can use the VSCode variable
${pathSeparator}
{ "phpSniffer.executablesFolder": "tools${pathSeparator}phpcs${pathSeparator}vendor${pathSeparator}bin" }
{
"phpSniffer.executablesFolder": "tools${/}phpcs${/}vendor${/}bin"
}
I forgot about this long time ago, thank you for reminder. I didn't know if path separator variable existed when i created this issue, but now it even have this short alias ${/}
, closing.
Describe the bug Setting executablesFolder with unix path separator doesn't work on windows.
To Reproduce
Expected behavior For the executables path setting to work without modification.
Environment
Extension settings
Additional context Error message
While platform specific settings isn't implemented in VSCode there two possible solutions: