Last Updated: September 09, 2019
·
918
· alexandrebr

Finding and managing cloned code

Today I saw this tip on channel 9, I think this can be helpful for some developers,

Select a code fragment, click with right button and select Find Matching Clones in Solution. It will show you all the code clones.

Like the attached image.

Picture

The video below show this tip in action.
<iframe style="height:288px;width:512px" src="http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview-PTB/Visual-Studio-Ultimate-2012-Finding-and-managing-cloned-code-PTB/player?w=512&h=288" frameBorder="0" scrolling="no" ></iframe>