如何根据Android Studio中的此屏幕截图更改代码样式,以使我的代码行不会超出屏幕宽度

问题描述

我想要更改Windows的Android Studio中的代码样式设置,如下图所示,因此我的代码不会超出设备宽度。并将这些箭头显示为下一行,如图所示……???

**

我正在Windows-10上使用Android Studio 4.0.1

**

I want to change my code style settings in Android Studio for Windows as Shown in this Figure,So my code does not go out of device width. And show these arrows for next line as in Figure...???

解决方法

导航至工具栏->视图->活动编辑器->软包装(取消选中)

使用软包装(忽略乱码进行测试): enter image description here

没有软包装:

enter image description here

不使用Windows,但我认为无论操作系统如何,视图设置都相同