7

I've enabled word wrap in the editor, but it doesn't align to the relevant scope, which looks unnecessarily messy.

Here is an example of the automatic behavior: word-wrap-default

enter image description here

Here is an example of what I'd like the automatic behavior to be: word-wrap-preferred

enter image description here

Is there a way to set this up in Android Studio 3.0?

Nawrez
  • 3,314
  • 8
  • 28
  • 42
Ariana W.
  • 73
  • 1
  • 1
  • 6

1 Answers1

14

In Android Studio 3.0 following should help:

File > Settings > Editor > General > Soft Wraps > & checking "Use original lines indent for wrapped parts"

enter image description here

Nawrez
  • 3,314
  • 8
  • 28
  • 42
  • 1
    This is not what I am asking, however pointed me in a direction: **solved** by going into Settings > Editor > General > Soft Wraps > & checking "_Use original lines indent for wrapped parts_"! – Ariana W. Dec 10 '17 at 22:12
  • @ArianaW. I have corrected the answer , can you accept it please! – Nawrez Dec 10 '17 at 22:19