remy / vscode-nextbasic

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

Feature Request - Renumbering #2

Closed Andy1966uk closed 4 years ago

Andy1966uk commented 4 years ago

Would it be possible to consider adding a renumbering facility ?

remy commented 4 years ago

I've been working on one already. I've got renumbering working at a basic level, but I really want to be able to relocate code, so take lines 100-120 and relocate it to line 20 and it would push down all the lines from 20 onwards to make space - whilst maintaining goto numbers correctly (!)

Andy1966uk commented 4 years ago

1.33 seems to be broke. Was just on 1.32, updated to 1.33 and I get the error nextbasic.run can't be found

Andy1966uk commented 4 years ago

Sorry 1.33 still broke, but tried to close renumbering case which was working in 1.32...

remy commented 4 years ago

Sod, I'll fix it - thanks for the heads up

remy commented 4 years ago

Just to confirm - is this the single line shift renumbering or the full document renumber?

Andy1966uk commented 4 years ago

it's the Nextbasic.run that has the issue, the renumbering you implemented in the 1.32 was fine... I just tried to close the request related to that.... the run issue is really what i wanted to highlight... renumbering also appears bust in 1,33 again, command not found error

Andy1966uk commented 4 years ago

In summary it all worked in 1.32, now it can;t find the commands, error..

remy commented 4 years ago

Fix inbound - 1.3.4 should be available in a couple of minutes.

Andy1966uk commented 4 years ago

cheers, sorry for the confusion. I was trying to report the one issue and close the original feature request for renumbering.... all your tools are key to my project :) thx

remy commented 4 years ago

No problem - I've just switched to using #autoline in my code, and in trying to add compatibility I hosed the entire plugin 😆 your report caught that 👍

Andy1966uk commented 4 years ago

All works now, thanks :)