Often, the code you just pasted from another place may not be valid (uncompileable) in the new context. And formatting it automatically will not do a great job. I think it's still better to make such things step by step. We prefer to think about reorganizing the code more like a refactoring than a simple copy/paste operation. Maybe what you would like to have is to keep the selection highlighting of the pasted block so that you can immediately call Ctrl-Alt-F (Layout code) if you are sure.
Best regards, Eugene Belyaev IntelliJ Software, http://www.intellij.com "Develop with pleasure" > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Vestal, Rick > Sent: Thursday, November 29, 2001 12:17 AM > To: '[EMAIL PROTECTED]' > Subject: [Eap-list] pasting a selection should paste with users style > > > If I highlight somebody elses code (which, of course, has > just horrible > style) and then paste it, I think it should automatically > paste with my style formatting. > > ? > > Thanks, > > -- Rick > > _______________________________________________ > 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
