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

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

    In File | Settings, select "Editor", then "Code Style". There is an option "Wrap when typing reaches right margin".

    Edit: Just tried it, and it doesn't seem to work. Anyway, maybe the option "Use soft wrap" in the "General" group is more what you want.

提交回复
热议问题