Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autofill function parameters in Android Studio

I've been working in Android Studio recently, and was wondering if there is a hot key / setting / method for autofilling function parameters after a function call is autocompleted.

For instance, if I type in db.query(), I would like the following to show upon the auto-completion of query:

db.query(table, columns, selection, selectionArgs, groupBy, having, orderBy);

instead of just the function name with empty (but required) parameters:

db.query();
like image 537
CodyF Avatar asked Aug 30 '14 00:08

CodyF


1 Answers

Android Studio does not really provide auto completing your functions but you can show the parameters of the function in the other class by pressing Crtl + P. This opens a pop up with the names of the variables.

This may help

like image 125
orange01 Avatar answered Nov 09 '22 23:11

orange01