I am developing a WordPress Web Site using a Linux VM and Visual Studio Code via SSH as a development environment.

It seems that the analysis includes the .vscode-server folder (specifically the edit history), which results in irrelevant problems and Code Lense references / overrides.

The following exclude settings help as they unclutter the Explorer view and the Problems view, but does not resolve the issue with the irrelevant Code Lense information:

    "files.exclude": {
        ".vscode-server/**": true
    },
    "php.problems.exclude": {
        "vendor/": true,
        ".vscode-server/": true
    }

How do I remove the ,.vscode-server folders completely from all analysis?

mark thank you for reporting that!

The settings you have should work (I'll take a look on that), but we will also start ignoring .vscode-server by default; there is no point we should index this folder.

    Just fixed the case, when the excluded file gets opened in the editor and closed - IntelliSense falsely remembered that file even it was excluded.

      Thanks for the reply.
      You state that it is solved, but what does that mean? I have the latest version installed (1.51.16099) and this is the version where I noticed the issue. I'm interested in how this works as I'm considering the purchase of one more licenses for my company.

        Write a Reply...