File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77} from 'vscode' ;
88
99class QuickEvalCodeLensProvider implements CodeLensProvider {
10- // Each provider requires a provideCodeLenses function which will give the various documents
11- // the code lenses
1210 async provideCodeLenses ( document : TextDocument ) : Promise < CodeLens [ ] > {
1311
1412 const codeLenses : CodeLens [ ] = [ ] ;
@@ -24,11 +22,10 @@ class QuickEvalCodeLensProvider implements CodeLensProvider {
2422 textLine . range . start . line , matches . index ! ,
2523 textLine . range . end . line , matches . index ! + 1
2624 ) ;
27- console . log ( range ) ;
2825
2926 const command : Command = {
3027 command : 'codeQL.codeLensQuickEval' ,
31- title : `Quick Evaluation: ${ matches ! [ 1 ] } ` ,
28+ title : `Quick Evaluation: ${ matches [ 1 ] } ` ,
3229 arguments : [ document . uri , range ]
3330 } ;
3431 const codeLens = new CodeLens ( range , command ) ;
You can’t perform that action at this time.
0 commit comments