remy / vscode-nextbasic

VS Code tools for NextBASIC
https://marketplace.visualstudio.com/items?itemName=remysharp.nextbasic
8 stars 2 forks source link

Toggling line comment leaves extra space if using semi-colon #24

Closed Guddler closed 3 years ago

Guddler commented 3 years ago

As title really. If you have the default of 'REM' set them commenting a line and then uncommenting is fine. If you instead change it to semi-colon then when you comment '; ' is inserted but toggling again removes only the semi-colon, leaving the spurious space behind. Repeating this 10 times will result in 10 new spaces at the start of the line (I know, you wouldn't really do that!).

remy commented 3 years ago

Damn, yeah, spotted that myself.

I'll sort that out, it was annoying me but figured until someone reported it, I'd live with it. Now I'll fix it 😊

remy commented 3 years ago

That's fixed and live in the latest version of the extension. Default behaviour for vscode is to auto-update, so you should have the fix now or shortly.

Thanks again.