Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed-Format Nesting #2193

Open
TheLittlePeace opened this issue Jul 23, 2024 · 0 comments
Open

Fixed-Format Nesting #2193

TheLittlePeace opened this issue Jul 23, 2024 · 0 comments
Labels
idea Feature suggestion

Comments

@TheLittlePeace
Copy link

Is your feature request related to a problem? Please describe.
I'm attempting to make the switch from RDi to VSCode, but one feature that RDi has that I use constantly with our legacy code is the nesting view (ctrl-shift-O) for fixed-format RPGLE code. This was brought up in this discussion thread and seems to have died since.

Describe the solution you'd like
It would be great to be able to have either

  1. When you have your cursor over an IF or other nest-able statement, it highlights the matching ELSE and ENDIF, similar to how brackets can be highlighted with their match
  2. (preferred) have the same outline arrows that RDi has, which can show multiple nest levels.

Describe alternatives you've considered
Obviously the "correct" way to handle it is to convert the code to free and use tabbing, but in many scenarios that isn't feasible and slight overkill when all you want to do is determine when something happens.
The old way of doing this was to manually put numbers in columns 1 thru 5 to give some form of visual, but once again that feels unnecessary.

Additional context
How it looks in RDi:
RDi_Nesting

@TheLittlePeace TheLittlePeace added the idea Feature suggestion label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Feature suggestion
Projects
None yet
Development

No branches or pull requests

1 participant