Excellent. If just "Reorganize Code" worked with C++ and sort import statements worked for C++ includes as well, that would have been super. But I still love it for the excellent outline view (CodeMaid Spade) and "Format Comment" has saved me a lot of time and made it more fun to document my code.
Hello first of all, I want to say thank you, I was using this extension for several years and it was great.
BTW I just figure out lately that it is not removing the unused using statement, this is the first happened to me. so what i did is check the configuration. On the inside the Cleaning->Visual Studio the "Run remove unused using statements" option is check.
I am using the codemaid 0.8.0 on VS2013 update 5
You're welcome, I'm glad you've been enjoying it.
There is an additional clause for removal of unused using statements. By default, it will skip running that operation during an automatic cleanup on save. The reason for this is that when a build, triggers a save, which triggers a cleanup, in some scenarios it could cause Visual Studio to lock up. This was mostly noticed with VS2012, but the default option has been kept the same. If you manually invoke CodeMaid, then by default it will go ahead with removing the unused using statements.
I hope that helps. If it doesn't, can you please open an issue on GitHub along with a minimal code sample? https://github.com/codecadwallader/codemaid/issues
I like the Spade very much but have no need for other features, like the 'popup' after mouse hover over e.g. a property. Is it possible to disable those features and keep just the Spade 'window'? Thanks.
I'm glad to hear you like it. There currently isn't a configuration option specifically for disabling the tool tip, but you could make a custom build by forking the code or requesting it on the public backlog.
Hi, firstly thanks for this excellent extension. It's one of the ones I could hardly live without these days.
I've got a little feature request. I was wondering if CodeMaid could insert spaces after code control-flow block braces. e.g. following if/while/for code blocks.
Thanks, that's really great to hear. :)
We do have that feature request in our backlog, contingent on the Roslyn rewrite (a pretty big effort on the horizon). Check it out and vote it up here: https://trello.com/c/t3ZG4jsB
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.