简体   繁体   English

如何在 Android 工作室中移动代码的换行线?

[英]How I can move wrap line of the code in Android studio?

How I can move to left or right this wrap line?我怎样才能向左或向右移动这条换行线? I am using Android Studio 3.6.1.我正在使用 Android Studio 3.6.1。

The problem is that if I have long text and I use Reformat Code with dartfmt the code move to the next line because of that line and is hardly readable in the flutter app at least to me.问题是,如果我有长文本并且我使用Reformat Code with dartfmt则代码会因为该行而移动到下一行,并且至少对我来说在 flutter 应用程序中几乎不可读。

在此处输入图像描述

I've found the solution in Android Studio / Preferences / Editor / Code Style / Dart: (it was 80 by default)我在 Android Studio / Preferences / Editor / Code Style / Dart 中找到了解决方案:(默认为 80) 在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM