Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spences10/vscode-vba
VBA syntax highlighting and snippets for use in VSCode
https://github.com/spences10/vscode-vba
snippets syntax-highlighting vba vbscript vscode
Last synced: about 1 month ago
JSON representation
VBA syntax highlighting and snippets for use in VSCode
- Host: GitHub
- URL: https://github.com/spences10/vscode-vba
- Owner: spences10
- License: mit
- Archived: true
- Created: 2016-12-04T21:24:57.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2021-06-17T00:03:52.000Z (over 3 years ago)
- Last Synced: 2024-08-13T07:18:03.324Z (5 months ago)
- Topics: snippets, syntax-highlighting, vba, vbscript, vscode
- Language: TypeScript
- Size: 71.3 KB
- Stars: 55
- Watchers: 6
- Forks: 30
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - spences10/vscode-vba - VBA syntax highlighting and snippets for use in VSCode (TypeScript)
README
# VSCode VBA
[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/spences10.vba.svg)](https://marketplace.visualstudio.com/items?itemName=spences10.vba)
[![Installs](https://vsmarketplacebadge.apphb.com/installs/spences10.vba.svg)](https://marketplace.visualstudio.com/items?itemName=spences10.vba)
[![Rating](https://vsmarketplacebadge.apphb.com/rating/spences10.vba.svg)](https://marketplace.visualstudio.com/items?itemName=spences10.vba)- [VSCode VBA](#vscode-vba)
- [Syntax Highlighting](#syntax-highlighting)
- [Snippets](#snippets)
- [Basic code](#basic-code)
- [Installation](#installation)
- [Contributing](#contributing)
- [Contacts](#contacts)
- [Links](#links)
- [Handy links](#handy-links)## Syntax Highlighting
This package provides syntax highlighting and snippets of VBA.
Based off an import of the [VBScript.tmLanguage] file from the
[Sublime Text VBScript] repository.## Snippets
### Basic code
- dim declarations
- if/else
- for/while
- sub/function with errHandler
- case## Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and
press enter.```
ext install vba
```## Contributing
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.## Contacts
You can contact me in the following ways:
- Mail : [[email protected]]
- Github : [spences10]## Links
- [Source Code]
- [Market]## Handy links
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:
- https://YOUR_USER_NAME.visualstudio.com/_details/security/tokens
**Create a token:**
- Name: vsce
- Organisation: All accessible organizations
- show all scopes, select:
- Marketplace
- Check Acquire and Manage**Publish with CLI:**
```bash
# login
vsce login
# install the things
npm i
# use the token created in earlier step
vsce package
# myExtension.vsix generated
# bump version
vsce publish minor # | major | patch
# vsce publish major, minor or patch
vsce publish -p
```If you get `ERROR Failed request: (401)` see here:
- https://github.com/Microsoft/vscode-vsce/issues/11
Some good documentation on publishing with the CLI:
- https://code.visualstudio.com/api/working-with-extensions/publishing-extension
[comment with rem]: https://github.com/spences10/vscode-vba/pull/13
[vbscript.tmlanguage]:
https://github.com/SublimeText/VBScript/blob/master/VBScript.tmLanguage
[sublime text vbscript]: https://github.com/SublimeText/VBScript
[[email protected]]: mailto:[email protected]
[spences10]: https://github.com/spences10
[source code]: https://github.com/spences10/vscode-vba
[market]:
https://marketplace.visualstudio.com/items?itemName=spences10.VBA