@@ -341,12 +341,15 @@ export class FortranLintingProvider {
341
341
// Discard the previous diagnostic state for this document
342
342
if ( this . fortranDiagnostics . has ( document . uri ) ) this . fortranDiagnostics . delete ( document . uri ) ;
343
343
this . logger . debug ( '[lint] No linting diagnostics to show' ) ;
344
+ console . log ( '[lint] No linting diagnostics to show' ) ;
344
345
return ;
345
346
}
346
347
let diagnostics : vscode . Diagnostic [ ] = this . linter . parse ( output ) ;
348
+ console . log ( '[lint] Parsing output to vscode.Diagnostics' , diagnostics ) ;
347
349
this . logger . debug ( '[lint] Parsing output to vscode.Diagnostics' , diagnostics ) ;
348
350
// Remove duplicates from the diagnostics array
349
351
diagnostics = [ ...new Map ( diagnostics . map ( v => [ JSON . stringify ( v ) , v ] ) ) . values ( ) ] ;
352
+ console . log ( '[lint] Removing duplicates. vscode.Diagnostics are now:' , diagnostics ) ;
350
353
this . logger . debug ( '[lint] Removing duplicates. vscode.Diagnostics are now:' , diagnostics ) ;
351
354
this . fortranDiagnostics . set ( document . uri , diagnostics ) ;
352
355
return diagnostics ;
@@ -377,6 +380,8 @@ export class FortranLintingProvider {
377
380
`[build.single] compiler: "${ this . settings . compiler } " located in: "${ command } "`
378
381
) ;
379
382
this . logger . info ( `[build.single] Compiler query command line: ${ command } ${ argList . join ( ' ' ) } ` ) ;
383
+ console . log ( `[build.single] compiler: "${ this . settings . compiler } " located in: "${ command } "` ) ;
384
+ console . log ( `[build.single] Compiler query command line: ${ command } ${ argList . join ( ' ' ) } ` ) ;
380
385
381
386
try {
382
387
const fypp = await this . getFyppProcess ( document ) ;
@@ -392,6 +397,7 @@ export class FortranLintingProvider {
392
397
) ;
393
398
const output : string = stdout + stderr ;
394
399
this . logger . debug ( `[build.single] Compiler output:\n${ output } ` ) ;
400
+ console . log ( `[build.single] Compiler output:\n${ output } ` ) ;
395
401
return output ;
396
402
} catch ( err ) {
397
403
this . logger . error ( `[build.single] Compiler error:` , err ) ;
0 commit comments