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

How can I change code style according to this screenshot in Android Studio so my line of code don't go farther than the screen width

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

**

I'm Using Android Studio 4.0.1 on Windows-10

**

导航到您的 工具栏 -> 查看 -> 活动编辑器 -> Soft-wrap(取消选中它)

使用软包装(忽略用于测试的乱码文本):

没有软包装:

不使用 windows 但我认为无论 OS

的视图设置都是相同的