Skip to content

Features

Ricardo Diaz edited this page Dec 29, 2019 · 13 revisions

Rubberduck Features

This page provides a high-level, non-exhaustive overview of the Rubberduck add-in's many features.


A full-blown replacement for the VBE's Project Explorer; drill down to individual module members, see method signatures, Const declarations, enum & UDT members, and more.

Other navigational enhancements include:

  • Find all references, which makes it easy to locate all the places an identifier is used.

  • Find all implementations, which makes it easy to work with interfaces in object-oriented code, and navigate implementations.

  • Find symbol, which lets you type an identifier and instantly navigate to its definition.

TODO Explorer

Fully customizable "TODO" markers are recognized in code comments, effectively turning comments into easily navigatable bookmarks.

Zero-boilerplate unit tests, including a "fakes" framework that makes it easy to test methods that would otherwise be impossible to write automated tests for, e.g. procedures that bring up a MsgBox or involve logic that depends on I/O, or Date and Time functions.

Also known as "static code analysis", Rubberduck code inspections help you enforce a healthily explicit, consistent coding style across your VBA projects. Over 70 inspections are implemented to this date!

Code Metrics

Similar to static code analysis, this feature analyzes your code and issues metrics, such as the number of lines of code, the cyclomatic complexity, or nesting levels. Useful for identifying potentially problematic areas in a code base.

Like in any modern IDE, refactorings help you clean up code by extracting methods, renaming identifiers, encapsulating fields, etc.

Smart Indenter

Customize indentation rules as needed, and then easily apply them to the current procedure, module, or project, in a single click. If you have the legacy 32-bit Smart Indenter installed, you will be prompted whether to import your indenter settings on first load.

Enhancements to the VBE's auto-completion completely change what typing in the editor feels like: suddenly autocompletion in VBA/VB6 is on par with Visual Studio and VB.NET!

Clone this wiki locally