如何在Android Studio中的多行上应用TAB

Den*_* Jo 6 android tabular shortcode android-studio

我想知道是否有一个短代码(MAC)来标记几行(见下面的例子).

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Last Name"
android:id="@+id/textView"
android:layout_column="0"
android:layout_weight="1"/>
Run Code Online (Sandbox Code Playgroud)

- >

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="Last Name"
    android:id="@+id/textView"
    android:layout_column="0"
    android:layout_weight="1"/>
Run Code Online (Sandbox Code Playgroud)

我查看了命令列表,但找不到任何东西.也许有另一种方法可以做到这一点.

Seb*_*ano 5

当然。在 Mac 上按下(并按住)该alt-option命令,然后用鼠标/触摸板单击并向上/向下移动。效果如下:

在此输入图像描述

来源