In almost any IDE one can re-open the suggestion list for parameters of the function your cursor is currently at. CTRL + SPACE
usually did the trick. But all I'm getting is useless list of I don't know what:
You can see the Structure tab below your Project tab in Android Studio. Open your file in editor and click on structure tab, it will show all the methods in the class selected.
Go to Editor → Preference → Editor → General and choose Show quick doc on mouse hover! Show activity on this post. For Android Studio 4.1 and 4.2, this checkbox has moved under Editor → General → Code Completion.
View parameter hints in the editorOpen the Settings/Preferences dialog ( Ctrl+Alt+S ) and go to Editor | Inlay Hints | <required language>. Select Parameter hints from the list, make sure the Show parameter hints checkbox is selected, and then specify the context where you want parameter hints shown.
A Parameter provides information about method parameters, including its name and modifiers. It also provides an alternate means of obtaining attributes for the parameter.
Since getPadding()
accepts integer arguments it might be useful to show you the list of all methods which return integer value / integer constants. And this is exactly what Ctrl+Space does.
If you want to see the method parameter information, you can hit Ctrl+P; if you want to see full function declaration, use Ctrl+Q.
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