Select portion of multiline text in Android Studio?

Viewed 166

This is from an Android Development Tutorial. How can I select this portion of texts and change them at the same time?

enter image description here

2 Answers

Open up the context menu with the mouse/touchpad right button click and choose Column Selection Mode (Mac's screenshot):

enter image description here

Even more convenient, as @rajan ks mentioned, for Mac hold option and select.

In Windows to add and remove carets do Shift + Alt + Click

It is called Multi Cursor and full details can be found on the official doc here

Related