VBScript-vscode
VBScript-vscode copied to clipboard
VB6 Parameters
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.
- All parameters pick up the "As" keyword as their name rather than their actual name
- Types of parameters with dots in them keep function/subs from showing at all
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.