VBA and VB6 language extension for VS Code. Also powers syntax highlighting on GitHub.
65
stars
191
commits
VBA
primary language
Sep 1, 2026
updated
We power the syntax highlighting on GitHub for VBA and VB6!
For technical details about the languages and grammars, see the docs.
Available snippets (all languages):
IfElseIfElseSubFunctionBy default, .bas, .cls and .frm files open as VBA.
To treat them as VB6 instead, add a .vscode/settings.json to your project:
{
"files.associations": {
"*.bas": "vb6",
"*.cls": "vb6",
"*.frm": "vb6"
}
}
Your help is highly appreciated!
This project is actively maintained:
For advanced features like a VBA language server, try SSlinky/VBA-LanguageServer.
Source code, grammars and snippets: Mozilla Public License (MPL-2.0).
Extension icon: CC-BY-4.0, courtesy of the GitHub Explore authors.
VBA
78.7%
TypeScript
15.6%
JavaScript
5.7%
VBA and VB6 language extension for VS Code. Also powers syntax highlighting on GitHub.
65
stars
191
commits
VBA
primary language
Sep 1, 2026
updated
We power the syntax highlighting on GitHub for VBA and VB6!
For technical details about the languages and grammars, see the docs.
Available snippets (all languages):
IfElseIfElseSubFunctionBy default, .bas, .cls and .frm files open as VBA.
To treat them as VB6 instead, add a .vscode/settings.json to your project:
{
"files.associations": {
"*.bas": "vb6",
"*.cls": "vb6",
"*.frm": "vb6"
}
}
Your help is highly appreciated!
This project is actively maintained:
For advanced features like a VBA language server, try SSlinky/VBA-LanguageServer.
Source code, grammars and snippets: Mozilla Public License (MPL-2.0).
Extension icon: CC-BY-4.0, courtesy of the GitHub Explore authors.
VBA
78.7%
TypeScript
15.6%
JavaScript
5.7%