CodeMaid

Free

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.

(189) Review
Visual Studio
2015, 2013, 2012, 2010
Download (537,118)
7/19/2015
0.8.0
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (189)
Q and A (141)
Sign in to write a review
Sort by:

by zeloran9 | Fri 7:31 PM

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.
Thanks!

Steve Cadwallader Sun 5:39 PM
| Edit |
Delete

You're very welcome! :)

by HassanAli5502327 | Wed 2:02 PM

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 |
Delete

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 |
Delete

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: https://github.com/codecadwallader/codemaid/issues

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 |
Delete

That's great to hear, thanks! :)

by VisualNewbieVisual | May 20 2015

very useful Tools

by Adelost | May 17 2015

Excellent. If just "Reorganize Code" worked with C++ and sort import statements worked for C++ includes as well, that would have been super. But I still love it for the excellent outline view (CodeMaid Spade) and "Format Comment" has saved me a lot of time and made it more fun to document my code.

Steve Cadwallader May 21 2015
| Edit |
Delete

Glad you're enjoying it, and feel free to make suggestions on the public backlog here: https://trello.com/b/VVxVhbQv/backlog

by Rickysco | May 13 2015

Looking at all the reviews first. Will rate later. Rating 5 for now.

by Zodarion | May 12 2015

by Tagoma | April 23 2015

Excellent tool!

by QuYong | April 11 2015

by BillW33 | April 09 2015

A very well written and very helpful tool.

Steve Cadwallader April 10 2015
| Edit |
Delete

Thanks :)

by JPDavinci | April 03 2015

Steve;
I use this tool every day. Just made a small donation, but won't forget about you in future as I know you work hard on this stuff. Simply an excellent tool all around!

Steve Cadwallader April 04 2015
| Edit |
Delete

That was very generous of you and it is much appreciated. Keep enjoying the tool, more to come! :)

by dwight12 | April 03 2015

I have few extensions and addins in Visual Studio.

This is one my must-haves.

I love the ability to clean entire solutions.

Steve Cadwallader April 04 2015
| Edit |
Delete

Wonderful, glad to hear it! :)

by probackpacker | March 23 2015

by Ondřej | March 13 2015

Unfortunately does not support Visual Basic .NET code, otherwise 5/5.

Steve Cadwallader March 15 2015
| Edit |
Delete

Thanks for the feedback. We do support VB, but you're very right that some of the features are limited. Reorganization for example we've tried to implement in the past but the VS API's for VB didn't work out like the C# ones.

If there's any specific feature you're missing, feel free to point it out in the backlog - or it may be something already there to vote up: https://trello.com/b/VVxVhbQv/backlog

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


  • Running other 3rd-party cleaner
    2 Posts | Last post August 23, 2014
    • Hi,
      GREAT extension. I noticed the possibility to run the "silent cleanup" of the ReSharper extension. It would be awesome if one could just give CodeMaid a shortcut, which it should perform before or after the cleanup. Maybe I could trigger a silent cleanup of the Telerik-Extension "JustCode" as well?
      
      Marc
      
    • Hi Marc -
      
      Glad you like it, and that's a great suggestion - thank you!  :)  I've added it to the backlog here for comments/voting: https://trello.com/c/rLdN2VeT
      
      -Steve Cadwallader
  • Switching not only file extensions
    2 Posts | Last post August 05, 2014
    • Hi there,
      it would be great to configure the switching between defined classes matched by regex or something. In our case we have something like FooService.cs that is thightly bound to FooServiceContract.cs. It would be nice to define some sort of switching between these two.
      
      Thanks, 
      Malte
    • Thanks for the suggestion.  Added to the public backlog on Trello for voting/comments: https://trello.com/c/14TU2J1g
  • Spade Background Color
    4 Posts | Last post July 20, 2014
    • Is there a way to change the toolwindow backcolor of Spade? I just want to match it with my other windows. I'm using the color theme editor extension.
    • Currently CodeMaid has two themes (dark and light) to match the Visual Studio themes.  The tool window backgrounds are #FF252526 and #FFF6F6F6 respectively.  By default CodeMaid will auto-detect the IDE tool window background color and choose one of the two themes from there.
      
      Feature requests can be added to the backlog here: https://trello.com/b/VVxVhbQv/backlog
      
      Or the relevant source code is available here:
      https://bitbucket.org/s_cadwallader/codemaid/src/844a130514d96981bc8d0c21f01718d9242e5249/CodeMaid/UI/ThemeManager.cs?at=default
      
      Hope it helps.
    • Thanks! just edited the code and it worked perfectly. :)
    • Cool, glad to hear it. :)
      
      We've moved over to GitHub this weekend, so if you've got something you think is generic enough you'd like to include in the main code line you can submit a pull request there.  If not no worries too.
  • Remove whitespace on blank line.
    3 Posts | Last post July 15, 2014
    • I have "Remove end of line whitespace" checked, but that option doesn't delete whitespace that exists on a blank line.  (i.e. a line with whitespace only.)  Is there a way to tell CodeMaid that I want ALL trailing whitespace to be removed?  CodeMaid version is 0.7.1.  Visual Studio version is Professional 2012 Update 4.
    • Nevermind.  It's working correctly, it just doesn't look like it is...
    • Glad you figured it out.  Visual Studio does have the concept of a virtual cursor position - that's how the next line of code looks to be indented to the same level before you start writing anything.  If you press the 'end' key you'll see it toggle between the virtual end of line and actual end of line, or you can enable viewing whitspace.
  • Where do i report a bug ?
    3 Posts | Last post June 26, 2014
    • I believe I've found an issue, where do I report bugs? 
      
      The boards on Trello (which I also love) don't look like an appropriate place...
    • BitBucket is where the source code and issue tracker lives: https://bitbucket.org/s_cadwallader/codemaid/issues
      
      If you can include a code sample and what edition of VS that will be very helpful.
    • Issue posted at https://bitbucket.org/s_cadwallader/codemaid/issue/309/vs2013-update-2
  • reorganize code
    2 Posts | Last post June 20, 2014
    • Why doesn't this reorganize vb.net codes?
    • There hasn't been a lot of interest, but there is a card in the backlog you can vote up here: https://trello.com/c/TD0jaAab/141-reorganization-support-for-vb
  • hi used variables are not highlighted
    2 Posts | Last post June 10, 2014
    • hi used variables are not highlighted after installing this extension or do we need any further settings for this.?
    • CodeMaid shouldn't(tm) be related to any settings about highlighting unused variables.  I don't know that Visual Studio does that by default, I think it comes from other third party extensions like ReSharper.
  • CodeMaid settings get reset every week or two.
    6 Posts | Last post May 14, 2014
    • This is really frustrating.  Every couple of weeks, my CodeMaid settings get set back to defaults.
      
      I don't want the defaults, that's why I changed my settings.
    • Sorry to hear it.  I haven't seen that issue or had any other users report it.  Have you noticed any patterns about when your settings are getting reset, such as it happens after performing an operation in another extension?  My best guess would be that the shared space where user preferences are stored are getting overwritten.
      
      As a workaround until we can identify the source of the reset, I'd recommend exporting your settings when they're valid so you can quickly re-import them once you've noticed they have been reset.
    • I have the same problem, just today! And before I found the codemaid settings lost, I made an update of Visual Studio 2013 (Update 1). Thus, although I can not say this for sure, the lost settings may correspond to updates made in VisualStudio.
    • Thanks for the details.  Has anybody else noticed a similar issue when applying the VS2013 Update 1?
    • I can now say for sure that the same problem also happens after updating to VS 2013 Update 2. All Settings were lost again.
    • Thanks for reporting it, and I saw the same thing occur with VS2013 Update 2.  Card created in the backlog here: https://trello.com/c/Iwgn3De3
  • can't find Microsoft.VisualStudio.Package.LanguageService.10.0
    2 Posts | Last post May 09, 2014
    • When i right click a solution and click 'clean all code...' i get below error message. This is in VS2013 update 1
      
      ---------------------------
      Microsoft Visual Studio
      ---------------------------
      Could not load file or assembly 'Microsoft.VisualStudio.Package.LanguageService.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
      ---------------------------
      OK   
      ---------------------------
      
    • This is a known Microsoft bug in VS2013.  They've promised to fix it in VS2013 Update 2.
      
      Please follow through this issue for details on a workaround: https://bitbucket.org/s_cadwallader/codemaid/issue/220/vs2013-cleanup-all-code-shows-error
  • My CodeMaid isn't effect in javascript file
    2 Posts | Last post May 02, 2014
    • the code map is ok in .cs file, but it is not effect in js file.
      ps.when I open a project,the spade show it refresh the js file,but then it show nothing ,my IDE is vs2013 
    • VS does not have a code model available through its API for JavaScript files.  So what you are seeing is expected - Spade does support C# but does not support JavaScript.
31 - 40 of 141 Items