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.
I think this is a great tool, and special thanks to taking time to write it.
If I run CodeMaid becomes
I.e. it looses indentation of the parameters,
How can I disable it?
Hi Sumonto -
Thanks for your kind comments.
I wasn't able to reproduce this, but I suspect it could be a similar issue to the other one you posted (see next reply to consolidate).
Hope it helps,
Thanks for your reply, however I could not find an option under
"Tools->Options->Text Editor->C/C++->Formatting->Spacing" to disable "
To disable "function param indentation" issue?
Is there any way you could help me more.
Is there a way to just sort methods alphabetically regardless of access or type? I tried looking into Formatting but I need to either go with access before type or type before access. I want to ignore both type and access and just sort the entire thing by name.
Currently no, I don't think there's a configuration that would match your request. You may make a feature request on the Trello backlog (https://trello.com/b/VVxVhbQv/backlog) or the code is open source if you would like to look to add it (https://github.com/codecadwallader/codemaid)
Is there a way to leave the variable declaration indentation un-touched.
ShortType1 st1 = 0;
LongLongType longtype = 0;
ShortType1 st1 = 0;
LongLongType longtype = 0;
Is there a way to disable this?
CodeMaid invokes Visual Studio's native formatting, and then extends upon it. The removal of spaces in variable declarations is done by Visual Studio's formatting, and you can see the same behavior if you invoke Edit->Advanced->Format Document. You can tell CodeMaid not to invoke Visual Studio's native formatting at CodeMaid->Options->Visual Studio->"Run format document", but you would lose several other cleanup actions in the process. You can also look for additional Visual Studio configuration options under Tools->Options->Text Editor->C/C++->Formatting->Spacing.
Thanks, I really appreciate hearing that. :)
It should be possible. I don't think there is an existing card in the backlog for that feature, would you like to add one? https://trello.com/b/VVxVhbQv/backlog
There is a card in our backlog to support Python here: https://trello.com/c/RcqeuQEi
Please feel free to vote/comment on it. The card also includes a link to the pull request showing how PHP support was added as an example for what it would take to add support for Python.
I'm using VS Premium 2013, Update 5 and CodeMaid v 0.8.0. Selecting the "Find In Solution Explorer" results in the exception message, "The Command to execute is not enabled." How do I enable the Command?
Are you sure the currently active document exists within the solution?
If you are still having issues, please open an issue on GitHub (https://github.com/codecadwallader/codemaid/issues), including information about what type of file you are trying to find (e.g. C#, VB, etc.)
When opening large classes, say with 5k lines in it, spade may take more than a minute to load.
Is it expected behavior? Most of the time, when opening a class you may need to user visual studio, but it hangs for that amount of time. Perhaps, if Spade would load asynchronouslly on background, might imnprove performance in this case.
Additionally, it might check the cache first, and then load async. It will take about the same time to load, but will definitely avoind disrupting work. If you need to use it as soon as opening a class, you may just wait for it.
Spade does load asynchronously in the background. Please check your settings at CodeMaid->Options->"Load models asynchronously". This setting is on by default, but if it has been turned off then you would see the behavior you described.
If you are still having an issue, please open an issue on GitHub here with more details (e.g. VS version, configuration settings): https://github.com/codecadwallader/codemaid/issues
I opening my solution while got alert message it says check ActiityLog.xml.
The file content show as below.
System.InvalidOperationException: Unexpected false at Roslyn.Utilities.Contract.ThrowIfFalse(Boolean condition, String message) at Microsoft.CodeAnalysis.Editor.Shared.Tagging.ProducerPopulatedTagSource`1.GetTagIntervalTreeForBuffer(ITextBuffer buffer) at Microsoft.CodeAnalysis.Editor.Shared.Tagging.AsynchronousTagger`1.GetTags(NormalizedSnapshotSpanCollection requestedSpans) at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__38.MoveNext()
We have been seeing that too with the VS2015 RC. It's been reported, and we have a fix that will be coming out soon. Details and workarounds here (spoiler: you can ignore that warning) https://github.com/codecadwallader/codemaid/issues/118
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