Open
Description
What
RD tells me an annotation is present but an attribute is missing if I leave this in my code:
'@Description("")
I would like it to tell me the annotation is blank.
Why
I paste blank description and module description annotations and fill them in later. This would clearly show where I intend to have annotations but have not yet written them. Additionally, if RD ever includes a feature to auto-add blank description annotations to every procedure and module (to encourage documentation of code) this additional annotation would play nicely with that.
Example
This code should trigger the inspection:
'@Description("")
Public Sub DoSomething() ' double quotes in description annotation
End Sub
'@Description()
Public Sub DoSomethingElse() ' no double quotes in description annotation
End Sub
Resources
Each inspection needs a number of resource strings - please provide a suggestion here:
- InspectionNames: Blank Attribute
- InspectionInfo: A blank Rubberduck annotation is specified for a module or member.
- InspectionResults: