CodeMaid

Free

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.

(215) Review
Visual Studio
2015, 2013, 2012
Download (632,546)
11/21/2015
0.9.0
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (215)
Q and A (156)
Sign in to write a review
Sort by:

by Andrew - QLD, Brisbane | January 21 2016

Great tool. Easy. Simple. Never had any problems. Does exactly what you want it to.

Steve Cadwallader January 21 2016
| Edit |
Delete

Thanks, I appreciate hearing that. :)

by ReisorDev | January 14 2016

by FeydCron | January 12 2016

Could be a really helpful extension but I need to deactivate it since in VS2012 I recognized some (inacceptable) stability and performance issues:
* drastic decreasing of IntelliSense update speed
* sporadic hang of VS2012 during project reload after doing a TFS merge
* sporadic hang of VS2012 due to some "background task" which won't complete - Also seems to be related to IntelliSense updates

All these issues were gone after deactivation, so there definitely exists problem.

Steve Cadwallader January 12 2016
| Edit |
Delete

:( Really sad to hear you had a bad experience in VS2012. If you'd be interested in working through it together, it would be really helpful to open an issue on GitHub with additional information like what other tools/extensions you had installed, what project language you were using, etc.

by Zakhar Amirov | January 07 2016

Breaks Visual Studio 2015. Analyze stop working. Solution properties can be opened with Object reference not set error. Visual Studio randomly crashes on start and project open.
Nothing changed for almost half a year.

Steve Cadwallader January 07 2016
| Edit |
Delete

Sorry to hear you had a bad experience. Issues with details are welcome on GitHub to diagnose issues you are seeing. Our last major release was 6 weeks ago, not 6 months.

by Daniel Wilianto | January 06 2016

This is a marvelous extension that make my life as developer so much easier. It's embarassing that I only found it just now. Better late than never, huh.

Steve Cadwallader January 06 2016
| Edit |
Delete

Really glad to hear it's making things easier. :)

by Josh Quintus | December 29 2015

Just like a maid in real life, CodeMaid keeps your code clean and organized without you having to do anything.

Configuration is very easy.

Steve Cadwallader December 31 2015
| Edit |
Delete

Thanks, really appreciate the review. :) A simple configuration was one of our key original goals so it's awesome to hear that it's noticed. :)

by koblongata | December 18 2015

by Arley W. Schrock | December 12 2015

Awesome extension

by Just Karl | December 02 2015

I especially like the code cleaning and code reorganizing. I'm now digging into Spade (if you will forgive the pun)

Steve Cadwallader December 03 2015
| Edit |
Delete

Great, thanks for the feedback. :) Pun allowed. ;)

by Marcos Sousa da Silva | November 27 2015

Já se tornou imprescindível. Parabéns pelo trabalho, Steve!

by naviniea | November 23 2015

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

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

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

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

You're very welcome! :)

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


  • Option to not use menu-bar, additional icons etc.
    2 Posts | Last post January 11, 2016
    • As a user who is only interested in CodeMaid Spade I find little support for this usage only. I have to disable almost everything under options and then I still see a menu bar injected in the Standard toolbar and injected in the Solution Explorer. Some of these icons like "Collapse All" are then duplicates of icons that VS already has by itself.
      
      It would be nice to have an option "Only the Spade Window, nothing else".
    • We do have a card in our backlog for more customization options of toolbars and context menus here: https://trello.com/c/O5ldkODW  Please vote/comment there.
  • Sort Lines not working
    2 Posts | Last post November 12, 2015
    • I wanted to sort a set of #include statements in a CPP files, but when I select the lines and choose Sort Lines the only result I get is a new line at the end of my selection.
      
      Am i mis-understanding the Sort Lines feature?
    • Can you please open an issue on GitHub with a code sample showing the lines you are trying to sort?
      
      https://github.com/codecadwallader/codemaid/issues
  • spade is empty
    2 Posts | Last post November 05, 2015
    • hi
      im just starting off with codemaid. i installed it and reopened visual studio. but the spade is empty. do i need to "start" it somehow? icouldnt find any such instructions.
      i have resharper active. is that a clash?
      the solution is pretty big (has about 20 projects in it)
      thanks
      
    • Welcome to CodeMaid. :)
      
      What code language are you trying to view in Spade?  Spade currently supports C#, VB and C++ based on the VS API for FileCodeModel.  Other languages are not currently supported as that API isn't available for them.
      
      If you are using one of those languages, there is a refresh button in the top-left of the Spade toolbar you can also select to try and force Spade to reload the file if there was an issue loading it the first time.
      
      We use ReSharper all the time, and I've used CodeMaid on solutions up to 150 projects so I don't think either of those should be a problem.
      
      If you're still having an issue please open an issue on GitHub so we can look into it further: https://github.com/codecadwallader/codemaid/issues
  • Single line auto properties
    3 Posts | Last post October 20, 2015
    • Hi,
      First i want to thanks you for your fabulous work.
      CodeMaid is my companion since several years now.
      Since i update to vs2015+CodeMaid 0.8.1 this week, i think the formatting of auto properties has changed:
      
      Before, they were formatted as this:
      public string Name { get; set; }
      
      Now, i got this:
      public string Name
      { get; set; }
      
      I've tried to switch 'Update accessor... SA1504' and 'Update single method ... SA1502' on/of without success
      
      Mins
    • Forget my question aabout the property formatting : it's a breaking change in VS 2015.
      
      Again thanks for the awesome work you provide for us.
      
      Mins
    • Thanks for the kind remarks, I'm very glad you like it.
      
      That sounds odd, and isn't the behavior that I'm seeing.  One other thing you could check out is the CodeMaid settings at CodeMaid->Options->Cleaning->Insert.  By default, insert blank line padding before/after single-line properties is disabled.  It doesn't sound like it would explain your issue and it seems like you've found a different source, but I would be interested to hear what you found.
  • Code spade suggestions
    3 Posts | Last post September 17, 2015
    • Great addin, almost exactly what I was looking for.
      
      I had a couple suggestions in specific for the CodeSpade tool.
      
      1. When you press the hotkey to bring up the code spade, it'd be VERY nice if it could come up with the code element that the cursor is currently in highlighted in the tree. That would help enormously with "seeing" where you currently are in the code.
      
      2. Given the code spade tool, it'd be +really+ nice to have a couple extra commands to jump to the "next" method and "previous" method, given the current cursor location. VS has a next and prev method command, but they only work with VB as far as I can tell.
      
      Still, awesome tool, and very handy.
      
      Is the code up on Github or something? I'd be happy to look into whipping up a pull request for these things.
      
      Darin
      
    • Duh. Open source. I see that now. I'll have a look at that.
      
      
    • Wonderful, glad you like it. :)
      
      Yep, open source as you found - contributions welcome!  I recommend checking out http://www.codemaid.net/contribute/ for some basic details.
      
      Our backlog is on Trello: https://trello.com/b/VVxVhbQv/backlog  Your first suggestion does exist https://trello.com/c/j7DTRXsy but the second one is new so please suggest it there.
      
      Some tips specifically for extending Spade:
        - https://github.com/codecadwallader/codemaid/blob/master/CodeMaid/UI/ToolWindows/Spade/
        - SpadeToolWindow inherits from ToolWindowPane to integrate into VS
        - SpadeViewModel is instantiated by SpadeToolWindow and backs SpadeView
        - SpadeView is the WPF visual.  It does have more code behind than I would like, primarily to perform a lot of custom mouse/key/drag and drop operations to drive the TreeView based control.
      
      Hope it helps and feel free to reach out with questions.  These discussion boards on VSG aren't usually the easiest - Trello is preferred.
  • unnecessary indentation of a comment section
    2 Posts | Last post August 31, 2015
    • Hi,
      I like the extension, but I noticed a strange cleaning-up that I don't know how to disable. If I have in my .h file in a cpp project the following simple code:
      
      /* Copyright (C) ...
       * Proprietary and confidential
       * Written by ...
       */
      
      #include "../Utils/ValidatedArticleLinks.h"
      
      /// //////////////////////
      /// TStarter
      class TStarter ...
      
      then cleaning up adds one space in the TStarter comment:
       /// //////////////////////
       /// TStarter
      class TStarter
      
      this has to do with the copyright section at the top, because if I remove it, there is no problem.
    • I'm glad to hear you like it.  Will you please open an issue on GitHub so we can look into that further?  https://github.com/codecadwallader/codemaid/issues
  • Why is "Clean Up Code" Menu inactive?
    2 Posts | Last post August 31, 2015
    • I installed CodeMaid 0.8.1 under fresh installed Visual Studio 2015 but the menu "Clean Up Code" is greyed or inactive. The file is in the solution of course. And auto clean up on save seems doesn't work as well. But spade and other things are working  properly.
    • If Spade is able to load a document, then cleaning should(tm) work and be enabled as they share some common underlying infrastructure.
      
      You could try enabling diagnostics mode (CodeMaid->Options->Diagnostics mode) and then see what messages are posted to the Output tool window in Visual Studio.
      
      If that doesn't point out something obvious, please open an issue on GitHub so we can look into it further: https://github.com/codecadwallader/codemaid/issues
  • Function Parameter Indentation
    5 Posts | Last post August 22, 2015
    • Hi,
      I think this is a great tool, and special thanks to taking time to write it.
      
      Question:
      int func1(
        int32_t a,
        int32_t b);
      
      If I run CodeMaid becomes
      int func1(
      int32_t a,
      int32_t b);
      
      I.e. it looses indentation of the parameters, 
      How can I disable it?
      
      thanks.
      
    • Hi Sumonto -
      
      Thanks for your kind comments.
      
      I wasn't able to reproduce this, but I suspect it could be a similar issue to the other one you posted (see next reply to consolidate).
      
      Hope it helps,
      -Steve Cadwallader
    • Hi Steve,
      Thanks for your reply, however I could not find an option under 
      "Tools->Options->Text Editor->C/C++->Formatting->Spacing" to disable "
      To disable "function param indentation" issue?
      
      Is there any way you could help me more.
      
      thanks.
    • OK found it!
      Tools->Options->Text Editor->C/C++->Formatting->Indentation->In Existing code...
      Disable it.
    • Great, glad you found it and thanks for posting that for anybody else who might be looking for it.
  • Sorting methods alphabetically
    5 Posts | Last post August 21, 2015
    • Is there a way to just sort methods alphabetically regardless of access or type? I tried looking into Formatting but I need to either go with access before type or type before access. I want to ignore both type and access and just sort the entire thing by name.
    • Currently no, I don't think there's a configuration that would match your request.  You may make a feature request on the Trello backlog (https://trello.com/b/VVxVhbQv/backlog) or the code is open source if you would like to look to add it (https://github.com/codecadwallader/codemaid)
    • I see. Thanks for the response. Just posted on Trello :)
    • How do I uninstall it?
      
      Windows 10, it doesn't appear in the "Program and Features" section, I can't find any option to remove it in the settings from within VS. So?
    • Inside Visual Studio under Tools->Extensions and Updates where all extensions are listed is where you can uninstall.
  • Variable Declaration alignment
    2 Posts | Last post August 19, 2015
    • Hi,
      Is there a way to leave the variable declaration indentation un-touched.
      
      E.g.
      ShortType1   st1      = 0;
      LongLongType longtype = 0;
      
      Becomes
      ShortType1 st1 = 0;
      LongLongType longtype = 0;
      
      Is there a way to disable this?
      
      Thanks
      
      
    • CodeMaid invokes Visual Studio's native formatting, and then extends upon it.  The removal of spaces in variable declarations is done by Visual Studio's formatting, and you can see the same behavior if you invoke Edit->Advanced->Format Document.  You can tell CodeMaid not to invoke Visual Studio's native formatting at CodeMaid->Options->Visual Studio->"Run format document", but you would lose several other cleanup actions in the process.  You can also look for additional Visual Studio configuration options under Tools->Options->Text Editor->C/C++->Formatting->Spacing.
1 - 10 of 156 Items