You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've tried using the .vscode/settings.json file, it seems to kinda work? I have a custom perl binary for each package baked-in because we have a complicated build setup with all the library paths. The binary sets its own PATH and PERL5LIB.
I see in the LSP logs that it does pick up the path correctly
Starting perl compilation check with the equivalent of: /local/home/gseddon/local-workplace/REDACTED/build-tools/bin/perl -c -Mwarnings -M-warnings=redefine -I /local/home/gseddon/local-workplace/REDACTED/lib -I /local/home/gseddon/.vscode-server/extensions/bscan.perlnavigator-0.8.15/server/src/perl -MInquisitor ...
However it doesn't use the INC path from that binary more generally. It looks like it's trying to use the system perl. Here's an example error message trying to load Readonly.pm:
The exact same binary works 100% perfectly when specified in the global vscode settings.json. What's the gap to make this work in the local repository settings?
The ability to provide persistent configuration outside of the editor is super helpful
Aligning the format with Perl::LanguageServer would also make changing out from PLS more trivial.
The text was updated successfully, but these errors were encountered: