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

(200) Review
Visual Studio
2015, 2013, 2012, 2010
Download (579,100)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (200)
Q and A (152)
Sign in to write a review
Sort by:

by Andrew Sanostee | at 7:55 PM

by Alex from Russia | Wed 6:22 AM

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

by João BP | Tue 12:42 PM

by drventure | September 17 2015

Very nice add in for VS2013.

The Code Spade tool alone is worth the download.

by MujkicHaris | September 10 2015

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

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

by Kjetil Tonstad | June 24 2015

Very useful!

by Dylan777 | June 17 2015

Love this tool. Makes it so easy to keep code tidy. I really like the fast switch shortcut to switch between webpage and code behind files.

Thanks for your effort!

Steve Cadwallader June 18 2015
| Edit |

Awesome, thanks for the kind words. :)

by NirmanD | June 17 2015

Excellent tool

by lepine kong | June 06 2015

Could you fix bugs ? For example remove unused reference does not work like the native VS feature. It does not remove some references especially if reference is missing.

Steve Cadwallader June 07 2015
| Edit |

CodeMaid invokes the native VS remove unused references - they are the same feature.

If you have a specific bug you'd like for us to look into, please log it here:

by Susant sahu | May 23 2015

Excellent tool for code cleaning and formatting, i use it every time before checking in Code to TFS, Very simple to use, very effective.

Automatic Cleanup on Save option is really awesome.

Steve Cadwallader May 23 2015
| Edit |

That's great to hear, thanks! :)

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

  • 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 26, 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.
  • Unable to update to latest from v0.3.7
    2 Posts | Last post May 21, 2015
    • I am using Codemaid v0.3.7 in VS2010 and i want to upgrade it to the latest one. When i try to update, i am getting the error message like "Extension CodeMaid must be uninstalled through the Windows Add/Remove Programs dialog." But i couldn't find any codemaid entries in Windows Add/Remove Programs. Please help me to this and i am very much excited about the update. Please help me...
    • CodeMaid v0.3.7 is a very old release, about four years ago.  Yes, that version would need to be uninstalled from the Control Panel Add/Remove programs dialog.
      If you are not seeing in the list, you can also re-run the CodeMaid v0.3.7 installer and choose to 'uninstall'.  It is available here:
      Also, you need to be logged in to the same account that as used to do the install.  Some more details here:  
  • Spade for Javascript/html
    2 Posts | Last post May 19, 2015
    • Will there ever be spade for js and/or html files?
    • Spade is built on top of the code models exposed by Visual Studio, and currently they do not provide anything for HTML/JS files.  So no, it is unlikely that will be supported anytime soon.
  • For VS Community 2013
    4 Posts | Last post May 16, 2015
    • Is it possible to use CodeMaid for VS Community 2013?
    • Yes, absolutely!
    • If I understand correctly, I can download the application at this website ( and start installing it for today?
    • Yes, that's correct.  You can also install it from within Visual Studio by going to Tools->Extensions and searching for CodeMaid.
11 - 20 of 152 Items