push method functionality

Is it any way to achive "push method/variable/property to super class"
functionality in Resharper?

== Sample ==

Before:
public class Super
{
}

public class Sub: Super
{
public void foo()
{
string blah = "blah";
//...
}
}


After:
public class Super
{
public void foo()
{
string blah = "blah";
//...
}
}

public class Sub: Super
{
}


Thanks,
Chepel


1 comment
Comment actions Permalink

Thank you for the interest in ReSharper.

There is no way to do this in ReSharper 1.0.x. Available refactorings are
listed in ReSharper/Refactor submenu; other code transformations are present
in ReSharper/Code submenu. More refactorings are to appear in the next
version.

Thanks,
--
Andrey Simanovsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



"Chepel" <net@net.net> wrote in message news:cjir7j$ler$1@is.intellij.net...

Is it any way to achive "push method/variable/property to super class"
functionality in Resharper?

>

== Sample ==

>

Before:
public class Super
{
}

>

public class Sub: Super
{
public void foo()
{
string blah = "blah";
//...
}
}

>
>

After:
public class Super
{
public void foo()
{
string blah = "blah";
//...
}
}

>

public class Sub: Super
{
}

>
>

Thanks,
Chepel

>
>


0

Please sign in to leave a comment.