Questions tagged [rubberduck]

Rubberduck is an open-source COM add-in project for the VBA/VB6 IDE written in C#. It extends the VBEs capacities through various toolwindows and adds a UnitTesting suite. Please submit bugs & feature requests to the GitHub issue tracker.

Rubberduck is an open-source COM add-in project for the VBA/VB6 IDE written in C#. Use this tag only for usage of Rubberduck, including questions about using and understanding the features listed below. Questions about the C# code of Rubberduck itself should be directed at the devs directly.


Rubberduck started with an idea in the VBA Code Review chatroom, is owned by Mathieu Guindon and RubberDuck, and is maintained by several senior VBA citizens on both Code Review and Stack Overflow.

Official website: http://www.rubberduckvba.com

GitHub repository: https://github.com/rubberduck-vba/Rubberduck


Goal

Make the experience of writing code in the VBE (the VBA/VB6 IDE) as enjoyable as possible, by turning VBA/VB6 development into a modern-day IDE experience with features that have, since the VBE's last update forever ago (citation needed), become standard tooling in pretty much every IDE out there.


Core Features

  • Enhanced navigation dockable toolwindows such as the Code Explorer (an enhanced Project Explorer that drills down to module members) and TODO Explorer, global and context-sensitive search tools such as find all references, find all implementations, or find symbol make it much easier to find anything and navigate there.
  • Unit testing makes it child's play to add test modules, implement test methods, and execute them.
  • Code Inspections locate (and fix) issues in VBA/VB6 code.
  • Code Metrics measure things like LoC count, cyclomatic complexity, nesting levels, etc.
  • Refactorings for extracting methods, renaming identifiers, and reordering and removing parameters and updating all call sites in a single operation.
  • Smart Indenter Rubberduck integrates a C# port of the popular Smart Indenter add-in.

See the repository's issues list for everything the project has on its plate.


Contribute!

Feel free to fork the project, and meet the core devs in the VBA Rubberducking chatroom.

35 questions
0
votes
0 answers

Installing RubberDuck but the Explorer graphic goes round and round

followed directions and got it installed. see code in standard module Option Explicit Option Private Module '@TestModule '@Folder("Tests") Private Assert As Object Private Fakes As Object '@ModuleInitialize Private Sub ModuleInitialize() 'this…
DanM
  • 185
  • 7
0
votes
0 answers

Rubberduck: not available in VBE, but loaded in Add-In-Manager

maybe similar to Can not see the add in after installing rubberduck?, but the answer there (the default installing instructions) does not work for me. After Admin-Installing Rubberduck 2.1.0 or also tried with 2.1.1.2450-pre I cannot see the…
MI285
  • 21
  • 5
0
votes
1 answer

How to design and unit test a VBA class module for adding formatted tables to document

The motivation for this question is to obtain a concrete example of what good, unit testable code would look like for modifying a document. By way of background I appreciate that classes are great for defining and validating things, like for…
SlowLearner
  • 3,086
  • 24
  • 54
0
votes
0 answers

Failed to clone remote repository

I can not clone and get a 403 error code. The user name and password I entered are the ones I use to login to GitHub and are correct. Please advise, thank you.
David
  • 23
  • 2
  • 6
0
votes
0 answers

Rubberduck VBA: Commit Failed

I added the files to commit, and clicked in Commit->Go, but I get the following error: Commit Failed: Configuration value 'user.name' is missing or invalid Is something I did wrong? Do I need to create a config file to add the user name? Thanks
tdmsoares
  • 533
  • 7
  • 24
1 2
3