Change:
const filesExcludeByRoot = Array.isArray(filesExclude) ? filesExclude : []; const excludesExpression: IExpression = Array.isArray(filesExclude) ? getEmptyExpression() : filesExclude; <ins> for (const { expression } of filesExcludeByRoot) { for (const pattern of Object.keys(expression)) { if (!pattern.endsWith('/**')) { // Append `/**` to pattern to match a parent folder #103631 expression[`${strings.rtrim(pattern, '/')}/**`] = expression[pattern]; } } } </ins> const negate = filter.startsWith('!'); this.textFilter = { text: (negate ? strings.ltrim(filter, '!') : filter).trim(), negate }; const includeExpression: IExpression = getEmptyExpression();

Discussion:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: --<!-- Use Help Report Issue to prefill these. --- VSCode Version: 1.47.2 OS Version: Windows 10 (2004) Steps to Reproduce: a dotnet project & to a problems pane and check "Hide Excluded Files" and open problems Expected: problems pane not to show problems in generated code in folder. Actual: all problems are still visible under problems pane but as expected not visible in the explorer. ! <!-- Launch with to check. --Does this issue occur when all extensions are disabled?: No, the "problems" are generated by an extension. So cannot reproduce this way. Related issue:
AFAIK the feature in Problems to exclude items uses its own filter, which you must enter in the field to the left of the filter button. I don't think it pays any attention to
This comment suggests that suppose to work: While I can use the Filter on the left, it is separate from "Hide Excluded Files" option. They don't interact.
Deferring to
Clarification with regards to Problems are always visible not only when the file is open in the editor. I opened one in the screenshot just to show the error, but others that aren't open in the editor are still visible in the Problems pane too.
Oh alright, I realized I misunderstood so that is why I deleted my comment. I apologize for any confusion. Lemme see if I can figure something out today
Hi upon further investigation it appears that this feature uses a different list. I believe that it goes off of this list found in settings. But I do also acknowledge . could you maybe give me some input here? Maybe it can use both the global setting and the option together? <img width="981" alt="Screen Shot 2020-08-07 at 10 13 42 AM" src="https://user-"
this also happens with php language server. is there a of some sort, like has? I have to disable altogether because doesn't stop vscode to fill Problems pane.

I wasn't able to reproduce this issue when I tested just now on 1.52.1. Problems reported on a file whose name matched a glob in disappeared from the panel when I selected the "Hide Excluded Files" filter. They reappeared when I deselected that filter option, or when I removed or disabled the entry. If the problem still exists for you please provide simple repro steps.
Very much appreciated for validating the issue again. Please provide exact steps to repro.
Hey I did a repro on a clean machine and I know exactly what the issue is now. It has to do with how glob pattern is applied in the problems pane. If you apply it on folder like this - it does not work for problems pane, but works in explorer view. If you apply it on all files inside the folder - it works for problems pane and explorer view. I was able to reproduce this behaviour in typescript solution too, so was a red herring. !
Thanks for the repro. Will investigate in February.
Pushed a PR with a possible fix