File tree Expand file tree Collapse file tree
src/deepcode/lib/analyzer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,15 +33,19 @@ class DeepCodeAnalyzer implements AnalyzerInterface {
3333 public deepcodeReview : vscode . DiagnosticCollection | undefined ;
3434 public analysisResults : IAnalysisResult ;
3535
36+ // Deprecated:
37+ private ignoreActionsProvider : vscode . Disposable | undefined ;
38+ private issueHoverProvider : vscode . Disposable | undefined ;
39+
3640 public constructor ( ) {
3741 this . SEVERITIES = createDeepCodeSeveritiesMap ( ) ;
3842 this . deepcodeReview = vscode . languages . createDiagnosticCollection ( DEEPCODE_NAME ) ;
3943
40- new DisposableCodeActionsProvider ( this . deepcodeReview , {
44+ this . ignoreActionsProvider = new DisposableCodeActionsProvider ( this . deepcodeReview , {
4145 findSuggestion : this . findSuggestion . bind ( this ) ,
4246 trackIgnoreSuggestion : this . trackIgnoreSuggestion . bind ( this ) ,
4347 } ) ;
44- new DisposableHoverProvider ( this . deepcodeReview ) ;
48+ this . issueHoverProvider = new DisposableHoverProvider ( this . deepcodeReview ) ;
4549 }
4650
4751 public activate ( extension : ExtensionInterface ) {
You can’t perform that action at this time.
0 commit comments