Luncher91 / VBScript-vscode

A vscode extension for VBScript language support
MIT License
20 stars 5 forks source link

VB6 Parameters #18

Open WorldMaker opened 1 year ago

WorldMaker commented 1 year ago

This is probably out of scope, but I've been desperate to get whatever Outline/symbols support I can get for a large pile of VB6 code in VSCode and this extension was the best out of the box for that of all the ones I've tried. There's just a couple of issues I've found.

Most of my issues seem to be parameter problems.

For instance of that bigger second issue:

' This Sub won't show up in the outline at all because of the . in ADOX.Catalog
Sub CreateSomeDbTable(ByRef Cat As ADOX.Catalog)
Public Sub

I found the RegEx to adjust to try to fix these and might try to fork and PR a fix for it myself, but often find it best to file the issue first rather than build the PR first. Especially in a case like this where it is possibly out of scope and maybe not more generally useful.

Luncher91 commented 1 year ago

As long as it does not break the support for VBS I would love to see a PR :-)