Skip to content

Commit 7524a7b

Browse files
committed
updated parameter docs
1 parent ec2954c commit 7524a7b

23 files changed

+29
-58
lines changed

Rubberduck.Parsing/Annotations/Concrete/DefaultMemberAnnotation.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ namespace Rubberduck.Parsing.Annotations
99
/// <summary>
1010
/// @DefaultMember annotation, uses the VB_UserMemId attribute to make a class member the default member of that class. Use the quick-fixes to "Rubberduck Opportunities" code inspections to synchronize annotations and attributes.
1111
/// </summary>
12-
/// <parameter>
13-
/// This annotation takes no argument.
14-
/// </parameter>
1512
/// <example>
1613
/// <module name="Class1" type="Class Module">
1714
/// <![CDATA[

Rubberduck.Parsing/Annotations/Concrete/DescriptionAnnotation.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ namespace Rubberduck.Parsing.Annotations
77
/// <summary>
88
/// @Description annotation, uses the VB_Description member attribute to provide a docstring for a module member. Use the quick-fixes to "Rubberduck Opportunities" code inspections to synchronize annotations and attributes.
99
/// </summary>
10-
/// <parameter>
11-
/// This annotation takes a single string literal parameter that does not support expressions and/or multiline inputs. The string literal is used as-is as the value of the hidden member attribute.
10+
/// <parameter name="DocString" type="String">
11+
/// This string literal parameter does not support expressions and/or multiline inputs. The string literal is used as-is as the value of the hidden member attribute.
1212
/// </parameter>
13+
/// <remarks>
14+
/// This documentation string appears in the VBE's own Object Browser, as well as in various Rubberduck UI elements.
15+
/// </remarks>
1316
/// <example>
1417
/// <module name="Class1" type="Class Module">
1518
/// <![CDATA[

Rubberduck.Parsing/Annotations/Concrete/EnumeratorMemberAnnotation.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ namespace Rubberduck.Parsing.Annotations
88
/// <summary>
99
/// @Enumerator annotation, uses the VB_UserMemId attribute to make a class member the enumerator-provider member of that class, enabling For Each iteration of custom collections. Use the quick-fixes to "Rubberduck Opportunities" code inspections to synchronize annotations and attributes.
1010
/// </summary>
11-
/// <parameter>
12-
/// This annotation takes no argument.
13-
/// </parameter>
1411
/// <example>
1512
/// <module name="Class1" type="Class Module">
1613
/// <![CDATA[

Rubberduck.Parsing/Annotations/Concrete/ExcelHotKeyAnnotation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ namespace Rubberduck.Parsing.Annotations
1010
/// <summary>
1111
/// @ExcelHotkey annotation, uses a VB_ProcData.VB_Invoke_Func metadata attribute to map a hotkey to a standard module procedure. Use the quick-fixes to "Rubberduck Opportunities" code inspections to synchronize annotations and attributes.
1212
/// </summary>
13-
/// <parameter>
14-
/// This annotation requires a single-letter string argument to map the hotkey. If the letter is in UPPER CASE, the hotkey is Ctrl+Shift+letter; if the letter is lower case, the hotkey is Ctrl+letter. Avoid remapping commonly used keyboard shortcuts!
13+
/// <parameter name="Key" type="String*1">
14+
/// A single-letter string argument maps the hotkey. If the letter is in UPPER CASE, the hotkey is Ctrl+Shift+letter; if the letter is lower case, the hotkey is Ctrl+letter. Avoid remapping commonly used keyboard shortcuts!
1515
/// </parameter>
1616
/// <example>
1717
/// <module name="Module1" type="Standard Module">

Rubberduck.Parsing/Annotations/Concrete/ExposedModuleAnnotation.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ namespace Rubberduck.Parsing.Annotations
77
/// <summary>
88
/// @Exposed annotation, uses the VB_Exposed module attribute to make a class visible to a referencing project (classes are otherwise private). Use the quick-fixes to "Rubberduck Opportunities" code inspections to synchronize annotations and attributes.
99
/// </summary>
10-
/// <parameter>
11-
/// This annotation takes no argument.
12-
/// </parameter>
1310
/// <example>
1411
/// <module name="Class1" type="Class Module">
1512
/// <![CDATA[

Rubberduck.Parsing/Annotations/Concrete/FolderAnnotation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/// <summary>
44
/// @Folder annotation, determines where in a custom folder structure a given module appears in the Code Explorer toolwindow.
55
/// </summary>
6-
/// <parameter>
7-
/// This annotation takes a single string literal argument that uses the dot "." character to indicate parent/child folders. Consider using folder names that are valid in the file system; PascalCase names is ideal.
6+
/// <parameter name="Path" type="String">
7+
/// This string literal argument uses the dot "." character to indicate parent/child folders. Consider using folder names that are valid in the file system; PascalCase names are ideal.
88
/// </parameter>
99
/// <example>
1010
/// <module name="Class1" type="Class Module">

Rubberduck.Parsing/Annotations/Concrete/IgnoreAnnotation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/// <summary>
44
/// @Ignore annotation, used for ignoring inspection results at member and local level.
55
/// </summary>
6-
/// <parameter>
7-
/// This annotation optionally takes a comma-separated list of inspection names as argument. If no specific inspection is provided, then all inspections would ignore the annotated target.
6+
/// <parameter name="Inspections" type="ParamArray (Identifier)">
7+
/// This annotation optionally takes a comma-separated list of inspection names as argument. If no specific inspection is provided, then all inspections should ignore the annotated target.
88
/// </parameter>
99
/// <remarks>
1010
/// Use the @IgnoreModule annotation to annotate at module level.

Rubberduck.Parsing/Annotations/Concrete/IgnoreModuleAnnotation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/// <summary>
44
/// @IgnoreModule annotation, used for ignoring inspection results module-wide.
55
/// </summary>
6-
/// <parameter>
6+
/// <parameter name="Inspections" type="ParamArray (Identifier)">
77
/// This annotation optionally takes a comma-separated list of inspection names as argument. If no specific inspection is provided, then all inspections would ignore the annotated module.
88
/// </parameter>
99
/// <remarks>

Rubberduck.Parsing/Annotations/Concrete/IgnoreTestAnnotation.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
/// <summary>
44
/// @IgnoreTest annotation, used for ignoring a particular unit test in a test module.
55
/// </summary>
6-
/// <parameter>
7-
/// This annotation takes no argument.
8-
/// </parameter>
96
/// <remarks>
107
/// Test Explorer will skip tests decorated with this annotation.
118
/// </remarks>

Rubberduck.Parsing/Annotations/Concrete/InterfaceAnnotation.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
/// <summary>
44
/// @Interface annotation, marks a class as an abstract interface; Rubberduck can use this valuable metadata in its code analysis.
55
/// </summary>
6-
/// <parameter>
7-
/// This annotation takes no argument.
8-
/// </parameter>
96
/// <remarks>
107
/// Code Explorer uses an "interface" icon to represent class modules with this annotation.
118
/// </remarks>

0 commit comments

Comments
 (0)