Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Invoke Red Lightbulb

I am using Android Studio and I love using the little red light bulb for things like define a method. When I click on a red error it appears.

Mostly it works fine but sometimes it disappears too quickly to click on and sometimes it does not appear at all.

Is there a shortcut key to make it appear ? Or what is the name of the lightbulb so that I can Google for it.

like image 332
Ryan Heitner Avatar asked Oct 12 '13 15:10

Ryan Heitner


1 Answers

The lightbulb shortcut is alt+enter "Use the suggested quick fix."

http://www.jetbrains.com/idea/webhelp/keyboard-shortcuts-you-cannot-miss.html

like image 138
Philippe David Avatar answered Oct 23 '22 01:10

Philippe David