Inline refactoring

Hi,

Is there any possibility of a Inline refactoring being added to ReSharper 1.0? (Or will it be in the EAP for the next version?)

It is one of the refactorings I miss the most from IDEA, that is not already in ReSharper. It allows you to safely alter a large amount of code. E.g. by using it to move instance methods or just inline unnecessary variables.

Sincerely

Jens Peter Grosen

2 comments
Comment actions Permalink

Do you mostly need Inline Variable or Inline Method? Inline Variable is easy
to implemenrt while Inline Method is one of the most sofisticated
refactorings to implement.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Jens Peter Grosen" <no_mail@jetbrains.com> wrote in message
news:17248041.1087483820761.JavaMail.itn@is.intellij.net...

Hi,

>

Is there any possibility of a Inline refactoring being added to ReSharper

1.0? (Or will it be in the EAP for the next version?)
>

It is one of the refactorings I miss the most from IDEA, that is not

already in ReSharper. It allows you to safely alter a large amount of code.
E.g. by using it to move instance methods or just inline unnecessary
variables.
>

Sincerely

>

Jens Peter Grosen

>
>


0
Comment actions Permalink

&gt; Do you mostly need Inline Variable or Inline Method?
&gt; Inline Variable is easy
&gt; to implemenrt while Inline Method is one of the most
&gt; sofisticated
&gt; refactorings to implement.

I mostly use/miss Inline Variable.
For instance in IDEA I usually use extract variable on part of an expression, then e.g. print out the value of the variable/try something with the variable. When I am done I just inline the variable again.

On the other hand Inline Method is very handy in those rarer cases where you need to remove a method, replace one method with another or move the method.

Sincerely

Jens Peter Grosen

0

Please sign in to leave a comment.