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
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).
I love this plugin. i was using it with vs 2010 and it worked perfectly, but with vs 2013. It crashes my visual studio again and again. and corrupts my .aspx page (html). i don't know why.?? Please resolve this issue.
I'm glad you love the plugin, and sorry that you're encountering a difficulty. If you can open an issue on GitHub with some more details (e.g. code sample before and after) then I can look into it further.
Some of the internal code details aren't available with the current VS API, but the new Roslyn compiler in VS14 will provide a lot more information that will make those kind of cleanups possible in the future. If you have specific requests check out the Roslyn list in the backlog: https://trello.com/b/VVxVhbQv/backlog
I've also added a new card to the backlog for reorganizing selected files, great idea: https://trello.com/c/cAOyUtUR
I often write a block of code and then Ctrl+S before continuing to the next block. At this point my cursor is usually on a (double) blank line ready to begin writing again.
Unfortunately though, when the code is cleaned up on save the cursor is moved as the line is deleted. Is there any way to prevent this? I really like the format on save and cleaning up of blank lines (along with so many other features!!) so I don't want to completely turn them off.
Yes, you could decorate the structure with an attribute indicating that the order of fields is important. CodeMaid looks for and will ignore members that are decorated with either the StructLayout attribute or the ComImport attribute.
I install CodeMaid on two different computers but when I restart VS 2010, I get an error message : https://app.box.com/s/7140v41rk1hh7x54tina
The most disturbing thing is that I installed version 0.7.3 on another computer some months ago and had no problem.
I really do not know what to do. Any help would be very appreciated.
As of CodeMaid v0.7.4, .NET 4.5 is required on the machine. It did not get correctly marked in the installer so the error message is not very helpful. Do you have .NET 4.5 installed?
There are some more details here, including a link to the older installer: https://github.com/codecadwallader/codemaid/issues/13
I am using CodeMaid on a very large project and it is running out of memory when I get to large auto generated files. They are all CS file. I have tried to exclude these files with these regular expressions and the file name but neither works.
What is the correct regular expression to accomplish this? Can entire directories be excluded also?
The second example is correct syntax. Have you made sure it is on a separate line from other exclusion lines?
Entire directories cannot currently be excluded, but it's in the backlog here: https://trello.com/c/PludijKv
If you're still having problems, please open an issue on GitHub with an export of your CodeMaid settings so we can figure it out together.
Yes, they are on separate lines. The two expressions I mentioned earlier was what I tried to exclude a file by name. I tried using them each separately and together but did not get the result I wanted.
I can still use CodeMaid by explicitly selecting the files to clean but will not be able to use it on the entire solution for now. When support is added for directory exclusion it should work for me since all the files I want to exclude are in the same directory.
Just installed CodeMaid in VS2013 update3. It looks very nice but when I open a C# file from a shared project (As in universal apps) the codemaid spade window stays empty, opening files in regular projects works fine. I am missing something ?
Hi Lex -
Have you installed CodeMaid v0.7.4? That version contained a fix specifically for shared projects. If you have that version installed and are still seeing an issue will you open a GitHub issue with a code sample?
You're welcome - glad you like it!
Spade supports zooming - you can hold down the Ctrl-key and use the mouse wheel to zoom-in or zoom-out. :) Holding down the Ctrl-key and clicking the middle button will reset the zoom to 100%.
Sure if you would like to send a screenshot that would be good (codemaid on gmail). Since it is a full window scale transform vs. a font size change the appearance may not remain as crisp depending on the font.
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?