Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make word wrap in android studio by default

Tags:

When I write something on the android studio, the line goes on over the right screen. How do I turn on word soft wrap in android studio?

enter image description here

like image 896
Shuvo3664 Avatar asked Mar 10 '19 10:03

Shuvo3664


People also ask

How do I enable word wrap in Visual Studio permanently?

Basic Editing in Visual Studio Code By default, editor. wordWrap is off but if you set to it to on, text will wrap on the editor's viewport width. "editor. wordWrap": "on" You can toggle word wrap for the VS Code session with ⌥Z (Windows, Linux Alt+Z).

How do I turn word wrap on?

Right-click the control for which you want to enable or disable text wrapping, and then click Control Properties on the shortcut menu. Click the Display tab. Select or clear the Wrap text check box.


2 Answers

If you are on mac and want to soft wrap just the current active Editor, here is how to do it: - On the menu bar View -> Active Editor -> Soft-Wrap

like image 150
Mussa Charles Avatar answered Oct 04 '22 10:10

Mussa Charles


Please goto "File->Settings->Editor->General" tab and check "Use soft wraps in editor". it will solve your problem.

Updates: As @ThePartyTurtle mentioned on the comment some versions of Android Studio specifically from v3.5.3 This option is available via

Android Studio->Preferences...->Editor->General

enter image description here

like image 32
android Avatar answered Oct 04 '22 09:10

android