Bonton255
Bonton255

Reputation: 2419

How to change AndroidStudio right margin

The right margin in AndroidStudio is of 100 characters. I can't seem to find an option to change it to say, 120 characters. Can someone please help?

Upvotes: 8

Views: 4201

Answers (4)

Subrat Singhal
Subrat Singhal

Reputation: 27

Android Studio 4.0.1:

File > Settings > Editor > Code Style > $filetype > Line Length: ______ (Set it according to your convenience).

Upvotes: 2

Jeff Padgett
Jeff Padgett

Reputation: 2539

Android Studio 3.5:

Mac - Android Studio > Preferences > Editor > CodeStyle > HardWrap at: ____

Upvotes: 0

K.D. MBEDOBE
K.D. MBEDOBE

Reputation: 63

In android studio 3.2: go to Settings > appearance and behavior > code style > hard wrap at (enter a figure above 100 to shift the right margin)

Upvotes: 0

yole
yole

Reputation: 97188

Settings | Code Style | Right margin (columns)

Upvotes: 14

Related Questions