File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 2753
2753
"when" : " go.hasProfiles"
2754
2754
}
2755
2755
]
2756
- }
2756
+ },
2757
+ "customEditors" : [
2758
+ {
2759
+ "viewType" : " vulncheck.view" ,
2760
+ "displayName" : " Vulnerability Report" ,
2761
+ "selector" : [
2762
+ {
2763
+ "filenamePattern" : " *.vulncheck.json"
2764
+ }
2765
+ ]
2766
+ }
2767
+ ]
2757
2768
}
2758
2769
}
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ import extensionAPI from './extensionAPI';
64
64
import { GoTestExplorer , isVscodeTestingAPIAvailable } from './goTest/explore' ;
65
65
import { killRunningPprof } from './goTest/profile' ;
66
66
import { GoExplorerProvider } from './goExplorer' ;
67
- import { VulncheckProvider } from './goVulncheck' ;
67
+ import { VulncheckProvider , VulncheckResultViewProvider } from './goVulncheck' ;
68
68
69
69
import { GoExtensionContext } from './context' ;
70
70
import * as commands from './commands' ;
@@ -170,6 +170,7 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<ExtensionA
170
170
171
171
GoExplorerProvider . setup ( ctx ) ;
172
172
VulncheckProvider . setup ( ctx , goCtx ) ;
173
+ VulncheckResultViewProvider . register ( ctx ) ;
173
174
174
175
registerCommand ( 'go.test.generate.package' , goGenerateTests . generateTestCurrentPackage ) ;
175
176
registerCommand ( 'go.test.generate.file' , goGenerateTests . generateTestCurrentFile ) ;
You can’t perform that action at this time.
0 commit comments