Hi, I have been using this extension for a few years now, and I like it a lot! It makes coding in assembly a much less tedious process, and being able to jump to a symbol by ctrl-clicking it is just wonderful to have.
However, I have a few gripes with it that I would like to see remedied or fixed entirely, so I am going to make a series of pull requests, this one being the first!
This is the one that frustrates me the most:
Better indentation support. I like to indent my code like you would in a traditional programming language. RGBDS fully supports this, but this extension gives me a lot of pushback, unfortunately.
Problems this aims to fix:
Symbol documentation is currently not supported, if the documentation is indented. I do not see why it shouldn't be possible to have indented documentation for indented labels, so I have changed the regular expression used for matching comments, to include possible whitespace at the beginning of the line.
Indented macro definitions were not supported either. Same problem as the above, RGBDS supports it, so why not.
The auto-decrease-indent pattern. I get what this is supposed to do, but this should either be opt-in behavior, or disabled entirely, as it does not work for indented codestyles. Whenever I create a new label, be it local or not, the definition always jumps back to the start of the line. This forces me to manually re-indent it, which is extremely frustrating. Therefore, I have removed this.
Hi, I have been using this extension for a few years now, and I like it a lot! It makes coding in assembly a much less tedious process, and being able to jump to a symbol by ctrl-clicking it is just wonderful to have. However, I have a few gripes with it that I would like to see remedied or fixed entirely, so I am going to make a series of pull requests, this one being the first!
This is the one that frustrates me the most: Better indentation support. I like to indent my code like you would in a traditional programming language. RGBDS fully supports this, but this extension gives me a lot of pushback, unfortunately.
Problems this aims to fix: