S
S
ssurrokk2018-11-16 20:10:26
android studio
ssurrokk, 2018-11-16 20:10:26

How to copy the names (signatures) of all selected methods?

I select methods on the "Structure" panel. How to copy signatures of all selected methods?
5beef9fe15054747843127.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor, 2018-11-16
@RATlius

Android Studio has a multicursor feature. Those. when there are multiple cursors in one text file. This is done with the Alt + J combination to sequentially select the same values. Or manually: Alt + Shift + LMB.
You can collapse all your methods (Ctrl + Shift + "-");
Manually set multiple cursors near all methods;
Expand all methods (Ctrl + Shift + "+") <If you do not expand, then the methods will be copied along with the bodies>;
Press Shift + End (you will have many lines in one file selected);
Ctrl + C (everything in the buffer);
Ctrl + V in the right place;

profit;
5bef160441709126517066.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question