VSCode Filter Problems tab for currently opened file only

VSCode v.1.23 added the ability to filter the Problems panel by files, see problems view filtering in the release notes.

So you can include (or exclude via the usual glob negation !) only a certain file by entering its name (you may need only a part of it). The filtering is done only within opened tabs however. So you cannot get the entire workspace's problems listed when only some of its files are opened.


The ability to filter the problems panel by the current file has been added to the Insider's Build just recently (@mid-November 2019) so should be in the November 2019 update.. See https://github.com/microsoft/vscode/issues/30038 and https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_41.md#problems-panel

More predefined filters are added to the Problems panel. You can now filter problems by type and also see problems scoped to the current active file.


demo of filter problems by current file.