This package provides syntax highlighting and snippets of VBA.
Based off an import of the
file from the
Sublime Text VBScript
- dim declarations
- sub/function with errHandler
Launch VS Code Quick Open (Ctrl+P), paste the following command, and
ext install vba
Please fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, bugfixes and
integration tests are welcomed and appreciated but will be thoroughly
reviewed and discussed.
You can contact me in the following ways:
I struggled to find how to generate a token after not doing anything
with this project for well over a year:
To get to your token creation, go here:
Create a token:
- Name: vsce
- Organisation: All accessible organizations
- show all scopes, select:
Publish with CLI:
vsce login <publisher name>
# myExtension.vsix generated
# bump version
vsce publish minor # | major | patch
# vsce publish major, minor or patch
vsce publish -p <add created token here>
If you get
ERROR Failed request: (401) see here:
Some good documentation on publishing with the CLI:
20200405 - Added basic If snippet, and changed all snippets to use tabs (for user customisation capability).
20200405 - Multi-line comment capability
20200405 - Added certain keywords e.g. Type, Enum, Implements, Optional, Friend, ... Also changed behavior of some keywords, e.g. "End","Function","Sub" instead of "End Function", "End Sub" etc..
20200405 - Removal of non-vba behavior.
20200714 - [Comment with REM].