>One thing that would save a bit of typing though - automatically putting in >a string concatenation if I hit Enter in the middle of a string: > > private final String example = "This is a multi-line|" > >(press Enter) > > private final String example = "This is a multi-line" > + "|" > >or even: > > private final String example = "This is a multi-line\n" > + "|" > >Now that would rock! Hmm, not sure about the \n though.
Agree on this, too. Tom On Tue, 9 Jul 2002 18:35:36 +0100, "North, Dan (Thought Works )" <[EMAIL PROTECTED]> wrote: >no no NO! There's a reason why there is different syntax for single-line >and multi-line comments (the clue is in the names...). > >If I type /* or /** I would expect IDEA to do the Right Thing with respect >to newlines, but it would be really annoying to have to use another >keystroke for the vast majority of times I use single-line comments on, umm, >a single line. > >One thing that would save a bit of typing though - automatically putting in >a string concatenation if I hit Enter in the middle of a string: > > private final String example = "This is a multi-line|" > >(press Enter) > > private final String example = "This is a multi-line" > + "|" > >or even: > > private final String example = "This is a multi-line\n" > + "|" > >Now that would rock! Hmm, not sure about the \n though. > >Oh, did I mention how much faster and snappier the last couple of builds >have been? > >Cheers, >Dan/tastapod > > >-----Original Message----- >From: Paul Bradshaw [mailto:[EMAIL PROTECTED]] >Sent: 09 July 2002 17:32 >To: [EMAIL PROTECTED] >Subject: Re: Join line in comments > > >+1 > >It works that way in javadoc, but not in block or single line comments. It >should be easy to add, and would really be VERY nice... > >"dimiter" <[EMAIL PROTECTED]> wrote in message >agci96$jjj$[EMAIL PROTECTED]">news:agci96$jjj$[EMAIL PROTECTED]... >> +1 >> >> also it would be good if the new line works consistently in the one-line >> comments. >> >> I mean when I have this: >> >> // hello |world >> >> tohit <enter> and produce this: >> >> > // hello| >> > // world >> >> >> --dimiter >> >> "Thomas Singer" <[EMAIL PROTECTED]> wrote in message >> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> > The cool Join Line action should be smart enough to work properly in >> > comments: >> > >> > /** >> > * hello| >> > * world >> > */ >> > >> > // hello| >> > // world >> > >> > should produce: >> > >> > /** >> > * hello world >> > */ >> > >> > and >> > >> > // hello world >> > >> > Tom >> >> > > >_______________________________________________ >Eap-features mailing list >[EMAIL PROTECTED] >http://lists.jetbrains.com/mailman/listinfo/eap-features _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
