Say I type the following field
field = "I am field";
In Eclipse as soon as I place the mouse on field
it shows me a list of options from which I can select create local variable field
.
In Android Studio, the lightbulb is a headache for me. Sometimes it appears quickly, sometimes it takes forever to appear.
Is there a way to force it to appear?
Are you talking about using Alt + Enter
?
This link might help: https://www.jetbrains.com/idea/help/keyboard-shortcuts-you-cannot-miss.html
Pressing Alt + Enter
results in the drop-down menu with correction options in this case:
search for usage of "Alt + Ent" as below image if its not assigned for any action plz go for No. 2
Android studio shortcuts
Check whatever you want to show Intention in are checked or not as below photo
Intention
[You can find the solution on official Jet brains website]
Intellij IDEA keyboard shortcuts
Intention actions
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