rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.92k stars 302 forks source link

RubberDuck Integration into VSCode #5833

Closed abalhassans closed 3 years ago

abalhassans commented 3 years ago

I am interested in a Rubberduck VSCode Extension to get many of the inspection features within VSCode. I am looking for your assessment of how much effort would be involved to get these features in VSCode?

Justification VSCode is primary IDE being used for vba code development. Would like many of the features to be available in VSCode

Description Primarily interested in inspection features e.g unused variables

Additional context Add any other context or screenshots about the feature request here.

Vogel612 commented 3 years ago

"VSCode is primary IDE being used for vba code development"

Citation needed.

There actually are some plans to move Rubberduck's capabilities to an external language server using the Language Server Protocol that is also employed by VSCode. (#5176)

This could help address problems with memory management, caching, invalidation and export behaviour, but an extension for Visual Studio would need some additional support.

You may also be interested in the Twin Basic project that was created by Wayne Phillips, who contributed some very difficult VBE interaction components to the project.

Since the LSP prototype is already tracked and a VSCode extension would need a separate repository, I'm closing this issue as a duplicate :)

serkonda7 commented 2 years ago

I'm maintaining a VS Code extension that brings improved VBA support: https://github.com/serkonda7/vscode-vba

Currently tho it only offers syntax highlighting, however I plan to extend the feature set. Contributions are also appreciated.

Should a Rubberduck VS Code extension emerge, I would be open for combining efforts.