Well, If we had auto word wrap at the right margin (sigh... ;-) then we could have automatic insertion of the proper comment characters... and everybody would be happy.
+1 BTW on previous posts to handle in a intellijent way joining lines with comments and breaking a comment line. Jacques "Thomas Singer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I like all the other ideas, but would not like to see this last one. // > > Ok, accepted. But if any other keystroke could could generate the line > comment on the next line (e.g. Ctrl-Enter?), it would be nice. > > > Perhaps an option? > > The best solution. > > Why? We use sequences of // comments instead of /* */ comments, > because the latter ones can't be nested. > > Tom > > > On Tue, 09 Jul 2002 09:46:39 +1200, Pete Hendry <[EMAIL PROTECTED]> > wrote: > > > I like all the other ideas, but would not like to see this last one. // > > is used a lot for one line comments and I would prefer the behaviour to > > assume a 1 line comment and not require the extra keypress to start > > entering code. > > > > Perhaps an option? > > > > Pete > > > > Thomas Singer wrote: > > > > > Even better: > > > > > > // Hello world| > > > > > > leads -- as you said -- to: > > > > > > // Hello world > > > // | > > > > > > and hitting now Enter again (removes the empty comment like in a > > > wordprocessor an empty enumeration is removed): > > > > > > // Hello world > > > | > > > > > > Tom > > > > > > > > > On Mon, 8 Jul 2002 20:31:17 +0300, "dimiter" <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > >>+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
