vscode-rpgle icon indicating copy to clipboard operation
vscode-rpgle copied to clipboard

RPG Lint error on comment

Open m-tyler opened this issue 3 years ago • 2 comments
trafficstars

Is the linter for RPG supposed to mark up comments that match a source item like SUBR name or is this because the lint tool is parsing by token only and then matches on those solo tokens?

image

Adding //@rpglint-skip does prevent this but that makes the code look a little ugly.

m-tyler avatar Sep 26 '22 21:09 m-tyler

It's not. If you wouldn't mind sharing a snippet so I recreate that and create a test case for it, that'd be great.

worksofliam avatar Sep 26 '22 21:09 worksofliam

**FREE Exsr Screen; *INLR = *ON; Return; //----------------------------------------------------------------------- // Screen //----------------------------------------------------------------------- Begsr Screen;

Select; When Dspfinfds.FKey = F05 // Refresh/Reload screen ; Reload = *ON; Endsl;

Endsr;

m-tyler avatar Sep 26 '22 21:09 m-tyler