Open jaguart opened 4 months ago
Hmmm - I note this error in the output too - perhaps not all is well with the WSL installation:
LS: ERROR: Unknown perlmethod _rpcnot_setTraceNotification at /usr/local/share/perl/5.36.0/Perl/LanguageServer.pm line 224.
Hmmm - but this https://github.com/richterger/Perl-LanguageServer/issues/71 says this is not important... 🤷🏻
Currently the LanguageServer detects Perl files by looking at the extension. So files without extensions are not parsed. I would be necessary to open such files and try to find out if they are Perl files.
Newbie, so apologies if I've missed something. Environment: Windows 11 VSCode client, Debian WSL server - all appears to be working fine.
Our Perl scripts do NOT have a .pl extension.
I have
"perl.fileFilter": [""]
in settings.jsonI see
LS: initial parsing done, loaded 44 files, parsed files, 44 files
and wonder about the number of parsed files being blank?This screenshot shows a tiny script, the LS output and an empty Outline - I would have expected to see the
sub foo
in the Outline:So I think the LS has an issue with files without an extn?