-
Notifications
You must be signed in to change notification settings - Fork 39
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
navigator fails to find modules in lib/perl5/x86_64-linux/ #69
Comments
Using a wrapper for Perl as follows and perltidy now works but there is no navigation support - no definitions:
language server log shows:
|
Hi @Deracination, perhaps you can try adding the full path of the perl modules to your includePaths? Something like: "perlnavigator.includePaths": [
"/home/Deracination/local_lib/lib/perl5/x86_64-linux/", In any case, you can usually get more info by manually running the "equivalent of" command shown. The navigator runs something slightly different because it needs to pass the code over stdin (since the file modifications may not be saved yet), but it's close enough. Including
If none of this works, you may need #68, which allows passing arguments to the perl executable. I think many people want that feature for docker, local::lib, WSL, Carton, etc. I just need to finish reviewing it and then push a new release. |
Thanks, I'll watch for the new release |
I have the Mouse.pm and Imager.pm modules installed via local::lib which installs in local_lib/lib/perl5/x86_64-linux/
The navigator reports any modules in x86_64-linux as unknown and needing to be installed.
Configuration is:
The text was updated successfully, but these errors were encountered: