BrianGarland / vscode-rpgfree

Visual Studio Code extension to convert fixed format RPGLE to free format
MIT License
18 stars 11 forks source link

H - basic isSub/wasSub logic #66

Closed DavidShears closed 11 months ago

DavidShears commented 1 year ago

Related to BrianGarland/vscode-rpgfree#43

If last character of the line is a continuation (+/-) then set isSub and don't output a semi-colon at end of line. If previous line was a Sub then don't output Ctl-Opt at the start of the line.

Tested with additional H specs before/after the example provided in issue 43 without any problems.