Rubberduck
Rubberduck copied to clipboard
Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
VBA allows functions in different modules to share the same name, and usage of those functions then requires qualifying the function name with the module name. Some hosts allow VBA...
The following are valid syntax forms: ```vb Dim y As String y = New Application If Len(New Application) Then Beep End If ``` Both rely on the default property of...
I just came across an SO question that did something similar to: ``` Dim app As Application Set app = Application Debug.Print app.Workbooks.Application.ActiveSheet.Name ``` Rubberduck should have an inspection that...
We need an inspection that suggests replacing this: DoSomething 42, , , , , , , True, , , False With named arguments. DoSomething line:=42, isFoo:=True, isBar:=False Currently blocked by...
Would it be possible to create a code flow charting feature for Rubberduck? Similar to the tool Visustin available from https://www.aivosto.com/ but cleaner. I've searched and not found any mention...
Some functions return an indexed item when an index is supplied, or return the collection when an index is omitted. Typically, the collection also has an `Item` member that can...
Consider the following stub class: ``` 'ObjectLet.cls Public Property Let Test(foo As Object) Debug.Print TypeName(foo) End Property ``` This is perfect legal in VBA, but defeats the normal reference assignment...
A `Property Set` should, by definition, accept an `Object` or an object-type, and never a `Variant` argument as the object argument. ```vb Public Property Get Foo(indexer As Long) As Variant...
Parsing seemed much faster in 2.0.12 but now it takes longer again, While it is Parsing, Indent shows Procedure and Project enabled but Module greyed out. If it's not ready...
I'd go one of two routes on this. On the one hand, we could just use the current `AssertClass` code and compare strings as if `Option Compare Binary` was set....