ObliviousHarmony / vscode-php-codesniffer

A VS Code extension for integrating PHP_CodeSniffer.
https://marketplace.visualstudio.com/items?itemName=obliviousharmony.vscode-php-codesniffer
Other
40 stars 2 forks source link

Linting disappears, seemingly on lintAction #102

Open JordanPak opened 1 week ago

JordanPak commented 1 week ago

Description

When first opening a workspace, PHP files display lint error hints as expected, per the workspace's phpcs.standard setting. However, as soon as the "lint action" happens, all of the hints in the file disappear until the workspace window is re-loaded again.

I tried looking in the "Output" panel for PHP_Codesniffer, but nothing displayed at any time.

Reproduction Steps

  1. Update to latest version of VS Code (not sure if this is the issue)
  2. Open PHP file with linting errors
  3. Make a change (or save, if Save is the linting action). Lint hints may/should disappear.
  4. Reload the editor. Lint hints should reappear.

Expected Behavior

Lint errors/hints persisting after "action" is fired, without having to reload the window.

Please let me know if there's a general debugging statement I can get from VS Code that'll help here. Thank you!