User Code "Clean up" feature

Ask general questions here.
sergii
Posts: 30
Joined: Fri Jun 07, 2013 11:07 pm

User Code "Clean up" feature

Post by sergii » Fri Jun 07, 2013 11:48 pm

I have noticed that I can easily find all unused items in repository with Clean Up feature. That's really good for keeping things clean after some experimentation with recordings.

When I'm moving some action to User code, the actual *.cs file is leaving just call of the function and the implementation is moved to User Code as expected.
After playing with User Code actions for some time I had a several not needed anymore actions, so I have deleted them from the *.rxrec by right-clicking. Automatically calls of these functions disappear from the *.cs file, but the implementation of User Code functions is still in the *.UserCode.cs.

Is there an automatic way to search for such implementations of functions they don't have calls and probably have been lost?
As far as I see I can right-click in the "classes" tree and select option "find references" manually for each function. But sometimes it's easier to make solution wide search for functions that have implementations but have never called anywhere and most probably get lost.

Any ideas how to "Clean up" the UserCode files?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: User Code "Clean up" feature

Post by Support Team » Tue Jun 11, 2013 4:10 pm

Hi,

Such a "Clean up" and automatic search is currently not provided, but I already forwarded this feature request in order to be discussed.

Regards,
Markus