Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio disable line wrap

I have this strange line wrap on Android Studio and I want to disable because it freaks me out...

enter image description here

like image 492
joseRo Avatar asked Jan 02 '14 11:01

joseRo


People also ask

What is line wrap mode?

Modes such as Long Lines wrap lines on word boundaries as you type, by inserting temporary line-ending characters. These are removed when you save the buffer to a file or copy its text for yanking elsewhere, so they are only for display purposes.


2 Answers

It's also available under the context menu enter image description here

like image 72
mes Avatar answered Oct 11 '22 20:10

mes


In Android Studio 0.4.0 following should help:

Configure > Settings > Editor > Uncheck 'Use soft wraps in editor' 

Screenshot from Android Studio 0.4.0 Settings screen

On Mac (Android Studio 3.0):

Preferences -> Editor -> General -> Uncheck 'Use soft wraps in editor' 
like image 21
ozbek Avatar answered Oct 11 '22 20:10

ozbek