Thanks for your interest in improving vscode-vba!
Report bugs or suggest new features.
Before opening a issue, please first search in open issues to check it is not already reported.
In case your issue already exists, add a reaction and if possible, comment with further information.
Before making bigger changes, please discuss them in an issue.
In general PRs should be kept as small as possible (e.g. one feature/fix per PR). It allows merging them faster with less conflicts and will reduce review time.
- Install the Bait programming language: https://github.com/tiabeast/bait#building-from-source
- Create and clone a fork of https://github.com/serkonda7/vscode-vba
- Run
npm install
inside the cloned directory - Create a new working branch for your changes
TextMate uses Oniguruma regexes which are mostly compatible with PCRE (Compariosn). A good tool to test these regexes is https://regexr.com/ in PCRE mode.
For a list of predefined scopes see https://macromates.com/manual/en/language_grammars#naming_conventions.
Every PR should contain a test case that covers the added feature or bug fix. This prevents regressions and makes reviewing the changes easier by providing a proof of correct functionality.
Tests for the language grammar (syntax highlighting) are in syntaxes/tests
.
They can be run with the following command:
npm run test
If you'd like to install a development version of the extension, follow these steps:
-
npm run install-dev-ext
- Reload the VS Code window:
- Open command palette (F1)
- Run
>reload window
Note: It is not required to uninstall any previous versions.