Hi, I am using the workspace feature in visual studio code. My normal setup in the workspace is my extension, the addons to the extension and the CMS they are running in.

Now I have false positive of PHP0437 due to template file which are using the $this statement. Which is correct at those spaces.
It would be great if I could disable PHP0437 for a wildcard like tmpl/**
Is that possible?

Second it seems that is not possible to exclude a workspace folder in complete from the problem scope?

    svanschu Hello,

    Yes, you can use "php.problems.exclude" setting (described in more detail at https://docs.devsense.com/vscode/problems/suppressing-diagnostics/#phpproblemsexclude )

    "php.problems.exclude" : {
        "tmpl" : [437]
    }
    Write a Reply...