------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.
http://bug
s.kde.org/show_bug.cgi?id=143647
Summary: Need shortcut and support for inserting
comments
Product: kate
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kwrite-devel kde org
ReportedBy: aaronw net com
Version: 2.5.6 (using KDE 3.5.6 "release
41.4" , openSUSE )
Compiler: Target: x86_64-suse-linux
OS: Linux (x86_64) release
2.6.18.8-0.1-default
I am a longtime Emacs user trying to migrate over to Kate.
One feature I use frequently in Emacs is typing Meta+; which
maps to indent-for-comment. I usually use this for C
programming, but this applies to other languages as well.
What this does is inserts a comment block based on where I
am in the code. If I am at the end of a statement, it moves
to the right to a fixed column and inserts /* */ and places
the cursor inside the comment block. If I do it on a blank
line inside a function, the comment block is lined up with
the rest of the code.
Ideally, it would be nice if I could use a keystroke to
insert a comment block and have it smart enough to do single
line and multi-line comments. Kate is able to do this to a
limited extent, but it would be nice if a single keystroke
could do this.
I suppose it's possible to do this by writing a macro,
though I will need to figure out how to do this.
And finally, it would be great of a comment is inserted just
before a function definition if a doxygen style comment gets
inserted, with all of the parameters automatically inserted,
i.e.
/**
* short
* param parm1
* param parm2
*
* return
*/
int myfunc(int parm1, void *parm2)...
and the cursor placed in the first line so a description can
be added.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel kde.org
ht
tps://mail.kde.org/mailman/listinfo/kwrite-devel
|