We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c19a1df commit 054e6afCopy full SHA for 054e6af
editors/vscode/client/tools/linter.ts
@@ -263,7 +263,9 @@ export default class LinterTool implements ToolInterface {
263
statusBarItemHandler: StatusBarItemHandler,
264
): Promise<void> {
265
this.updateStatusBar(statusBarItemHandler, configService.vsCodeConfig.enable);
266
- await this.toggleClient(configService); // update the client state
+ if (event.affectsConfiguration(`${ConfigService.namespace}.enable`)) {
267
+ await this.toggleClient(configService); // update the client state
268
+ }
269
270
if (this.client === undefined) {
271
return;
0 commit comments