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" ;
3
2
import type { WebviewPanelConfig } from "../common/vscode/abstract-webview" ;
4
3
import { AbstractWebview } from "../common/vscode/abstract-webview" ;
5
4
import {
@@ -48,23 +47,6 @@ export class VariantAnalysisView
48
47
manager . registerView ( this ) ;
49
48
50
49
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
- }
68
50
}
69
51
70
52
private async updateUserSettings ( ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments