How come my Eclipse automatically wraps the line? [message #221783] |
Mon, 16 July 2007 18:11 |
Eclipse User |
|
|
|
Originally posted by: www.nospam.net
Hi,
Eclipse automatically wrap one long line into next line, for example,
myObject.callMethod(); //was like that
//now becomes:
myObject.
callMethods();
Another example:
statement; //this is a line comment
//becomes:
statement; //this is
//a line
//comment
How can I configure it so this does not happen? Thank you very much.
|
|
|
Re: How come my Eclipse automatically wraps the line? [message #221791 is a reply to message #221783] |
Mon, 16 July 2007 18:16 |
Eclipse User |
|
|
|
Originally posted by: hendrik_maryns.despammed.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
www schreef:
> Hi,
>
> Eclipse automatically wrap one long line into next line, for example,
>
> myObject.callMethod(); //was like that
>
> //now becomes:
> myObject.
> callMethods();
>
> Another example:
>
> statement; //this is a line comment
>
> //becomes:
> statement; //this is
> //a line
> //comment
>
>
> How can I configure it so this does not happen? Thank you very much.
I would very much doubt Eclipse does this automatically. It is part of
the source formatter, invoked by Ctrl+Shift+f. You can fine-tune it
under Window->Preferences-> Java->Code Style->Formatter
H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGm7Yae+7xMGD3itQRAoGlAJsFkaRn6w6XjFpfmYRMmlYw8+DnMQCd HixG
/tgmoFr/qp/6wDn8reL0cjM=
=qCUU
-----END PGP SIGNATURE-----
|
|
|
Powered by
FUDForum. Page generated in 0.08503 seconds