How to Word Wrap in Android Studio

How to Word Wrap in Android Studio

While working with Android Studio we may want to wrap the words inside the editor so that the entire code fits inside visible area and no need to scroll horizontally. We may also wants to wrap the code in the visible area when we want to take a screenshot of the code in the IDE.

To wrap the code, go to File – Settings – Editor – General and check the box with Soft-wrap these files.

Then add the type of the files you want to soft wrap such as *.dart. Also make sure that the file extensions are separated by semicolons (;) and not commas.