Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

edit -> format_all

1 view
Skip to first unread message

Henry Eck

unread,
Nov 2, 2006, 8:05:58 PM11/2/06
to
I am finding that in Jbuilder 2005 Foundation, the edit -> format_all will
always delete extra spaces between a ; and the start of a comment //.

This means that you cannot line up your comments on the right, e.g.:

double [] x; // X coordinates (consider these to be lined up vertically
:-)
int n; // count

will always get reformatted to:

double [] x; // X coordinates
int n; // count

which can be harder to read. I can't find any way to stop this in the
project properties, or the preferences for the editor.

Thanks.

H.

Paul Furbacher [TeamB]

unread,
Nov 2, 2006, 9:45:39 PM11/2/06
to

I've always associated that style of commenting
with assembler code. The same goes for trying line
up the equals sign for member variable assignments.
Why bother? (a rhetorical question)

The only thing I can suggest (not willing to spend the
time to try it myself) is to change the editor preferences
to use hard tabs and tab away.

Personally, I prefer to have comments on lines preceding
the code. Logic: I read the comment, and then, I am ready to
read the code.


--


Paul Furbacher (TeamB)

Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.

Henry Eck

unread,
Nov 7, 2006, 6:48:09 PM11/7/06
to
Thanks for the idea, unfortunately that doesn't seem to fix it.

(NetBeans does not have this problem btw, but JB has nice features that NB
doesn't :-) Cheers.

"Paul Furbacher [TeamB]" <pfurb...@mac.com> wrote in message
news:454aad42$1...@newsgroups.borland.com...

0 new messages