Skip to content

Commit da7aa67

Browse files
committed
adjusted namespaces
1 parent 595e36b commit da7aa67

File tree

84 files changed

+301
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+301
-76
lines changed

Rubberduck.CodeAnalysis/Inspections/Concrete/ImplementedInterfaceMemberInspection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Rubberduck.CodeAnalysis.Inspections.Abstract;
33
using Rubberduck.CodeAnalysis.Inspections.Extensions;
44
using Rubberduck.Common;
5-
using Rubberduck.Parsing.Annotations;
5+
using Rubberduck.Parsing.Annotations.Concrete;
66
using Rubberduck.Parsing.Symbols;
77
using Rubberduck.Parsing.VBA;
88
using Rubberduck.Parsing.VBA.DeclarationCaching;

Rubberduck.CodeAnalysis/Inspections/Concrete/ModuleWithoutFolderInspection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Linq;
22
using Rubberduck.CodeAnalysis.Inspections.Abstract;
3-
using Rubberduck.Parsing.Annotations;
3+
using Rubberduck.Parsing.Annotations.Concrete;
44
using Rubberduck.Parsing.Symbols;
55
using Rubberduck.Parsing.VBA;
66
using Rubberduck.Parsing.VBA.DeclarationCaching;

Rubberduck.CodeAnalysis/Inspections/Concrete/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All concrete code inspection implementations (classes) must be in their own .cs
44

55
The xml-doc content in this namespace is automatically downloaded, processed, and ultimately served on the rubberduckvba.com website feature pages.
66

7+
Each inspection can have as many examples using as many modules of as many types as necessary. The following string values are recognized as module types:
8+
9+
- "Standard Module"
10+
- "Class Module"
11+
- "Predeclared Class"
12+
- "Interface Module"
13+
- "UserForm Module"
14+
- "Document Module"
15+
716
The "edit this page" link on each page generated from xml-doc content in this namespace, links to `https://github.com/rubberduck-vba/Rubberduck/edit/next/{namespace}/{inspection-name}.cs`; it is imperative that the files' folder location corresponds to their namespace, lest we generate broken links on the website.
817

918
The content generated from xml-doc in this namespace (and any concrete inspections in a namespace under it) is accessible at `https://rubberduckvba.com/inspections/details/{inspection-name}`.

Rubberduck.CodeAnalysis/Inspections/Extensions/IgnoreRelatedExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Linq;
22
using Rubberduck.CodeAnalysis.Inspections.Results;
33
using Rubberduck.Parsing;
4-
using Rubberduck.Parsing.Annotations;
4+
using Rubberduck.Parsing.Annotations.Concrete;
55
using Rubberduck.Parsing.Symbols;
66
using Rubberduck.Parsing.VBA.DeclarationCaching;
77
using Rubberduck.VBEditor;

Rubberduck.CodeAnalysis/QuickFixes/Concrete/AccessSheetUsingCodeNameQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Linq;
22
using Antlr4.Runtime;
33
using Rubberduck.CodeAnalysis.Inspections;
4-
using Rubberduck.CodeAnalysis.Inspections.Concrete.Excel;
4+
using Rubberduck.CodeAnalysis.Inspections.Concrete;
55
using Rubberduck.CodeAnalysis.Inspections.Results;
66
using Rubberduck.CodeAnalysis.QuickFixes.Abstract;
77
using Rubberduck.Parsing;

Rubberduck.CodeAnalysis/QuickFixes/Concrete/ApplicationWorksheetFunctionQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Rubberduck.CodeAnalysis.Inspections;
2-
using Rubberduck.CodeAnalysis.Inspections.Concrete.Excel;
2+
using Rubberduck.CodeAnalysis.Inspections.Concrete;
33
using Rubberduck.CodeAnalysis.QuickFixes.Abstract;
44
using Rubberduck.Parsing.Rewriter;
55

Rubberduck.CodeAnalysis/QuickFixes/Concrete/IgnoreOnceQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using Rubberduck.CodeAnalysis.Inspections.Attributes;
55
using Rubberduck.CodeAnalysis.QuickFixes.Abstract;
66
using Rubberduck.Parsing;
7-
using Rubberduck.Parsing.Annotations;
7+
using Rubberduck.Parsing.Annotations.Concrete;
88
using Rubberduck.Parsing.Rewriter;
99
using Rubberduck.Parsing.Symbols;
1010
using Rubberduck.Parsing.VBA;

Rubberduck.CodeAnalysis/QuickFixes/Concrete/IntroduceGetAccessorQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public override void Fix(IInspectionResult result, IRewriteSession rewriteSessio
6363
rewriter.InsertBefore(result.Target.Context.Start.TokenIndex, propertyGet);
6464
}
6565

66-
public override string Description(IInspectionResult result) => Resources.Inspections.QuickFixes.WriteOnlyPropertyQuickFix;
66+
public override string Description(IInspectionResult result) => Resources.Inspections.QuickFixes.IntroduceGetAccessorQuickFix;
6767

6868
public override bool CanFixInProcedure => false;
6969
public override bool CanFixInModule => true;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Rubberduck.CodeAnalysis.QuickFixes.Concrete
2+
3+
All concrete quick-fix implementations (classes) must be in their own .cs source file **in a namespace that corresponds to its folder location**, under this namespace.
4+
5+
The xml-doc content in this namespace is automatically downloaded, processed, and ultimately served on the rubberduckvba.com website feature pages.
6+
7+
Each quick-fix can have as many examples using as many modules of as many types as necessary. The following string values are recognized as module types:
8+
9+
- "Standard Module"
10+
- "Class Module"
11+
- "Predeclared Class"
12+
- "Interface Module"
13+
- "UserForm Module"
14+
- "Document Module"
15+
16+
The "edit this page" link on each page generated from xml-doc content in this namespace, links to `https://github.com/rubberduck-vba/Rubberduck/edit/next/{namespace}/{quickfix-name}.cs`; it is imperative that the files' folder location corresponds to their namespace, lest we generate broken links on the website.
17+
18+
The content generated from xml-doc in this namespace (and any concrete inspections in a namespace under it) is accessible at `https://rubberduckvba.com/quickfixes/details/{quickfix-name}`.

Rubberduck.CodeAnalysis/QuickFixes/Concrete/Refactoring/RenameDeclarationQuickFix.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System.Globalization;
22
using Rubberduck.CodeAnalysis.Inspections;
33
using Rubberduck.CodeAnalysis.Inspections.Concrete;
4-
using Rubberduck.CodeAnalysis.Inspections.Concrete.Excel;
54
using Rubberduck.CodeAnalysis.QuickFixes.Abstract;
65
using Rubberduck.Refactorings.Rename;
76
using Rubberduck.Resources;

0 commit comments

Comments
 (0)