Inlining refactoring

One thing I miss from the Smalltalk Refactoring Browser is the ability to
replace a method call or a variable use with the contents of the method or
the value of the variable. In other words, to inline the method call or
variable use.

///ark


6 comments
Comment actions Permalink

Mark,

Inline variable is now supported by respective refactoring. Inlining a method is in our near plans.

Eugene.

0
Comment actions Permalink

I have noticed that this is missing too - it seems to be a natural feature
in light of the extract method refactoring. (Not that I've ever used Smalltalk!)
Indeed, this makes me wonder if the ideal would be to be able to refactor
in both directions???


0
Comment actions Permalink

Eugene - just received your reply to Mark when sending mine.....that's good
to hear.


0
Comment actions Permalink

Eugene Vigdorchik wrote:

Mark,

Inline variable is now supported by respective refactoring. Inlining a method is in our near plans.


According to this JIRA issue, it's not scheduled for 3.0 ... ?

http://www.jetbrains.net/jira/browse/RSRP-11277

0
Comment actions Permalink

Hello Chris,

Inline method is not planned for 3.0, you are right.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


CM> Eugene Vigdorchik wrote:
CM>
>> Mark,
>>
>> Inline variable is now supported by respective refactoring. Inlining
>> a method is in our near plans.
>>
CM> According to this JIRA issue, it's not scheduled for 3.0 ... ?
CM>
CM> http://www.jetbrains.net/jira/browse/RSRP-11277
CM>


0
Comment actions Permalink

"Eugene Vigdorchik" <no_reply@jetbrains.com> wrote in message
news:3100269.1174683523515.JavaMail.itn@is.intellij.net...
>

Inline variable is now supported by respective refactoring. Inlining a
method is in our near plans.


Wow - I never even noticed that Inline Variable is available. Excellent!

///ark


0

Please sign in to leave a comment.