Reputation: 981
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?
Upvotes: 56
Views: 38458
Reputation: 1600
Here's my 2 cents:
A quick way to toggle word-wraps:
Ctrl + Shit + A : (opens a search window with "Actions" tab enabled.)
Type Soft wrap
Press enter on the first search-result: View | Active Editor Soft-wrap
Cheers 🍻
Upvotes: 8
Reputation: 338
If you are on mac: Android Studio -> Preferences -> Editor -> General -> Soft-wrap these files
If you are on Windows : Settings > Editor > General > Soft-wrap these files
To enable Soft-wrap, write the following code in the box in front of the checkbox
*.*
to wrap all the files in the editor*.<extension_of_file>
to wrap files with specific extension an separated by semicolonUpvotes: 0
Reputation: 61
*.*
Upvotes: 5
Reputation: 1396
From the menu:
File > Settings > General
Tick the Soft-wrap these files checkbox.
Upvotes: 3
Reputation: 41
If u want to use soft wrap by default go through the following steps
step-1 : Click on view ( in Navigation bar )
step-2 : Choose Active Editor
step-3 : Click on Soft wrap
that's it ...
Upvotes: 4
Reputation: 3090
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
Upvotes: 34
Reputation: 4415
You go to Android Studio > Preferences > Editor > General > Soft Wraps
then you have to indicate what type of documents you want the soft wrap to be applied on. Be sure to separate each type with a semicolon.
example: *.md; *.txt; *.rst; *.adoc; *.dart; *.plist;
Image that complements the explanation of the menus
Upvotes: 8
Reputation: 4432
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
Upvotes: 76