Please have it as an option and don't force all of us to use IDEA's text reformatting every time we paste some Java.
IDEA reformatting feature is nice but it does not support our style (e.g. alignment of consecutive assignment statements) so here we use it only in extreme cases. Thanks, Tal > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of David Smiley > Sent: Wednesday, November 28, 2001 5:33 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [Eap-list] Re: pasting a selection should paste with users > style > > > +10! I've been hoping IDEA would do this for quite some time. This isn't > only good for pasting in poorly formatted code, but is also great when > simply copy and pasting a piece of your own code... that when > pasted is not > indented properly. **Think about it guys**... doesn't that > happen about 80% > of the time you paste? That you need to delete a few tabs or add a few > tabs... or think carefuly before pasting about where the > insertion point is > first... and then afterwards indent/unindent the whole series of lines? > Isn't that annoying? At a minimum, the proper *indentation* is > all I desire > to be automatically corrected. To go a little beyond this... IDEA could > detect if an entire class member was pasted in and then make sure that the > proper number of spaces surround it. Upon cuting, the inverse > could happen > by making sure the proper number of blank lines are in the spot > where it was > copied. I'm always having to adjust the number of blank lines after a > cut-paste. Full formatting too is okay but not as important as > indentation. > This feature would be sooo click yet not hard to implement, I figure. I > propose that pasting automatically adjust the indentation & surrounding > spacing and then if some special key is held down then format the piece of > code too. > > Opinions? > > ~ David Smiley > > > From: "Vestal, Rick" <[EMAIL PROTECTED]> > > Date: Wed, 28 Nov 2001 15:17:20 -0600 > > 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-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
