- Control templates count
- External dll count
- Layouts pages count
- Masterpage files count
- Xsl/Xslt files count
- BreakInheritance/ResetRoleInheritance call count
- SPMonitoredScope usage count
- Property bag stores custom value
- HttpRequest collections monitoring
- Custom master pages
- Method strings
- Delegate controls
- Search properties
- User profile properties
Experimental items are located in the different project and could be shipped on demand.
The full table of implemented items is located
Using predefined rule sets.
To get more accurate result of analyse you can select one of the OOTB rule set. Please read more about rule set list
From Aprile 2014 release we provided our own rule set - Community.spruleset
file. It is focused on the C# developers and architectors. You can modify it anyhow or use it as example to create new one. Just to remember, any ruleset file contains ONLY prohibited
items (categories by name or rules by CheckId). See installation details on the
to get it work. To select it in Visual Studio do follow:
you have an
in design time for all files opened in the editor. Depends on issue severity level the problem text is highlighted in different ways and corresponded color marks are added to the marker bar. Mostly each of highlightings has a quick fix action (look as a bulb).
And you can apply this fix on the current file, current folder or project or whole solution.
Like SPCAF ReSharper can analyse whole solution and expose list of incidents in the separate windows: "Inspection results" and "Solution wide error analyse".
Unfortunatelly currently it is not supported for XML and JS files. You need to open its in the Visual Studio editor and check marker bar.
How to change rule severity in the ReSharper?
- Open ReSharper | Option dialog and select Code Inspection | Inspection Severity
- Click on the SPCAF Contrib title
- Click on the colored box with curent severity level.
How can I read more about highlighting?
Open context menu, select Options for "name of issue" and select "Why is SPCAF Contrib suggestion this?". The help page will be opened immediatelly in the browser.
You can read more about ReSharper code inspection
How can I do something more with ReSharper?
article to know about live templates.
Where I can find the quick access key map in for ReSharper?
Check out this
How can I enable/disable ReSharper code analysis for specific files?
- Ctrl-8 for the current file, for the current session.
- Ctrl-Alt-8 for disabling Resharper code analysis.
Suggested new rules and metrics
Please consider starting
a new issue here
to let us know about that.
Few things about CheckId
List of excluded libraries
Some time we need to eliminate 3-rd party assembly from analyse. Currently there are follow exceptions:
If you want to add your own assembly to list above please be free to
it name to us.
You can configure lists of ignored files using regular expression or wildcards in the ReSharper | Options dialog.