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?
09 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
3Please 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
2You 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
1If 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 ...
1Android Studio Arctic Fox Solution
From the menu:
File > Settings > General
Tick the Soft-wrap these files checkbox.
- File > Settings > General
- Tick the "Soft-wrap these files:" checkbox, and write
*.* - Apply > OK
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 semicolon
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 🍻

