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

前端 未结 12 1096
温柔的废话
温柔的废话 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:52

    To move the grey vertical line, that tells Android Studio where to wrap your code, go to

    Settings- Editor- Code Style- Java or Kotlin- Wrapping and Braces- Hard wrap at

    and enter the number of characters, where the line should be.

提交回复
热议问题