Search code examples
androidwindowsandroid-studioandroid-studio-4.1

How can I change code style according to this screenshot in Android Studio so my line of code don't go farther than the screen width


I want to change my code style settings in Android Studio for Windows as Shown in this Figure, So my code does not go out of device width. And show these arrows for next line as in Figure...???

**

I'm Using Android Studio 4.0.1 on Windows-10

**

I want to change my code style settings in Android Studio for Windows as Shown in this Figure, So my code does not go out of device width. And show these arrows for next line as in Figure...???


Solution

  • Navigate to your toolbar -> View -> Active Editor -> Soft-wrap (uncheck it)

    With Soft wrap (ignore gibberish text for testing): enter image description here

    Without Soft wrap :

    enter image description here

    Not using windows but I think view settings would be the same regardless of OS