Subject: Re: Javadoc comments
Hi,
have you tried M-j ?
C-h k yields:
M-j runs the command c-indent-new-comment-line
which is an interactive compiled Lisp function in `cc-cmds'.
(c-indent-new-comment-line optional SOFT)
Break line at point and indent, continuing comment if within one
Thanks for posting your Java specific code Klaus, my .emacs
is now packed to the gunwales with your cc-mode and tempo
enhancements.
hi,
On Wed, 11 Sep 2002, Daniel Hegyi wrote:
I know. However, is there a way of getting this functionality when starting
a new line (i.e., hitting ENTER)? I'd like to get an asterisk then as well.
I discovered by accident that if you turn on auto-fill-mode and begin
typing within a
] '
Subject: RE: Javadoc comments
Hi!
Smart ENTER in all cc-mode based major-modes (so also for jde-mode):
Here is what i have bound to RET in my c-mode-common-hook
(jde-mode inherits all this!):
(defun my-cc-mode-return
Nick == Nick Sieger [EMAIL PROTECTED] writes:
Nick Thanks for the nifty code, Klaus. Your `my-cc-mode-return'
Nick function led me to wonder if there was a way to make
Nick auto-fill/filladapt obey string semantics. It'd be slick if
Nick hitting space after the fill-column would close
I discovered by accident that if you turn on auto-fill-mode and begin typing
within a javadoc comment, the line will automatically wrap, add an asterisk,
and indent to the appropriate place within the comment.
- david
-Original Message-
From: Daniel Hegyi [mailto:[EMAIL PROTECTED]]
I know. However, is there a way of getting this functionality when starting
a new line (i.e., hitting ENTER)? I'd like to get an asterisk then as well.
Daniel
I discovered by accident that if you turn on auto-fill-mode and begin
typing
within a javadoc comment, the line will automatically
Hi,
have you tried M-j ?
C-h k yields:
M-j runs the command c-indent-new-comment-line
which is an interactive compiled Lisp function in `cc-cmds'.
(c-indent-new-comment-line optional SOFT)
Break line at point and indent, continuing comment if within one.
If inside a comment and