History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-17506
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Oleg Stepanov
Reporter: Andrew Ovchinnikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Search for same code in refactorings.

Created: 05 Aug 06 23:49   Updated: 20 May 07 21:55
Component/s: Refactorings - Extract Method
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 216
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=17506


 Description  « Hide
In IntelliJ IDEA there was a nice feature.
When you have duplicate code in a bunch of methods in a class and apply, for example, Extract Method refactoring to one of that pieces, it automatically had founded and replaced all occurencies of the same code.
R# does not.

It would be a very nice feature to have.



 All   Comments   Work Log   Change History      Sort Order:
Ulli Hafner - 24 Aug 06 14:51
Hi,

that would be really nice. The same kind of functionality already is present in the introduce field refactoring, so maybe it's not too difficulkt to provide a similar "replace in all occurences" flag in the method extract refactoring.