Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-288082: Why does "Rename a function" sometimes go to irrelevant files

$
0
0
Reporter Denis Abramov (sparky2708) Denis Abramov (sparky2708)
Created Jan 30, 2012 8:37:55 PM
Updated Mar 25, 2012 8:40:54 PM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Sergey Shkredov (serjic.shkredov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Suppose I am trying to rename a PROTECTED or PRIVATE function/sub. When I hit CTRL_R_R to rename it using R# I see that R# is scanning a LOT of files. The only classes I think it SHOULD scan are classes that inherit my class (that is the only way someone might call a "PROTECTED" function/sub). From what it looks like I think it tries to find this sub/function in ANY CLASS or MODULE and then it tries to rename it. I can't see in what situation that would be applicable - to me it is slow and it doesn't really make sense! If the method/sub was PUBLIC then I could kind of see that it would need to scan files but for PRIVATE and PROTECTED it just doesn't make sense to me. I don't think I would ever want that behavior...

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>