I am wondering if there is a shortcode (MAC) to tab several lines (see example below).
<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"/>
->
<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"/>
I looked through the command list, but couldn`t find something. Maybe there is another way to do so.
Sure. Press (and keep pressed) the alt-option
command on your Mac, then click with the mouse/touchpad and move upwards/downwards. The effect is the following:
(source)
Select several lines, then press tab to indent them or press Shift + tab to unindent them. This works at least on OS X V10.11.6 with Android Studio V2.1.2. Hope this helps you or people who read this question. Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With