Open jfg118 opened 4 years ago
Apparently the PR has been merged and included with 2.4.0 release, but it still does not work for me.
${workspaceFolder}
is not replaced by the workspace folder in perlInc, the error message still is:
Can't locate xxx.pm in @INC (you may need to install the xxx module) (@INC contains: ${workspaceFolder}/yyy ...) at - line 7.
Confirming: same problem for me.
It would be helpful to be able to use the ${workspaceFolder} variable in the perlCmd.
This would allow easier sharing of workspaces across different sites and users where absolute paths may change, but could be made relative to the workspaceFolder path.
Unfortunately VSCode currently does not support automatic variable expansion for the settings so the extension must specifically handle the expansion.
A possible expansion routine :