Perl-LanguageServer icon indicating copy to clipboard operation
Perl-LanguageServer copied to clipboard

Parser does not support relative/nested ignoreDirs

Open Arnatious opened this issue 2 months ago • 1 comments

    "perl.ignoreDirs": [
        ".vscode",
        ".git",
        ".svn",
        "test/TMP",
    ],

won't work as expected for the tree

.
└── lib
└── test
    └── TMP
        └── etc

https://github.com/richterger/Perl-LanguageServer/blob/6e43563335fa5effef9e227312317cd6179107b7/lib/Perl/LanguageServer/Parser.pm#L541

$d in the above will only ever be the name of the the directory under question, in this case "TMP", instead of a absolute or relative path, which won't match. Can this be changed to support absolute/relative paths (and maybe globbing), or have the limitations documented in the tooltip in vscode?

Arnatious avatar May 31 '24 23:05 Arnatious