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 When Disabled #76

Closed ObliviousHarmony closed 11 months ago

ObliviousHarmony commented 1 year ago

Description

It appears that in certain cases we are enabling the linter even when it isn't enabled. It may not be that there are workers spinning up so much as there are files marked as active. When you make a change it shows the counter until you save the document. If you close the document without saving the changes It leaves the counter behind.

Reproduction Steps

I have no idea! I just played around opening files, opening the file changes, making changes, and then it appears.

Expected Behavior

Files are not linted that don't need to be and the counter accurately reflects workers.

ObliviousHarmony commented 11 months ago

Another odd but potentially related issue is that I found a case in Jetpack where the status bar shows document processing after making a change but when you save the document it goes away entirely.