Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Add duplicate code detection.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

clawton
New Member

USA
8 Posts

Posted - May 11 2018 :  1:13:09 PM  Show Profile  Reply with Quote
Add functionality that is similar to VS's code clone analysis.
At least for C#

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - May 11 2018 :  1:50:18 PM  Show Profile  Reply with Quote
Are you asking for this feature in C#, or asking for us to look at and try duplicating this C# feature? I don't recognise this feature, but a quick search got me to this page:

https://msdn.microsoft.com/en-us/library/hh205279.aspx

which talks about this being available in C#.

Are you trying to analyse your entire solution, or are you looking for VA to be more helpful when you are using Extract Method?

zen is the art of being at one with the two'ness
Go to Top of Page

clawton
New Member

USA
8 Posts

Posted - May 11 2018 :  1:56:28 PM  Show Profile  Reply with Quote
Yes - this is the feature. It is only available in VS Enterprise so having similar functionality for those of us with only VS Professional would be great!

The feature request is for the whole solution.

See this open source tool that does great things (free for personal use but not commercial):
http://www.harukizaemon.com/simian/

Perhaps work with them to license and put a nice GUI on top?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - May 12 2018 :  11:17:09 AM  Show Profile  Reply with Quote
Unfortunately this is not something we are currently considering doing. We are looking into the idea of having Extract Method look for duplicates of the extracted code, and offering to replace those as well with a function call, but this would be looking for exact matches, and based on code you are already extracting.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000