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

RSRP-294628: Feature suggestion: refactor static method to method in new (not-yet-existing) class

$
0
0
Reporter Joshua McKinney (joshka) Joshua McKinney (joshka)
Created Apr 15, 2012 9:40:41 AM
Updated Apr 16, 2012 9:02:14 PM
Priority Normal
Type Feature
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
Move to folder refactoring allows creation of a new folder, however move to another type refactoring does not allow creation of a new type. This would be perfectly useful for static methods.

e.g.

class A
{
void Foo() { Bar(); }
private static void Bar() { }
}

becomes:

class A
{
void Foo() { B.Bar(); }
}

class B
{
public static void Bar() { }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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