[android-developers] Re: word wrapping

2011-09-14 Thread AndyD
Sure, there are lots of useful settings.  I use them so I don't waste
time prettying up my code by hand.  Just set up the wrapping
preferences the way you like, type away (e.g. a long comment that goes
off to column 300), and hit Ctrl-S to apply the preferences.

Go to Window-Preferences, then Java-Code Style-Formatter.  Create a
new profile (or use a built-in one), then click Edit.  Most of the
settings you're looking for are in the Line Wrapping tab, but there
are a few more useful ones in the Comments tab.

-AndyD

On Sep 13, 4:22 pm, bob b...@coolgroups.com wrote:
 Is there a way to make Eclipse do word wrapping?  Do you all use word
 wrapping or no?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: word wrapping

2011-09-14 Thread Óscar de la Mata
Hi Kenny.

Do you mean Soft Wrap?
If so. Go to:
Main menu  Eclipse Preferences  Java Code Style  Formatter  Edit (Active
Profile)  Line wrapping (tab)
And config here your wrap preferences.


Saludos!


2011/9/13 Kenny Riddile kfridd...@gmail.com

 On 9/13/2011 4:38 PM, Tor Norbye wrote:

 He's probably asking about soft wrapping. Eclipse does not support it
 directly; see 
 https://bugs.eclipse.org/bugs/**show_bug.cgi?id=35779https://bugs.eclipse.org/bugs/show_bug.cgi?id=35779
 (though from a quick skim it looks like there might be some support in
 the framework and some plugins to enable it.)

 -- Tor

 On Tue, Sep 13, 2011 at 1:28 PM, Kenny Riddilekfridd...@gmail.com
  wrote:

 On 9/13/2011 4:22 PM, bob wrote:


 Is there a way to make Eclipse do word wrapping?  Do you all use word
 wrapping or no?


 You mean word wrapping your source code?  I've never seen anyone want to
 or
 do that ever in my entire development career.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@**
 googlegroups.com android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en



 Uggh...looks terrible to me.  If you have lines in your code that are long
 enough to require word-wrapping, then those lines are too long, especially
 with today's large monitors and high resolutions.  Decompose them and make
 the code more readable IMO.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-developers@**googlegroups.comandroid-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: word wrapping

2011-09-13 Thread Kenny Riddile

On 9/13/2011 4:22 PM, bob wrote:

Is there a way to make Eclipse do word wrapping?  Do you all use word
wrapping or no?



You mean word wrapping your source code?  I've never seen anyone want to 
or do that ever in my entire development career.


--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: word wrapping

2011-09-13 Thread Tor Norbye
He's probably asking about soft wrapping. Eclipse does not support it
directly; see https://bugs.eclipse.org/bugs/show_bug.cgi?id=35779
(though from a quick skim it looks like there might be some support in
the framework and some plugins to enable it.)

-- Tor

On Tue, Sep 13, 2011 at 1:28 PM, Kenny Riddile kfridd...@gmail.com wrote:
 On 9/13/2011 4:22 PM, bob wrote:

 Is there a way to make Eclipse do word wrapping?  Do you all use word
 wrapping or no?


 You mean word wrapping your source code?  I've never seen anyone want to or
 do that ever in my entire development career.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: word wrapping

2011-09-13 Thread Kenny Riddile

On 9/13/2011 4:38 PM, Tor Norbye wrote:

He's probably asking about soft wrapping. Eclipse does not support it
directly; see https://bugs.eclipse.org/bugs/show_bug.cgi?id=35779
(though from a quick skim it looks like there might be some support in
the framework and some plugins to enable it.)

-- Tor

On Tue, Sep 13, 2011 at 1:28 PM, Kenny Riddilekfridd...@gmail.com  wrote:

On 9/13/2011 4:22 PM, bob wrote:


Is there a way to make Eclipse do word wrapping?  Do you all use word
wrapping or no?



You mean word wrapping your source code?  I've never seen anyone want to or
do that ever in my entire development career.

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en





Uggh...looks terrible to me.  If you have lines in your code that are 
long enough to require word-wrapping, then those lines are too long, 
especially with today's large monitors and high resolutions.  Decompose 
them and make the code more readable IMO.


--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en