How to set max line length in Android Studio code editor?

前端 未结 12 1218
温柔的废话
温柔的废话 2020-12-29 01:31

How can I set a maximum length for Android Studio\'s code editor, or may be set a word wrap?

In my Android Studio, no matter how long a statement I type on a single

12条回答
  •  盖世英雄少女心
    2020-12-29 01:53

    @Solace, actually @Fahim Faysal's answer is quite close to what you need, but since you want to solve the problem no matter how long a statement I type on a single line, it never automatically goes to the next line, 2 more steps you need to follow:
    [Step 9] type the max length you prefer at `"Hard wrap at" ()
    [Step 10] change "Wrap on typing" from Default: No or No to Yes

提交回复
热议问题