C# code style validation plugin for ReSharper. Enforce naming conventions, validate XML comments, spell-check identifiers, and paste smarter.
Agent Smith is completely free to use. It has no harmful intentions — use it at your own risk. The source code is open and hosted on Google Code.
Send comments to forever.zet[at]gmail.com
Report issues via the Issue Tracker
Read about Contributors
If Agent Smith saves you time, consider supporting its development.
Download the plugin from the links below.
Extract the assembly to a path like C:\Program Files\JetBrains\ReSharper\v3.0\vs8.0\Bin\Plugins\AgentSmith — it must reside under the ReSharper folder; double-check the ReSharper and Visual Studio version in the path.
It will be listed among ReSharper plugins. Settings are available under ReSharper → Code Style.
| Release | Target | Date | Notes |
|---|---|---|---|
| 1.3.0 Agent Smith | ReSharper 4.0 | 23/08/2008 | Comment reflowing, TestFixture fix, 'm' prefix added to defaults |
| 1.2.0 Agent Smith | ReSharper 3.1 | — | Previous stable release |
Configure exactly what naming rules apply to any declaration type. The plugin highlights violations in real-time and offers quick-fix suggestions.
Naming rules include:
Matching rules identify declarations by:
Agent Smith verifies that specific declarations carry XML comments. It spell-checks comment content and suggests quick-fixes including word substitutions and <see cref=…> replacements. The configuration interface is fully flexible.
Comprehensive spell checking across your entire codebase:
OpenOffice dictionaries can be imported, providing support for multiple languages.
When pasting text into an XML comment, Agent Smith automatically inserts /// characters at line breaks and optionally escapes XML-reserved characters. When pasting into a string literal, it escapes string characters accordingly — keeping your code clean without manual effort.