Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Small Visual BasicNew to Visual Studio Code? Get it now.
Small Visual Basic

Small Visual Basic

sjsepan

|
1,791 installs
| (0) | Free
Support for Small Visual Basic (sVB)(a derivative of Microsoft's Small Basic) in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Small Visual Basic (sVB) for VS Code

This Visual Studio Code extension is a fork of @alxnull's extension supporting Microsoft's Small Basic language; it instead supports Small Visual Basic (sVB), a derivative of Small Basic.

Features

  • Syntax highlighting extended from Small Basic to Small Visual Basic (e.g. ForEach...In, Function...EndFunction, Return, Next, Wend, ExitLoop, ContinueLoop)
  • Code snippets extended from Small Basic to Small Visual Basic (e.g. For ... Next, While...Wend, If...ElseIf..., ForEach...In..., Function..EndFunction)

Installation

From repository

Copy the 'pkg' folder as publishername.extensionname-versionnumber to %USERPROFILE%\.vscode\extensions (on Windows) or ~/.vscode/extensions (on Linux/ Mac) and restart VS Code, or download the .vsix file and choose 'Install from VSIX...' from the app.

Changelog

See the changelog for details.

Issues

-The Folding feature, as inherited from the Microsoft Small Basic extension by @alxnull, did not have a Function/EndFunction pair as Small Visual Basic does, so while folding a Sub hides everything afterward, including the EndSub, folding a Function only hides what is in between. This is because the fall-back and default behavior for text not targeted by the enhanced folding is Indentation-based folding. Since the JSON scheme for the enhanced folding does not allow for multiple target pairs, and since the default folding is adequate, I do not see this as a problem that needs to be addressed. (If anything, I could see removing the enhanced folding for Sub/EndSub, but will not do so unless there is a demand for it.)

Contact

Stephen J Sepan sjsepan@yahoo.com 7-8-2023

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft