Re: Refactoring wishlist
Adam Sroka <[email protected]> Wed, 21 Sep 2011 11:08:17 -0700
| Newsgroups | gmane.comp.programming.refactoring |
|---|---|
| Message-ID | <CALaPUVfKKaENqCX89CGLbn69=pRH9T9WgT-QFK4vjAntTrhkxQ@mail.gmail.com> |
How about a way to flatten a parameter object, i.e. the inverse of introduce parameter object (see here: http://www.eclipse.org/forums/index.php/m/664542/) The way I normally do this is to change the signature to take the types of the properties, then reference the properties of the object, then inline those: foobar(foo) // becomes foobar(foo.bar, foo.baz) // becomes foobar(bar, baz) If this could be done in one step it would be useful. On Wed, Sep 21, 2011 at 10:50 AM, Joshua Kerievsky < [email protected]> wrote: > ** > > > On Tue, Sep 20, 2011 at 9:46 PM, Joshua Kerievsky < > [email protected]> wrote: > > > ...More coming.... too tired right now to think of all the refactorings > on > > my wish list. > > > > Eclipse has no easy way to do "Invert If" as we have in Resharper: > > http://devnet.jetbrains.com/message/5304283;jsessionid=B936C65941ADB4655429890C362EF7FA > > Also, in Eclipse, you can't "Push Down" methods from an interface into a > class that implements that interface. IntelliJ/R# supports that. > > best > jk > > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/refactoring/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/refactoring/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/