File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
extensions/ql-vscode/src/variant-analysis Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 1- import type { ConfigurationChangeEvent } from "vscode" ;
2- import { ViewColumn , workspace } from "vscode" ;
1+ import { ViewColumn } from "vscode" ;
32import type { WebviewPanelConfig } from "../common/vscode/abstract-webview" ;
43import { AbstractWebview } from "../common/vscode/abstract-webview" ;
54import {
@@ -48,23 +47,6 @@ export class VariantAnalysisView
4847 manager . registerView ( this ) ;
4948
5049 this . dataFlowPathsView = new DataFlowPathsView ( app ) ;
51-
52- // Set up configuration change listener
53- this . push (
54- workspace . onDidChangeConfiguration (
55- this . onConfigurationChanged . bind ( this ) ,
56- ) ,
57- ) ;
58- }
59-
60- /**
61- * Handler for configuration changes
62- */
63- private onConfigurationChanged ( e : ConfigurationChangeEvent ) : void {
64- // Check if the canary setting has changed
65- if ( e . affectsConfiguration ( "codeQL.canary" ) ) {
66- void this . updateUserSettings ( ) ;
67- }
6850 }
6951
7052 private async updateUserSettings ( ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments