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.
Wonderful extension! Thanks to Steve for this amazing piece of work. Pretty much stopped me from buying Visual Assist for VS 2013 (binded Spade to Alt+m and now I can navigate symbols in the file just like I do in VA).
Suggestion: Spade should have a search box where I can search all the symbols that it shows in the current file.
The rest of the functionality just keeps making this extension a must have. Works beautifully in our moderately sized codebase.
Great tool. However, it doesn't seem to format VB as well as C#. One thing I noticed is it does not add an empty line between functions. Running CodeMaid on the below will not add an empty line between Foo and Bar.
Public Class Class1 Public Function Foo() As Integer Return 1 End Function Public Function Bar() As Integer Return 2 End Function End Class
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.
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.
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.
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
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.