GithubHelp home page GithubHelp logo

jinsheng632770zhang / vscode-vba Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spences10/vscode-vba

1.0 0.0 0.0 53 KB

VBA syntax highlighting and snippets for use in VSCode

TypeScript 100.00%

vscode-vba's Introduction

VSCode VBA

Marketplace Version Installs Rating

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:

Links

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:

Create a token:

  • Name: vsce
  • Organisation: All accessible organizations
  • show all scopes, select:
    • Marketplace
      • Check Acquire and Manage

Publish with CLI:

# login
vsce login <publisher name>
vsce package
# myExtension.vsix generated
# bump version
vsce publish minor # | major | patch
# vsce publish major, minor or patch
vsce publish -p <add created token here>

If you get ERROR Failed request: (401) see here:

Some good documentation on publishing with the CLI:

Version history

20200405 - Added basic If snippet, and changed all snippets to use tabs (for user customisation capability).
20200405 - Multi-line comment capability
20200405 - Added certain keywords e.g. Type, Enum, Implements, Optional, Friend, ... Also changed behavior of some keywords, e.g. "End","Function","Sub" instead of "End Function", "End Sub" etc..
20200405 - Removal of non-vba behavior.
20200714 - [Comment with REM].

vscode-vba's People

Contributors

spences10 avatar sancarn avatar stepanhakobyan avatar hirooih avatar imgbotapp avatar retailcoder avatar renovate-bot avatar greenkeeper[bot] avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.