| Store | Cart

[Komodo-discuss] Feature suggestion: Word wrap and comments

From: David Brewer <davi...@gmail.com>
Wed, 7 Oct 2009 12:23:50 -0700
I often find myself typing very long block comments in Komodo (usually
in PHP).  Once I get past a couple of lines, it can be cumbersome to
manually manage the process of adding line breaks where I want them in
the comment to keep the comment within my preferred 78 character
width.

In my dream universe, Komodo would support real word wrap where you
would be forced to follow the character width guideline established by
the "edge line" setting.  However, this would quite likely become
annoying when typing in code rather than comments, so my dream is that
you would be able to further choose whether this form of word wrap
happened throughout your file or only when typing block comments.  It
would be awesome if I could type:

/**<enter>

and then just blather on as if I were in a word processor, with line
breaks being managed for me automagically until I decide to type:

<enter>*/

to close the comment.

A possibly easier compromise solution might be to change the 'reflow
paragraph' functionality so that it is comment aware and would, for
example, maintain the leading ' * ' when in a php block comment.

Thoughts on this?  Is there already a way to achieve something similar
to this that I'm missing?

David

Recent Messages in this Thread
David Brewer Oct 07, 2009 07:23 pm
Eric Promislow Oct 07, 2009 07:36 pm
Todd Whiteman Oct 07, 2009 07:42 pm
Eric Promislow Oct 07, 2009 07:44 pm
David Brewer Oct 07, 2009 08:29 pm
Troy Topnik Oct 07, 2009 08:59 pm
Messages in this thread