vscode-spell-checker icon indicating copy to clipboard operation
vscode-spell-checker copied to clipboard

Reporting in VS Code Problems tab does not respect the "Show Active File Only" filter setting in "View as Table"

Open smroels opened this issue 3 months ago • 2 comments

It seems that the "Code Spell Checker" extension has an issue in reporting in the "Problems" tab in the VSCode Panel. Specifically, it will report misspelled words as expected with either "View as Tree" or "View as Table" selected when the issues from all open file are displayed (when the "Show Active File Only" filter setting is off).

However, when "Show Active File Only" filter setting is on, there is inconsistent display/reporting. In View as Tree mode, the displayed misspelled word track with the active file. However, in View as Table mode, the display may initially be limited to the issues in the active file, when a different file is selected, the display will display the previous issues. Toggling to View as Tree mode and back to View as Table will "reset the display to expected findings, but the issue recurs when you change the active file.

This was observed even when all other diagnostic extensions (Python/Pylance, Ruff, SonarQube) were disabled.

It seems to be triggered on the file with the most issues (or when going from a file with more issues to a file with fewer issues).

In the attached images:

With "Show Active File Only" OFF, the 1 issue from file1 and 4 from file 2 are shown as expected.

  • tree_view.active_file_only_off.png
  • tab_view.active_file_only_off.png
Image Image

With "Show Active File Only" ON, after switching from file2 to file1, we still see only the 4 issues from file2.

  • tab_view.file1_active.png
Image

Version: 1.104.1 (Universal) Commit: 0f0d87fa9e96c856c5212fc86db137ac0d783365 Date: 2025-09-17T23:36:24.973Z Electron: 37.3.1 ElectronBuildId: 12404162 Chromium: 138.0.7204.235 Node.js: 22.18.0 V8: 13.8.258.31-electron.0 OS: Darwin arm64 24.6.0

Identifier streetsidesoftware.code-spell-checker Version 4.2.6 Last Updated 2025-09-23, 21:49:48 Size 7.58MB Cache 812B

smroels avatar Sep 24 '25 05:09 smroels

@smroels,

Thank you. I had not realized they introduced view as table in the problems tab. I'll take a look at the settings.

Jason3S avatar Oct 01 '25 15:10 Jason3S

Are you referring to the number shown?

In the image below, the current file only has 1 issue, but other files have 12, so the combined number is 13.

Image

I think this is a VS Code issue, not a spell checker issue. If there are code bugs in other files, it does the same thing.

Jason3S avatar Oct 01 '25 15:10 Jason3S