Quality coding with Visual Studio plug-ins

Utilising a few useful tools can make your code quite productive.

  1. Fix all “Warnings”
  2. Use FxCop
    Download here
    Install FxCop Runner extension, then you can run FxCop inside VS and see the warnings together with original VS warnings in warnings window.
    (It’s integrated as Code Analysis in VS2012, so you don’t need to install FxCop again)
  3. Use CodeMaid
    – Which is really nice. With one click, it re-organize your code neat, clean up using comment, remove unnecessary spaces reset orders. 
    – You can install this at the menu Tools – Extension manager inside Visual Studio, which is the easiest way to install.
  4. Use StyleCop
    – Install StyleCop and StyleCop runner together to use it as integrated in VS
    – Good article to use StyleCop effectively
    – Nuget support integrated StyleCop in Build process
    – Recommended Settings.StyleCop file configured out unnecessary bits. Download this config file to your root directory of all c# codes. 

 

 

Leave a comment

Your email address will not be published.