serkonda7/vscode-vba

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

marketplace.visualstudio.com/items?itemName=serkonda7.vscode-vba
snippets
syntax-highlighting
vb6
vba
visual-basic
vscode-extension
winwrap-basic

README

VBA Support for VS Code

CI Marketplace Installs Open VSX Installs

✨ Features

We power the syntax highlighting on GitHub for VBA and VB6!

  • Syntax highlighting for
    • VBA
    • VB6
  • Comprehensive snippets
  • Support for some niche BASIC dialects (community maintained):
    • WinWrap Basic (WWB)

For technical details about the languages and grammars, see the docs.

💡 Snippets

Available snippets (all languages):

  • If
  • ElseIf
  • Else
  • Sub
  • Function

📖 Configuration for VB6 projects

By 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"
  }
}

🤝 Contributing

Your help is highly appreciated!

📌 Project Status

This project is actively maintained:

  • ✅ All pull requests are welcome and will be reviewed
  • ✅ Issues and bugs are adressed
  • ⚠️ For now, I won't develop new features by myself

For advanced features like a VBA language server, try SSlinky/VBA-LanguageServer.

📜 License

Source code, grammars and snippets: Mozilla Public License (MPL-2.0).

Extension icon: CC-BY-4.0, courtesy of the GitHub Explore authors.

Contributors

serkonda7

154 commits

DecimalTurn

18 commits

serkonda7/vscode-vba

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

marketplace.visualstudio.com/items?itemName=serkonda7.vscode-vba
snippets
syntax-highlighting
vb6
vba
visual-basic
vscode-extension
winwrap-basic

README

VBA Support for VS Code

CI Marketplace Installs Open VSX Installs

✨ Features

We power the syntax highlighting on GitHub for VBA and VB6!

  • Syntax highlighting for
    • VBA
    • VB6
  • Comprehensive snippets
  • Support for some niche BASIC dialects (community maintained):
    • WinWrap Basic (WWB)

For technical details about the languages and grammars, see the docs.

💡 Snippets

Available snippets (all languages):

  • If
  • ElseIf
  • Else
  • Sub
  • Function

📖 Configuration for VB6 projects

By 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"
  }
}

🤝 Contributing

Your help is highly appreciated!

📌 Project Status

This project is actively maintained:

  • ✅ All pull requests are welcome and will be reviewed
  • ✅ Issues and bugs are adressed
  • ⚠️ For now, I won't develop new features by myself

For advanced features like a VBA language server, try SSlinky/VBA-LanguageServer.

📜 License

Source code, grammars and snippets: Mozilla Public License (MPL-2.0).

Extension icon: CC-BY-4.0, courtesy of the GitHub Explore authors.

Contributors

serkonda7

154 commits

DecimalTurn

18 commits

Languages

VBA

78.7%

TypeScript

15.6%

JavaScript

5.7%