CodeMaid is an open source Visual Studio extension to cleanup, dig through and simplify our C#, C++, F#, VB, XAML, XML, ASP, HTML, CSS, LESS, JavaScript and TypeScript coding.

(144) Review
Visual Studio
2013, 2012, 2010
Download (371,666)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (144)
Q and A (110)
Sign in to write a review
Sort by:

by Deniz Şevderoğlu | Thu 9:38 AM

Çok yaralı buldum.Teşekkür ederim.

Steve Cadwallader Thu 12:34 PM
| Edit |

If Google translate is correct, you're welcome. :)

by Ma3ztro | Wed 7:07 PM

by JAltepeter | Wed 4:21 PM

by Rbby | July 24 2014

Very handy tool and for free! Keep up the good work!

Steve Cadwallader July 24 2014
| Edit |

Will do, thanks! :)

by ShrenikOne | July 03 2014

First its awesome and second its awesome, very light weight and incredible. But for some reasons it doesn't work on solution level clean-up all. I have mix projects in solution, ASP.NET MVC, Web API, Silverlight, WCF, Windows Service etc.. and total around 50+ projects excluding unit test projects :)... if it work at solution level then save more time for me and save me 50+ individual project level clicks...

Thanks again for your tool, its really helpful..

Steve Cadwallader July 03 2014
| Edit |

Thanks for the high compliments! :)

VS2013 had a known issue with solution level cleanups being disabled. They fixed it recently with Update 2. If that doesn't do the trick a shortcut is you can multi-select projects and do cleanup on several at once. Also feel free to open a BitBucket issue and we can figure it out if it wasn't the VS update.

Keep enjoying! :)

by Daniel Cazé | June 30 2014

This tool saved my life!!!
I liked a lot.

I will feel so wonderful if more stylecop rules added at cleanup processing

- sorry by my bad english

Steve Cadwallader July 01 2014
| Edit |

Thanks :) To suggest or vote for specific StyleCop rules please go to the backlog here:

by Felipe F. Diogo | May 20 2014

All I have to say is that the extension is awesome.

one of the features that I've come to like is the close read-only files.

Also the CodeMaid Spade blew my mind away.

sry for grammar since english is not my native language.

Keep up the good work and I'm looking forward for updates.

Steve Cadwallader May 23 2014
| Edit |

Thanks - I really appreciate the feedback and am glad you're enjoying it so much. :)

by Jay Muralee | May 15 2014

I'm blown away! Where have you been all my coding life? Simple little things like collapsing all the projects in the solution explorer - such a time saver.

Steve Cadwallader May 17 2014
| Edit |

*grin* thanks :)

by rmoc | April 30 2014

by Brice Williams | April 14 2014

Excellent Visual Studio extension. Can't wait to see upcoming new features.

Steve Cadwallader April 14 2014
| Edit |

Thanks. :) For spoiler's about what's coming next, vote/comment on our public backlog here:

by Lukasz Ciastko | April 11 2014

I used to use CodeMain, but it's not compatible with the latest Windows Universal Apps. It's impossible to clean up classes inside a shared folder.

Steve Cadwallader April 13 2014
| Edit |

If you'd like to look into it together, please open an issue on BitBucket here:

by user rob | April 10 2014

Code Maid persistently crashed the GUI for the project I maintain without me using any code maid features. I guess its for hobby use only.
Using C++ VS2010 Vista.

The loaded solution consists of 8 legacy programs with origins in VMS consisting mostly of C with Win API with some newer simple C++.

The VS GUI crashed in the following instances: rearranging window positions, selecting class view and while browsing the code before I un-installed it. After un-installing and before installing of code maid there were no VS crashes. I have been using VS 2010 to maintain this code since 2010 without any GUI crashes.

Steve Cadwallader April 11 2014
| Edit |

Sorry that you had a bad experience.

There are some fixes for VS2010 available in the latest beta. Message me through here for more details:

by digovc | April 07 2014

by mwbrady68 | April 05 2014

by honsinger | March 31 2014

This is fantastic. Don't for one minute think it's just a pretty thing, for me it is a major productivity boost!

Thank you.

Steve Cadwallader April 01 2014
| Edit |

You're welcome - I'm happy to hear it is giving you a boost. :)

by sharethl | March 24 2014

by samaursa | March 23 2014

Wonderful extension! Thanks to Steve for this amazing piece of work. Pretty much stopped me from buying Visual Assist for VS 2013 (binded Spade to Alt+m and now I can navigate symbols in the file just like I do in VA).

Suggestion: Spade should have a search box where I can search all the symbols that it shows in the current file.

The rest of the functionality just keeps making this extension a must have. Works beautifully in our moderately sized codebase.

Steve Cadwallader March 24 2014
| Edit |

Very glad to hear you like it. :)

That request is in the backlog already and gaining popularity - vote it up here:

by CelPlusPlus | March 13 2014

Excellent extension - integrates well with resharper.

Features which I was looking for: Spade and Reorder. Really, really useful.

Steve Cadwallader March 14 2014
| Edit |

Thanks :) I'm a big fan of ReSharper so playing nicely with it is a must.

by Predrag Glumac | February 25 2014

by Donat Michal | February 23 2014

1 - 20 of 144 Items   
Sign in to start a discussion

  • Sorting rules for "usings"
    3 Posts | Last post October 28, 2013
    • Hello,
      In our team we made it mandatory to use CodeMaid, but the sorting order rules for using statements differ across team members. For some it is correct - System usings go first, but for others they get sorted alphabetically regardless being System imports or not. We didn't find any configuration setting that would affect this.
      Is this setting hidden in some config file?
      Thank you for reply.
    • Hi Maynard -
      I encountered that as well with my own team.  There is a setting for this within Visual Studio's Options under Text Editor->C#->Advanced->"Place 'System' directives first when sorting usings"
      This option used to be enabled by default in VS2010 and earlier, but Microsoft changed it to be disabled by default in VS2012 and later due to Windows Store apps using the Windows.* namespace.
      A couple useful links:
      Hope it helps, :)
      -Steve Cadwallader
    • Thank you, Steve. Changing this setting did the work ;).
  • How to setup with VS2008
    2 Posts | Last post October 24, 2013
    • I have downloaded the CodeMaid_v0.6.2.vsix would you please tell me how to setup inside visual studio 2008
      thanks in advance
    • Hi Zubayba -
      The current version of CodeMaid no longer supports Visual Studio 2005 or Visual Studio 2008.  The last version of CodeMaid that does support those versions is v0.4.3 which can be downloaded from here:
      Hope it helps,
      -Steve Cadwallader
  • Format Comments is Broken?
    2 Posts | Last post October 19, 2013
    • I downloaded this tonight and installed it on a new machine with VS2010 -- I really like the "Format comments during cleanup, Wrap comments at column" option -- but it's disabled, and there's no way to make it turn on.  What gives?
      Also, completely different issue with the same feature: in the version of Code Maid installed on my home machine that I downloaded last month, the "wrap comments at column" feature was deleting the preceding white space from the first line of a block of comments.  It was very annoying.  I could do a reformat of the document to realign the comments -- but even with the checkbox "Run format document" checked, it didn't fix the issue when I ran CodeMaid clean (was the format document being run before the format comments?  Seems to me that switching the order those items are called in would fix that issue.)
    • Comment formatting support is currently only available in VS2012 and higher.  There is a card in the backlog here to add support for VS2010 if you would like to vote it up/track progress:
      There are a few known issues with comment formatting which is a new feature.  You can track them and/or report them if not already present on BitBucket ( .  Additionally you can download the latest alpha releases which contain some fixes.
  • Dark Theme Issues
    2 Posts | Last post September 11, 2013
    • Setting the Display Theme to dark seems to only be partially implemented.  
      Certain portions of the window are in a dark theme, but everything else is light grey on white, making it unreadable.  
      You can see an example of how it displays here:
    • Thanks for reporting the issue.  I am unable to reproduce.  Will you file a bug on BitBucket including details like an exported copy of your settings, what version of Visual Studio you are using and which Visual Studio theme you are using?
  • StyleCop
    2 Posts | Last post August 29, 2013
    • Do you have plans to add additional StyleCop rules to the reorganize method?  Personally I would like to have it move using directives inside the namespace and add the file copyright XML that is required by StyleCop.
      It would also be nice to have your extension turn on stylecop on a project so I do not have to edit the csproj file directly.
      Overall I love it though.
    • Glad to hear you love it. :)  Please check out the product backlog on Trello to vote/comment/suggest new features:
      Some of your suggestions are already present:
  • Would like to align assignment statements
    2 Posts | Last post August 08, 2013
    • Just a suggestion, but it would be nice to be able to select a set of assignment statements and have all the "right side" values be aligned.
    • Thanks for the suggestion.  I think there is already another VS extension that is focused on statement alignment - check out:
  • Why is Format Comment disabled
    2 Posts | Last post August 08, 2013
    • Why is the Format Comment disabled in my installation?
    • The new Format Comment functionality currently only supports VS2012 and higher.  There is a backlog card to add support for VS2010 here:
  • Visual Studio 2013
    10 Posts | Last post August 03, 2013
    • Just wondering when will CodeMaid come out for Visual Studio 2013 beta that was just released.
    • Popular question!  I'm out of town this weekend but hope to have a beta ready and online next weekend! :)
    • This is exactly the question that I was about to ask.  Can't wait!  Code Maid is awesome.  It is a daily staple in my dev work.
    • Consider it done, VS2013 support is now available! :)
    • If you call 'CleanUp All Code' in VS2013 you get this error with Codemaid(0.6.2):
      Microsoft Visual Studio
      Could not load file or assembly 'Microsoft.VisualStudio.Package.LanguageService.10.0, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Das System kann die angegebene Datei nicht finden.
    • Thanks for reporting the issue Alexander.  I'm on vacation this week but will take a look when I am back.  Are you able to run individual file cleanup and/or do batch cleanup from the solution explorer?
    • Hi Steve.
      Yes Everything else I tried seems to work
    • With batch cleanup do you mean cleanup for a selected project? This option is disabled in VS2013
    • Thanks Alexander.  I have created two new issues on BitBucket for those VS2013 batch cleanup issues:
    • Alexander:  Hopefully you're tracking the BitBucket issue (, but if not it has been identified and passed on to Microsoft here:
  • CodeMade hangs when switching to the Spade window
    2 Posts | Last post Sun 12:33 PM
    • Trying to use CodeMade 0.6.2 with VS2012. After I open the project everything works well until I go to the "Spade" window, then everything hangs and VS shows the "waiting for a background process" window forever. nothing works until I kill VS and start over.
    • This is a known issue with the C++ API in VS2012.  You can use CodeMaid, but you will have to close the Spade tool window which accesses parts of the API that are now hanging in VS2012.  This is not an issue in VS2010, and Microsoft has fixed it for VS2013.  So the issue only occurs with VS2012 C++ projects.
      Microsoft was very helpful when I worked with them on this issue, and in addition to resolving it for future releases (e.g. VS2013) they provided some workaround suggestions for VS2012.  They're non-trivial, but they are on my radar and progress can be tracked on BitBucket here:
  • Code CleanUp crashes VS with OOM and simmilar Errors
    2 Posts | Last post Sun 12:27 PM
    • Hi,
      I have a rater big C# Project, on witch VS2012 crashes when I run a Code CleanUp.
      The Project has ~770 files, and VS always crashes at ~400 cleaned up with OOM or another simmilar exception. (Before that the Memory use slowly increases)
    • Thanks for reporting the issue Alexander.  I have an open Trello card to make some memory consumption improvements here:
31 - 40 of 110 Items