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 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
I really like this Extendion, but for some reason my VS2013 always crashes when trying to apply changes as long as Code Maid is activated.
When I deactivate Code Maid, then I can use Edit+Continue without problems.
This doesn't seems to have anything to do with Formatting, since I saved the Changes before continue.
This doesn't seems to be a Managed Exception
I use VB.Net Projects, and have VS2013 + VS2015 preview installed.
Hi Alexander -
I'm glad you really like CodeMaid. :) That's peculiar behavior you are describing. CodeMaid explicitly checks the IDE state and will not run if you are in debugging mode. If you right click and look at the CodeMaid context options you will see cleanup is not available.
I tried reproducing your issue with a simple VB "Hello World" type application but it did not exhibit any issue like you were describing.
So we can get to the bottom of it, will you open an issue on GitHub (https://github.com/codecadwallader/codemaid/issues) with some steps to reproduce (e.g. this is what the code looks like, I break on this line, make this change and then continue causes the exception).
Thanks for reporting the issue,
Interestingly I had the same issue and never suspected CodeMaid. Eventually I started disabling extensions one by one, and disabling CodeMaid fixed the issue. But so far re-enabling CodeMaid has not reintroduced the issue.
I am using Codemaid v0.3.7 in VS2010 and i want to upgrade it to the latest one. When i try to update, i am getting the error message like "Extension CodeMaid must be uninstalled through the Windows Add/Remove Programs dialog." But i couldn't find any codemaid entries in Windows Add/Remove Programs. Please help me to this and i am very much excited about the update. Please help me...
CodeMaid v0.3.7 is a very old release, about four years ago. Yes, that version would need to be uninstalled from the Control Panel Add/Remove programs dialog.
If you are not seeing in the list, you can also re-run the CodeMaid v0.3.7 installer and choose to 'uninstall'. It is available here: https://bitbucket.org/s_cadwallader/codemaid/downloads/CodeMaid_v0.3.7.zip
Also, you need to be logged in to the same account that as used to do the install. Some more details here: https://bitbucket.org/s_cadwallader/codemaid/issue/93/unable-to-uninstall-previous-version-to
Codemaid does not appear to uninstall from VS2013. I have version v0.7.6 installed and after uninstalling and restarting VS2013, Codemaid menus still show up and all items still working. Something I'm missing ?
It appears that when I choose uninstall that it disables but doesn't remove it. When I think uninstall the second time it is gone from my list (extensions and updates) but still is a menu on vs2013 along with all functionality still working.
I'm glad you got it figured out, but not sure why you were having difficulties. You do need to restart VS for the process to complete, but that's the same VSIX infrastructure and process used by all VS extensions.
I have installed Windows XP SP3 32bit.
.NetFramevork 4.5 can not be installed on WindowsXP (Supported Operating System: Windows 7 Service Pack 1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Vista Service Pack 2). Where can I download a previous version CodeMaid.
Roslyn will definitely open some doors, but is a huge rewrite that will take some time. I'm hopeful it will improve the VB API experience.
VB code reorganization is in the backlog here: https://trello.com/c/TD0jaAab