> View the structure pane and select an inner class. Hit CTRL-X to cut > it. Navigate to another file and view its structure pane. Highlight an > inner class. Hit CTRL-V and paste it in. Or, perhaps, highlight to a > package in the source browser and hit CTRL-V and paste it into a > package.
Yes, possibly, we will provide this functionality in future. > Multiselect a bunch of methods within a class using the structure pane. > Go to another file/class and paste them in. This will work in Pandora very soon (for static members only for now). > Anonymous classes might conceivably operate in the same manner. The difficulty is that they are not shown in any of tree-like views currently... Best regards, Valentin Kipiatkov ----------------------------------------------------------- IntelliJ Software, http://www.intellij.com/ "Develop with pleasure" ----------------------------------------------------------- ----- Original Message ----- From: "Kirk Woll" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 9:22 PM Subject: RE: [Eap-list] Refactoring anonymous classes > >> So have one refactoring that allows moving classes from anywhere to > >> anywhere. Anywhere is defined as anonymous, inner, static inner > (nested) > >> and top level. > > > >Or even better, to have only one refactoring at all, which is able to > >refactor anything into anything in any possible way. > > Sarcasm noted. :) Except that I think one idea is good, and one idea is > silly, therefore making a poor analogy. > > The rejection of this idea startles me. After all, I think the pinnacle > of Idea's refactoring abilities would be to accommodate the following > scenarios: > > View the structure pane and select an inner class. Hit CTRL-X to cut > it. Navigate to another file and view its structure pane. Highlight an > inner class. Hit CTRL-V and paste it in. Or, perhaps, highlight to a > package in the source browser and hit CTRL-V and paste it into a > package. > > Multiselect a bunch of methods within a class using the structure pane. > Go to another file/class and paste them in. > > Anonymous classes might conceivably operate in the same manner. > > And so forth. > > This to me would be the most intuitive possible way to refactor. This > is what I do exclusively to move classes now. Just expounding on your > own ideas. > > Kirk > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
