GithubHelp home page GithubHelp logo

excel-types's Introduction

Excel VBA type Definitions Package (excel-types)

  • This package provides a way to use auto-complete for Excel VBA Class
  • You can Create your own vba type definition packages our update this.
  • Type definition packages are named like: name-types
  • The packages are store in www.xvba.dev
  • Ech excel vba class has your own file definition
  • The files extension has to be filename.d.vb
  • Auto-complete just expose Public types

Create,install and share VBA Packages With Xvba-cli and Xvba Repository:

Install

  • For instal excel-types just use XVBA-CLI install command
 npx xvba install excel-types

Comments Block

  • Use comments blocks below for documenting class/methods/Subs/Functions/Properties
  • The comments blocs has to start with '/* and ends with '*/

'/*
'Represents the entire Microsoft Excel application.
'
'
'*/
Public Class Application()

'/*
'Returns a Range object that represents the active cell in the active window 
'(the window on top) or in the specified window. If the window isn't displaying 
'a worksheet, this property fails. Read-only.
'
'@type {Object.<Range>}
'
'*/
Public Property ActiveCell As Range

excel-types's People

Contributors

aeraphe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

excel-types's Issues

Language detection problem: `.vb` vs `.vba`

It seems like there is a small issue with your repo.
Currently, it is marked as a Visual Basic .NET repo since more than 50% of its code is identified as VB.NET.

image

The reason is that you are currently using the extension .vb for your VBA code, but this extension is associated with VB.NET.

To solve this issue, the easiest option is to change the file extensions to .vba.

Problem running npm install

Hi dear friend!

I am trying to use your package to enable vba auto complete inside VS Code.
I've already installed xvba package from vs code store, but when I'm trying to run "npm install" inside project folder the following error is raised:

How could I solve this?
Best regards
image

Include properties in Macro List

Please, help with the following points;
1- Include the Properties in the Macro List of your XVBA - Live Server Extension, (not just constructors, functions and procedures).
2- Not all the procedures and functions are detected by this Macro List Window, maybe the regex patterns used are failing sometimes.
3- Please allow Excel types to autocomplete/detect starting from "Project Name" and not from "Module Name", so we can autocomplete our code like "VBAProjectExample.MyModule.AwesomeFunction" instead of "MyModule.AwesomeFunction"

Thanks!

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.