remy/vscode-nextbasic

Command 'nextbasic.run' not found

MightyAxle opened this issue · 3 comments

Hi

I am having problems running a simple program like :

10 PRINT"HELLO WORLD"
20 GOTO 10

When the program is compiled via Visual Studio Code using NextBASIC it returns with an error (command 'nextbasic.run' not found)

I'm running everything on a PC and have the correct paths and arguments setup in the extensions settings whilst using NextBASIC 1.7.1

I had tried everything on two other Laptops using Windows 10 and I get the same results.

Any advice would be great!

Many thanks.

remy commented

Hi there - you caught me at christmas so I was off the machine.

Out of the gate it sounds like there's some serious problems. Can I ask first to a fullscreen screenshot and share it here so I can see what you see?

I'm specifically looking to see if the language has been enabled as per this:

Screenshot 2020-12-27 at 20 15 01

Thank you for getting back to me.

Suddenly, as I changed the Language and checked all the settings again, including the one 'settings.json', everything worked! 😊

I wouldn't have thought to check the Language setting.

Thank you for your time.

Many thanks.

image

remy commented

Ah, that explains it. The commands are language specific, so if you're not in NextBASIC language, vscode doesn't try to load or run the NextBASIC commands.

Glad it's sorted though.