Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Suggestion - comment width(Suggestion for altering the semantics of the comment width)
Suggestion - comment width [message #753496] Thu, 27 October 2011 13:38 Go to next message
Jim  is currently offline Jim Friend
Messages: 2
Registered: October 2011
Junior Member
If this is the forum for making suggestions (and it seems that it is not, but I could not find one), please advise.

The formatting options for Java provides a "maximum line width" for comments, as well as code. I'm sure this is useful when printing, but I can't remember the last time I printed any code, so this limit is less than useful for me. For code that becomes "wide" due to nesting, some comments end up being
a narrow
column of
text, like
this,
scrunched
at the
right side
of the
screen.

What I would like to propose is an alternative, so as to preserve current functionality (not break anything), which would be to set a true maximum comment width v. a "line width". The comment width I propose would limit the width of a comment, no matter in which column it started. A value of say 80, would limit a comment block's width to 80 columns, no matter if it started in column 1 or column 100. As it stands now, setting the widths for code and comments to 150 (yes I do, I have long variable names), gives me comment blocks 150 columns wide and they are quite unreadable. I would set the comment width to around 80 and the maximum line width to 150, the latter would still clamp the comments, but at least left-most comments won't be too wide to read.

Re: Suggestion - comment width [message #753535 is a reply to message #753496] Thu, 27 October 2011 15:21 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 27-Oct-11 07:38, Jim wrote:
> If this is the forum for making suggestions (and it seems that it is
> not, but I could not find one), please advise.
>
> The formatting options for Java provides a "maximum line width" for
> comments, as well as code. I'm sure this is useful when printing, but I
> can't remember the last time I printed any code, so this limit is less
> than useful for me. For code that becomes "wide" due to nesting, some
> comments end up being
> a narrow
> column of
> text, like
> this,
> scrunched
> at the right side
> of the
> screen.
>
> What I would like to propose is an alternative, so as to preserve
> current functionality (not break anything), which would be to set a true
> maximum comment width v. a "line width". The comment width I propose
> would limit the width of a comment, no matter in which column it
> started. A value of say 80, would limit a comment block's width to 80
> columns, no matter if it started in column 1 or column 100. As it stands
> now, setting the widths for code and comments to 150 (yes I do, I have
> long variable names), gives me comment blocks 150 columns wide and they
> are quite unreadable. I would set the comment width to around 80 and the
> maximum line width to 150, the latter would still clamp the comments,
> but at least left-most comments won't be too wide to read.

The "forum" for making suggestions is Eclipse's Bugzilla.
Previous Topic:XML Editor error
Next Topic:How to add additional template variables from environment?
Goto Forum:
  


Current Time: Tue Apr 16 13:11:30 GMT 2024

Powered by FUDForum. Page generated in 0.15496 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top