In looking at various questions that are specifically mentioning a tool (as they are often tool questions that should have been asked on Stack Overflow years ago instead of here), I've come across this question which vexes me:
The question ends with:
I do not want that the view has to have the knowledge about the helper classes, that is the main view model shall provide all the properties... but the functions shall delegate the work to the helper classes to keep the viewModel class maintainable.
Is there any known add in /tool for visual studio, which can automatize this?
And the way that I would look at fixing it would be to remove the tool request, de tag the tool related tag and move on. However, there are two answers.
Resharper 7 Beta can do this - it is called "Extract class". You can try it for free.
New refactorings: specifically, the intensely requested Extract Class refactoring to split cumbersome classes into single-responsibility classes, and Transform Out Parameters to Tuple refactoring for functional style supporters. Note that Extract Class is currently only available in ReSharper Internal mode (devenv.exe /ReSharper.Internal).
"Extract method" usually means to "move portion of one method's code to a new method while maintaining functionality".
Sounds like a case for using extension methods. Simply move Function1() to MyViewModelHelper, make it static, and change the first/only paramater to be like this:
The second answer goes on to answer how to do the refactoring.
So, if I remove the tool recommendation part of the question, the first (and accepted answer three up votes) becomes invalidated. Saying "use this tool and select this menu option" isn't a good answer without that tool recommendation part of the question. Its not a great answer in the first place, but it does answer the question and was apparently helpful.
Is there something that can be done to fix this question? Does it require a mod to come in and delete an up voted and accepted answer? Is that within the purview of the mod's scope? Does it require getting a bunch of down votes and 20k answer delete votes instead?
Note: the actual question is not mentioned in the text here to try to avoid any meta effect. If you want to see it, it is in a comment.