question

EJMak-8226 avatar image
0 Votes"
EJMak-8226 asked RidzDev-9090 answered

Small Basic & syntax highlighting in Visual Studio Code

Hello! I'm a teacher, and I'm playing around with Small Basic. I love the built-in IDE, but I'd also like to use Visual Studio Code with it from time-to-time. However, I don't see a extension in the Marketplace that provides any sort of syntax highlighting, auto-completion, etc. Does such a thing exist anywhere? If not, how hard would it be to create one?

small-basic
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

So I will help to remove this vs-extensions tag and remain the small-basic-general tag, but for Visual Studio Code technical support, I suggest you ask questions on Stack Overflow tagged with visual studio code or in our GitHub repository.


1 Vote 1 ·

@TianyuSun-MSFT : Thanks for the suggestion! FYI, I tried relaying my question to Stack Overflow, but, unfortunately, it was unfairly flagged as asking for recommendation and a duplicate. It was neither, IMO, but the moderators won't budge. So, anyway, I still haven't gotten an answer yet. If you have suggestions for other forums, please LMK. If anyone wants to comment or up-vote my Stack Overflow question, it can be found here: https://stackoverflow.com/questions/66335404/small-basic-syntax-highlighting-in-visual-studio-code

0 Votes 0 ·

They likely don't know what to do with Small Basic related questions like that. So you're in the right place here. See Scout's answer and my reply.

0 Votes 0 ·

And the small-basic-general tag is for questions about the MS Small Basic programming language.

1 Vote 1 ·

Hello @EJMak-8226 , welcome to Microsoft Q&A forum. I noticed that you added the vs-extensions tag, it seems you want to work with Visual Studio Code? As you know, Visual Studio Code and Visual Studio are two different products of Microsoft, the vs-extensions tag in Microsoft Q&A forum is related to Visual Studio.


0 Votes 0 ·
Scout-1150 avatar image
1 Vote"
Scout-1150 answered EdPrice-MSFT edited

I found the extension SBLang in VisualStudioCode. But I don't know whether this refers to the Small Basic programming language.
At least the syntax highlighting seems to be working.
I did not investigate the extension further because I am not familiar with VisualStudioCode and am very satisfied with the IDE Small Basic Prime.

79875-extension-sblang.png



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

alxnull-5383 avatar image
1 Vote"
alxnull-5383 answered alxnull-5383 commented

Hi! I also didn't find any existing extension for Small Basic in the VS Code marketplace (the SBLang doesn't seem to be related to Small Basic). So I started to work on a new extension for Small Basic:

The (currently very simple) extension supports syntax highlighing and simple code snippets. I'll maybe also look into some more advanced features in the future.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


Good work!
Now the methods also have their own color.
Installing the Small Basic Extension in Visual Studio Code works without any problems.

95982-extension-small-basic-v001.png


1 Vote 1 ·

Awesome, thank you so much @NonkiTakahashi!

0 Votes 0 ·
RidzDev-9090 avatar image
0 Votes"
RidzDev-9090 answered

Hi, well can anyone tell me the steps to install Small Basic++ ide ?? I am very confused

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.