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
Hi, Great Extension. By default, *.rc2 files should be excluded. If you remove the last CR/LF at the end of those files (ie if the file doesn't end with an empty line), the project doesn't compile anymore. Fred
This "great" plugin destroyed one week of work. Im really angry, cleaning up singel files works good, but when it came to cleaning up the whole solution it is deleting whole files! Big fat warning to everybody! DO NOT CLEAN THE WHOLE SOLUTION AS MENTIONED!
I'm very sorry to hear that happened to you. I have not heard of it happening before to anyone else, and I'd like to determine a root cause if you have any interest in pursuing it further. Please contact me directly via codemaid on gmail if you would like to discuss.
That's odd that you'd be seeing intermittent behavior like that. Have you tried the classic uninstall/reinstall technique? If that doesn't help please report some more details on BitBucket and we can take a look: https://bitbucket.org/s_cadwallader/codemaid/issues
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.
First off, just want to say what a great plugin this is. Question is, when I go to format HTML code it moves part of a tag onto the next line. Example being if I have a grid column with a number of properties it will format it so there is two on each line etc. Can anyone help?
Very glad you like it. :)
Visual Studio has some built in formatting options that cause that behavior, and CodeMaid invokes Visual Studio's formatting as part of the cleanup process. Check out your settings under Tools->Options->Text Editor->HTML (Web Forms)->Formatting->Tag wrapping
Hope it helps.
Not sure who else to ask, so might as well ask the Dev :) I'm trying to exclude file types that exist with in a folder named Generated. I tried .*\Generated\.cs. This seems to work initially. When I select a file inside one of these folders, the option to clean the file is gone, which is exactly what I would expect. However, I try to clean all code and I get an error from the parser that \g is an unrecognized escape sequence. How would I go about getting this to work? Thanks in advance.
Hi Derek -
The exclusion expressions are fed through a regular expression matcher - have you tried escaping the back slash \\ ?
If that doesn't do it, go ahead and vote up the backlog card here with your comments: https://trello.com/c/WTkal55t
Hope it helps, :)
Is it possible to exclude the "References" folder when doing a cleanup all on a project that has web references? Since these generated classes can at times be large and cleanup serves no purpose on those files since they will never be edited but always regenerated automatically, ignoring those files would speed up the clean up all process dramatically.
Thanks for the response Alexander, that's very helpful. :)
Greg: There's also a backlog feature card to extend the exclusion rules to include files with specifically identified <auto-generated> tags in the header which would cover those as well. If you'd like to vote it up it is located here: https://trello.com/c/WTkal55t
No, not currently. The VS API provides a code model for C# and C++ so those are the supported languages. In the future when Roslyn is released I expect to be able to increase the number of supported languages.
Did the progress bar get changed in 0.7.0? I just updated my Win 8.1/VS2010 machine to 0.7.0 and both the progress window and the task bar icon now use the somewhat useless Win 8 travelling progress bar that doesn't actually show any progress.
No, there have been no updates to the progress bar with the v0.7.0 release. Some operations are indeterminate (e.g. building an individual project vs. the solution) but that hasn't changed since previous releases.
Well, that's strange. I rolled back to 0.6.2 and the progress bars worked properly. To confirm the problem I upgraded to 0.7.0 again and, lo and behold, I still get the proper progress bars. I don't know if the second upgrade fixed it or the multiple restarts of VS, but works now.
The CodeMaid progress bars are a great feature, but they were rendered useless by the Win8 style progress bar.