Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable logcat Text wrap in Eclipse Juno

Tags:

I'm using the latest Eclipse Juno to develop Android applications.

My problem is that the logcat text messages are wrapped after about 80 characters (even when the Text column is much wider then those 80 characters). This is rather annoying because it wraps one long line in multiple rows, while I'm not even using half of my Logcat Window width, which makes it less readable.

I've looked into the preferences of Eclipse under Android > Logcat but can't find any solution to my problem. Not long ago I used Eclipse Indigo for my Android development, where the text messages weren't wrapped.

Does anyone know how to disable the wrapping in the Logcat Text column in Eclipse Juno ?

like image 557
ndsmyter Avatar asked Sep 05 '12 13:09

ndsmyter


1 Answers

You can just extend the Text message field to a very high value (e.g. 4000) so that all messages that are logged fit into one line right from the start. This can be accomplished by

  • using the colum resizer (righ of the Text column header, hold it down) and (for convenience) the right arrow key (to do the actual resizing). Restart Eclipse to see the effect
  • altering the value logcat.view.colsize.Text=4000 in $WORKSPACE\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.android.ide.eclipse.ddms.prefs while Eclipse is closed
like image 55
user462982 Avatar answered Sep 20 '22 15:09

user462982