ing-bank/vscode-psl

Reset the line number for each label

mordmckee opened this issue · 2 comments

Suggestion:
Having the option, for each label, have a line number 'reset' in line counter
(in VSCODE left bar that has the line number of the file)

For instance:
1 | Label1
2 |
3 |
1 | Label2
2 |
3 |
4 |
1 | Label3

Currently the VSCode would show 1 to 8 lines on the left bar in this case.

The reason is that this would allow for setting the break points faster, since now i know that i should do, for instance:

zb Label2+3^ROUTINE

I don't like to count lines :)

Nice idea-- definitely see the value here. It is possible but not sure if it can be done in a very performant way. I've played around with it a bit and it can look quite nice:

image

However, the problem is while updating the document: there is noticeable lag while typing. Not sure about the best way to mitigate this just yet.

This would be a sweet feature to have. Maybe something toggle-able? So that you can turn it on when debugging, then turn it off when writing code.