{"id":14070507,"url":"https://github.com/spences10/vscode-vba","last_synced_at":"2025-07-30T07:33:34.264Z","repository":{"id":49453986,"uuid":"75565526","full_name":"spences10/vscode-vba","owner":"spences10","description":"VBA syntax highlighting and snippets for use in VSCode","archived":true,"fork":false,"pushed_at":"2021-06-17T00:03:52.000Z","size":73,"stargazers_count":55,"open_issues_count":0,"forks_count":30,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-08-13T07:18:03.324Z","etag":null,"topics":["snippets","syntax-highlighting","vba","vbscript","vscode"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spences10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-04T21:24:57.000Z","updated_at":"2024-08-06T21:30:22.000Z","dependencies_parsed_at":"2022-08-25T16:51:03.636Z","dependency_job_id":null,"html_url":"https://github.com/spences10/vscode-vba","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spences10%2Fvscode-vba","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spences10%2Fvscode-vba/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spences10%2Fvscode-vba/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spences10%2Fvscode-vba/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spences10","download_url":"https://codeload.github.com/spences10/vscode-vba/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228110394,"owners_count":17871170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["snippets","syntax-highlighting","vba","vbscript","vscode"],"created_at":"2024-08-13T07:07:49.086Z","updated_at":"2024-12-04T12:31:13.211Z","avatar_url":"https://github.com/spences10.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# VSCode VBA\n\n[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/spences10.vba.svg)](https://marketplace.visualstudio.com/items?itemName=spences10.vba)\n[![Installs](https://vsmarketplacebadge.apphb.com/installs/spences10.vba.svg)](https://marketplace.visualstudio.com/items?itemName=spences10.vba)\n[![Rating](https://vsmarketplacebadge.apphb.com/rating/spences10.vba.svg)](https://marketplace.visualstudio.com/items?itemName=spences10.vba)\n\n\u003c!-- TOC depthFrom:2 --\u003e\n\n- [VSCode VBA](#vscode-vba)\n  - [Syntax Highlighting](#syntax-highlighting)\n  - [Snippets](#snippets)\n    - [Basic code](#basic-code)\n  - [Installation](#installation)\n  - [Contributing](#contributing)\n  - [Contacts](#contacts)\n  - [Links](#links)\n  - [Handy links](#handy-links)\n\n\u003c!-- /TOC --\u003e\n\n## Syntax Highlighting\n\nThis package provides syntax highlighting and snippets of VBA.\n\nBased off an import of the [VBScript.tmLanguage] file from the\n[Sublime Text VBScript] repository.\n\n## Snippets\n\n### Basic code\n\n- dim declarations\n- if/else\n- for/while\n- sub/function with errHandler\n- case\n\n## Installation\n\nLaunch VS Code Quick Open (Ctrl+P), paste the following command, and\npress enter.\n\n```\next install vba\n```\n\n## Contributing\n\nPlease fork this repository and contribute back using pull requests.\n\nAny contributions, large or small, major features, bugfixes and\nintegration tests are welcomed and appreciated but will be thoroughly\nreviewed and discussed.\n\n## Contacts\n\nYou can contact me in the following ways:\n\n- Mail : [spences10apps@gmail.com]\n- Github : [spences10]\n\n## Links\n\n- [Source Code]\n- [Market]\n\n## Handy links\n\nI struggled to find how to generate a token after not doing anything\nwith this project for well over a year:\n\nTo get to your token creation, go here:\n\n- https://YOUR_USER_NAME.visualstudio.com/_details/security/tokens\n\n**Create a token:**\n\n- Name: vsce\n- Organisation: All accessible organizations\n- show all scopes, select:\n  - Marketplace\n    - Check Acquire and Manage\n\n**Publish with CLI:**\n\n```bash\n# login\nvsce login \u003cpublisher name\u003e\n# install the things\nnpm i\n# use the token created in earlier step\nvsce package\n# myExtension.vsix generated\n# bump version\nvsce publish minor # | major | patch\n# vsce publish major, minor or patch\nvsce publish -p \u003cadd created token here\u003e\n```\n\nIf you get `ERROR Failed request: (401)` see here:\n\n- https://github.com/Microsoft/vscode-vsce/issues/11\n\nSome good documentation on publishing with the CLI:\n\n- https://code.visualstudio.com/api/working-with-extensions/publishing-extension\n\n\u003c!-- Links --\u003e\n\n[comment with rem]: https://github.com/spences10/vscode-vba/pull/13\n[vbscript.tmlanguage]:\n  https://github.com/SublimeText/VBScript/blob/master/VBScript.tmLanguage\n[sublime text vbscript]: https://github.com/SublimeText/VBScript\n[spences10apps@gmail.com]: mailto:spences10apps@gmail.com\n[spences10]: https://github.com/spences10\n[source code]: https://github.com/spences10/vscode-vba\n[market]:\n  https://marketplace.visualstudio.com/items?itemName=spences10.VBA\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspences10%2Fvscode-vba","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspences10%2Fvscode-vba","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspences10%2Fvscode-vba/lists"}