Closed Arthurvdv closed 9 months ago
@Arthurvdv Your regex (((.*)procedure(.*)\((.*)\))([;]$)
) doesn't seem to cover procedures with a return value either
Good catch, that indeed also doesn’t work.
I’m hoping a code action can handle this better than using RegEx for this
Thank you for the idea. I've just released it with version 3.0.54 of the extension.
Awesome, thank you!
I've included this in the documentation of the LinterCop rule with a reference to you VS Code extension.
Started from https://github.com/StefanMaron/BusinessCentral.LinterCop/discussions/352, we've discussed the on Twitter/X here that there should not semicolon at the ending of a procedure.
I've created an RegEx: https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0024, but can't get it to work for multi-line procedures, like below.
So I thought it would be better to ask here 😅