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

Support ${WorkspaceFolder:<folder>} in settings

Open dseynhae opened this issue 4 years ago • 1 comments

I have a workspace where I have multiple folders... Some of those folders are where my libraries are stored.

{
"folders": [
    {
      "path": "/a/b/c/d/e/f/lib1",
    },
    {
      "path": "/q/r/s/t/lib2",
    },
   ],
}

However, in the settings, the syntax is not understood:

{
"settings": [
    {
      "perl.perlInc": [
         "${workspaceFolder:lib1}",
      ]
    },
   ],
}

I need to spell it out:

{
"settings": [
    {
      "perl.perlInc": [
         "/a/b/c/d/e/f/lib1",
      ]
    },
   ],
}

Even if I spell out the name for the workspace folder, it doesn't help:

{
"folders": [
    {
      "name": "lib1",
      "path": "/a/b/c/d/e/f/lib1",
    },
    {
       "name": "lib2",
      "path": "/q/r/s/t/lib2",
    },
   ],
}

dseynhae avatar Sep 03 '20 00:09 dseynhae

re https://github.com/microsoft/vscode/issues/2809

grahamc avatar Apr 01 '21 17:04 grahamc