I may have missed something here but I have not found it. I always like to know what changes are going to be made before anything goes making them. So being able to scan the solution then review the suggested changes would be a must for me.
as a test I created a simple VS2013 MFC application with various classes and code then ran CodeMaid Clean up All Code. The result was then not able to be compiled a CodeMaid removed the EOF character from the end of the .rc2 file, so I would be very fearful of running this on larger projects.
Thanks for the constructive criticism, that is very helpful.
For that specific item with the .rc2 EOF indicator not being on a separate line, Issue #18 opened and resolved for the next minor release. There is a "Remove end of file trailing new line" option that could be disabled in the interim.
I've also placed a card in the backlog to investigate adding integration tests that would iterate across all the different project templates and invoke CodeMaid actions upon them. https://trello.com/c/Sqv2bIWC
First its awesome and second its awesome, very light weight and incredible. But for some reasons it doesn't work on solution level clean-up all. I have mix projects in solution, ASP.NET MVC, Web API, Silverlight, WCF, Windows Service etc.. and total around 50+ projects excluding unit test projects :)... if it work at solution level then save more time for me and save me 50+ individual project level clicks...
VS2013 had a known issue with solution level cleanups being disabled. They fixed it recently with Update 2. If that doesn't do the trick a shortcut is you can multi-select projects and do cleanup on several at once. Also feel free to open a BitBucket issue and we can figure it out if it wasn't the VS update.
Code Maid persistently crashed the GUI for the project I maintain without me using any code maid features. I guess its for hobby use only. Using C++ VS2010 Vista.
The loaded solution consists of 8 legacy programs with origins in VMS consisting mostly of C with Win API with some newer simple C++.
The VS GUI crashed in the following instances: rearranging window positions, selecting class view and while browsing the code before I un-installed it. After un-installing and before installing of code maid there were no VS crashes. I have been using VS 2010 to maintain this code since 2010 without any GUI crashes.
I seem to have lost the Cleanup and Collapse buttons in the Solution Explorer window. Is there an option to switch them back on? I recently installed VS2013 Update 3 - but I can't be 100% sure that this removed them.
Hi Ben -
They were deliberately removed in the v0.7.3 update as Microsoft has a native collapse all button already in the solution explorer toolbar from VS2012 and up. There's been a number of people asking that question though so I'll roll back that change and re-introduce them in the next release.
As a VS2013 user, were you aware of the native collapse button? Do you use the cleanup all code button regularly that it's easier to have it present there vs. the menu?
Doh! No, I didn't notice the native Collapse button!
I tend to CleanUp on Save rather than use CleanUp All option - so it was just Collapse that I was missing really. Don't reintroduce them on my account...
Thanks for your help Steve - CodeMaid is really useful!
No worries, thanks for the details. It's mostly for VS2010 users but I was curious if there were other reasons they would still be helpful in VS2013.
Really glad to hear you're finding CodeMaid useful. :)
There is a way to obtain a past version from CodeMaid (before v0.7.3)?
By some reasons directly related to the project where I'm working, I cannot update .NET Framework to v4.5, being limited to use v4.0 (and prior), and I really love/need the collapse function (*badum tss*).
Thanks in advance.
Hello, i love that tool. Two requests :
1. Would it be possible to add configuration of spade default layout, because i had always to re-select alphabetically which i use in general.
2. I use the alphabetically mainly because i don't want to see the region information in the list, would it be possible to deactivate 'region' view in the layouts.
Hi Marcus -
Very glad to hear you love it. :)
Your first suggestion is already present on the public backlog here: https://trello.com/c/ZvCliKnH
Your second suggestion I have added here: https://trello.com/c/1WTL58Lb
Please visit to vote them up and add any other comments.
The latest version (v0.7.4) requires .NET 4.5. That wasn't marked in the installer so it didn't prompt to install it like it should.
If you can't install .NET 4.5 for some reason, the previous version (v0.7.3) is available on GitHub.
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?
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.
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:
Hope it helps.
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.
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.
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.
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.