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.

(181) Review
Visual Studio
2015, 2013, 2012, 2010
Download (512,666)
3/21/2015
0.7.6
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (181)
Q and A (137)
Sign in to write a review
Sort by:

by Susant sahu | Sat 6:29 AM

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 Sat 11:24 AM
| 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

by Patrick Smacchia [NDepend] | March 08 2015

by RaviShankark | February 23 2015

I am using this tool from past 1 year and it is very good and handy tool for developer.

by Ammar.Zaied | February 13 2015

Good work.

by Ray Cheng Ray Cheng | February 04 2015

CodeMaid sorts "using" directives, but StyleCop wants the "System" directives be listed first.

After running CodeMaid clean up, I got the following StyleCop warning.

"System using directives must be placed before all other using directives."

Steve Cadwallader February 05 2015
| Edit |
Delete

You can configure VS to place system directives first (old convention they've gone away from). It is in Tools->Options->Text Editor->C# and called "Place system directives first..."

Hope it helps.

by michal_bb | January 30 2015

A must have plugin for VS. I especially like the ability to go find an opened file in solution explorer, code cleanup, code reorganizing and showing progress in the taskbar. 5*****

Steve Cadwallader January 31 2015
| Edit |
Delete

Thanks! :)

by Steven Goodgrove | January 29 2015

by ErdincDogrul | January 27 2015

Awesome and perfect. thank you

Steve Cadwallader January 31 2015
| Edit |
Delete

You're very welcome! :)

by Michaël Polla | January 05 2015

This extension is really great ! I wish I'd known it before. For now I mostly used the cleanup functionality, and it's very useful. It already works well with Visual Studio 2015 (Preview). Thank you for this great work !
**
[FR] Je recommande cette extension, très pratique. J'ai pour l'instant surtout utilisé la fonction de "nettoyage" du code, qui apporte des modifications très appréciables. Fonctionne très bien avec Visual Studio 2015 (Preview).

Steve Cadwallader January 06 2015
| Edit |
Delete

You're very welcome! :)

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


  • 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.
  • visual studio stop running after use codemaid
    2 Posts | Last post March 14, 2014
    • After install codemaid, i'm using visual studio 2010, and use the extension my visual studio stop running and  when i start again, i got the same result. I have uninstalled the codemaid extensioni and there is not any problem again. Do you have some setting or patch for this issue?
    • I'm not sure if this will help the problem you are describing, but there is a known issue that some users have encountered with multithreading performance.  You can disable that optimization through CodeMaid->Configuration->General->"Multithread options".  This is the default in the latest BETA release.
      
      If that isn't the problem, please open an issue on BitBucket (https://bitbucket.org/s_cadwallader/codemaid/issues) including some details such as what you are doing when the error occurs, any relevant screenshots, and if the issue occurs consistently or erratically.
  • CodeMaid Window
    2 Posts | Last post March 08, 2014
    • My codemaid window was closed. Now I can't find how to re-open it.  Am I missing something simple?
    • The Spade tool window can be opened by selecting the CodeMaid menu across the top and then selecting the Spade menu item.
  • Out of memory
    2 Posts | Last post February 27, 2014
    • A project i'm on has 1400 clean'able code files associated with it, and so I was expecting it to take a while to run.  I came back a while later to find it ran out of memory causing VS to crash after around 1000 files had been sifted.  I re-ran the clean on the solution and the problem didn't appear again.
      
      Does this mean individual file changes are being stored in memory?  I didn't close anything down between the two run-throughs so I don't think more memory was in use the first or second time.
      
      Any info on how to prevent this from happening in the future would help.  This was on a laptop with 8gb ram with other development software running (sql server etc.)
    • Hi Phil_O -
      
      With the v0.7.0 release we confirmed that CodeMaid has zero object growth using the Red Gate ANTS Memory Profiler during batch cleanup operations.  The overall memory demands of Visual Studio will increase though the more you open documents.  The same behavior can be seen if you were to manually open each of those files and close them - Visual Studio's memory footprint continues to increase in size over time.
      
      Unfortunately I don't have a great suggestion currently, other than to do smaller cleanups (e.g. select half the projects and clean them, then select the other half later).
      
      Sorry I don't have a better solution.  If anybody else has any recommendations on limiting the Visual Studio memory footprint I'd appreciate it.
      
      -Steve Cadwallader
  • Facebook React JSX support
    2 Posts | Last post February 24, 2014
    • When do you plan to add JSX support?
    • It's not on the radar, but I've added it to the backlog for voting/comments here: https://trello.com/c/VxCKZLop
31 - 40 of 137 Items