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

(205) Review
Visual Studio
2015, 2013, 2012
Download (598,561)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (205)
Q and A (155)
Sign in to write a review
Sort by:

by naviniea | Mon 2:50 PM

by Ruud Borst | November 03 2015


by alishahal | October 21 2015

I like codeMaid, it is very easy to use and helps a lot with cleaning the code.

by Deepak Bisht0555006 | October 14 2015

great tool for coders

by Keizo Imaizumi | October 09 2015

Very nice extension, but somehow it would only remove lines (extra line at the end of file, duplicate blank lines etc), but won't add padding lines nor add explicit visibility modifiers in my c++ code. The respective settings are all on. Reinstalling CodeMaid didn't help... Visual Studio Community 2015

Steve Cadwallader October 09 2015
| Edit |

Unfortunately the Visual Studio API for C++ is not as rich as other languages like C# so not all features are supported. We have been thinking about making a language/feature matrix to help make that more clear - sorry for the confusion!

by Andrew Sanostee | October 09 2015

by Alex from Russia | October 07 2015

Perfect! A whole bunch of useful commands! And unlike ReSharper, it doesn't override native settings, which I've already customized.

Steve Cadwallader October 09 2015
| Edit |

Cool, glad to hear it is useful. :)

by João BP | October 06 2015

by drventure | September 17 2015

Very nice add in for VS2013.

The Code Spade tool alone is worth the download.

Steve Cadwallader October 09 2015
| Edit |

Glad to hear you like it. More Spade enhancements coming in the next major release! :)

by MujkicHaris | September 10 2015

Useful, time-saving and powerful.
Thank you so much for your hard work and dedication, developer!

Steve Cadwallader October 09 2015
| Edit |

You're very welcome! :)

by FernandoBraz | September 01 2015

Steve has made a wonderful work. Besides, it works perfectly with resharper.

Steve Cadwallader September 01 2015
| Edit |

Thank you. :) JetBrains provides us an open source license to use their tool during the development of CodeMaid, so we're more than happy to make sure we're very compatible together.

by nomen86 | August 26 2015

Nice extension, 5 stars for you CodeMaid.
Btw, does it have features to show how many reference I have on my method.
In VS 2013 when you write a method, a small link show on top of the method, tell us how many reference exist on that particular method. Here is the example :

3 references //this is what i mean.
public void ExampleMethod()
//some code here...!

Since I'm using Visual Studio 2012 Ultimate Edition (I don't want to upgrade to VS 2013 or VS 2015, because I'm still using Windows 7) that fitur is not available in Visual Studio 2012. Is there any extension or add-in so my VS 2012 could give me that fitur...?

Steve Cadwallader August 26 2015
| Edit |

I'm glad you like it.

The feature you're talking about is called CodeLens, and I haven't heard of anybody replicating it for VS2012.

by Sumonto | August 19 2015

Great handy tool!

by Ronan Phuc | August 12 2015

So amazing extension. Love it

by Akilram | August 02 2015

by dialexnunes | July 30 2015

by zeloran9 | July 24 2015

Excellent. Exactly what I was looking for.
The auto-formatting functionality removing extra new lines is awesome, and the VS default does not include that.

Steve Cadwallader July 26 2015
| Edit |

You're very welcome! :)

by HassanAli5502327 | July 22 2015

by Shaun Wilson [BC] | July 14 2015

by Akira Yamamoto | July 11 2015

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

  • CodeMaid for Python
    2 Posts | Last post August 13, 2015
    • What is the chance the CodeMaid works with Python code?
      Visual Studio today already works with python code using Pytools ( and would be awesome if you cover it.
    • There is a card in our backlog to support Python here:
      Please feel free to vote/comment on it.  The card also includes a link to the pull request showing how PHP support was added as an example for what it would take to add support for Python.
  • The Command to execute is not enabled.
    2 Posts | Last post August 11, 2015
    • I'm using VS Premium 2013, Update 5 and CodeMaid v 0.8.0.  Selecting the "Find In Solution Explorer" results in the exception message, "The Command to execute is not enabled."  How do I enable the Command?
    • Are you sure the currently active document exists within the solution?
      If you are still having issues, please open an issue on GitHub (, including information about what type of file you are trying to find (e.g. C#, VB, etc.)
  • CodeMaid Spade too slow to load
    2 Posts | Last post August 07, 2015
    • When opening large classes, say with 5k lines in it, spade may take more than a minute to load.
      Is it expected behavior? Most of the time, when opening a class you may need to user visual studio, but it hangs for that amount of time. Perhaps, if Spade would load asynchronouslly on background, might imnprove performance in this case.
      Additionally, it might check the cache first, and then load async. It will take about the same time to load, but will definitely avoind disrupting work. If you need to use it as soon as opening a class, you may just wait for it.
    • Spade does load asynchronously in the background.  Please check your settings at CodeMaid->Options->"Load models asynchronously".  This setting is on by default, but if it has been turned off then you would see the behavior you described.
      If you are still having an issue, please open an issue on GitHub here with more details (e.g. VS version, configuration settings):
  • got error when opening solution
    2 Posts | Last post August 05, 2015
    • I opening my solution while got alert message it says check ActiityLog.xml.
      The file content show as below.
      System.InvalidOperationException: Unexpected false at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) at Microsoft.CodeAnalysis.Editor.Shared.Tagging.ProducerPopulatedTagSource`1.GetTagIntervalTreeForBuffer(ITextBuffer buffer) at Microsoft.CodeAnalysis.Editor.Shared.Tagging.AsynchronousTagger`1.GetTags(NormalizedSnapshotSpanCollection requestedSpans) at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__38.MoveNext()
    • We have been seeing that too with the VS2015 RC.  It's been reported, and we have a fix that will be coming out soon.  Details and workarounds here (spoiler: you can ignore that warning)
  • remove unused using statment
    3 Posts | Last post July 27, 2015
    • Hello first of all, I want to say thank you, I was using this extension for several years and it was great.
      BTW I just figure out lately that it is not removing the unused using statement, this is the first happened to me. so what i did is check the configuration. On the inside the Cleaning->Visual Studio the "Run remove unused using statements" option is check.
      I am using the codemaid 0.8.0 on VS2013 update 5
      Thank you
    • You're welcome, I'm glad you've been enjoying it.
      There is an additional clause for removal of unused using statements.  By default, it will skip running that operation during an automatic cleanup on save.  The reason for this is that when a build, triggers a save, which triggers a cleanup, in some scenarios it could cause Visual Studio to lock up.  This was mostly noticed with VS2012, but the default option has been kept the same.  If you manually invoke CodeMaid, then by default it will go ahead with removing the unused using statements.
      I hope that helps.  If it doesn't, can you please open an issue on GitHub along with a minimal code sample?
    • Thank you so much
  • Happen error
    2 Posts | Last post July 19, 2015
    • When I use CodeMaid to load code And click "CodeMaid Spade".The IDE would send a error messagebox.
      My IDE is Visual Studio 2015 RC.And error log is
    • Thanks for reporting the issue.  I am seeing it as well, and have moved this to a GitHub issue here:
  • Use just Spade
    2 Posts | Last post July 03, 2015
    • Hi,
      I like the Spade very much but have no need for other features, like the 'popup' after mouse hover over e.g. a property. Is it possible to disable those features and keep just the Spade 'window'? Thanks.
    • I'm glad to hear you like it.  There currently isn't a configuration option specifically for disabling the tool tip, but you could make a custom build by forking the code or requesting it on the public backlog. 
  • New Line after Closing Brace
    2 Posts | Last post June 24, 2015
    • Hi, firstly thanks for this excellent extension. It's one of the ones I could hardly live without these days.
      I've got a little feature request. I was wondering if CodeMaid could insert spaces after code control-flow block braces. e.g. following if/while/for code blocks.
    • Thanks, that's really great to hear. :)
      We do have that feature request in our backlog, contingent on the Roslyn rewrite (a pretty big effort on the horizon).  Check it out and vote it up here:
  • Great product, question on javascript formatting...
    2 Posts | Last post May 29, 2015
    • I've created a NODE.js console application which has a js file in it.  For some reason the CleanUp Code menuitem remains grayed out...?   Suggestions.  
    • Take a look at the output tool window in VS and switch to the CodeMaid pane.  If you don't see any messages about unrecognized file types, enable diagnostic logging within CodeMaid config.  Most likely the file is not included in the solution or recognized by VS as a JavaScript file through the API.
  • Codemaid Extendion crashes VS when using Edit+Continue
    3 Posts | Last post May 22, 2015
    • Hi,
      I really like this Extendion, but for some reason my VS2013 always crashes when trying to apply changes as long as Code Maid is activated.
      When I deactivate Code Maid, then I can use Edit+Continue without problems.
      This doesn't seems to have anything to do with Formatting, since I saved the Changes before continue.
      This doesn't seems to be a Managed Exception
      I use VB.Net Projects, and have VS2013 + VS2015 preview installed.
    • Hi Alexander -
      I'm glad you really like CodeMaid. :)  That's peculiar behavior you are describing.  CodeMaid explicitly checks the IDE state and will not run if you are in debugging mode.  If you right click and look at the CodeMaid context options you will see cleanup is not available.
      I tried reproducing your issue with a simple VB "Hello World" type application but it did not exhibit any issue like you were describing.
      So we can get to the bottom of it, will you open an issue on GitHub ( with some steps to reproduce (e.g. this is what the code looks like, I break on this line, make this change and then continue causes the exception).
      Thanks for reporting the issue,
      -Steve Cadwallader
    • Interestingly I had the same issue and never suspected CodeMaid. Eventually I started disabling extensions one by one, and disabling CodeMaid fixed the issue. But so far re-enabling CodeMaid has not reintroduced the issue.
      Very weird.
11 - 20 of 155 Items