Invoking Intentions
Could someone please give me a definitive and reliable way to get those intention light-bulb popups to appear?
It seems that on recent builds I have to move the mouse over and away and back over the piece of affected code many times before the little popup will appear so that I can click on it and invoke the intention action.
Sometimes it pops up straightaway, other times it seems nigh on impossible to get them to appear - particularly if you have multiple intentions to invoke in sequence.
Is anyone else seeing this?
请先登录再写评论。
Yes, I have noticed the same behaviour, but didn't have time to investigate
yet.
Eugene.
"Mark Lee" <no_mail@jetbrains.com> wrote in message
news:28951638.1073481909252.JavaMail.itn@is.intellij.net...
intention light-bulb popups to appear?
>
back over the piece of affected code many times before the little popup will
appear so that I can click on it and invoke the intention action.
>
to get them to appear - particularly if you have multiple intentions to
invoke in sequence.
>
on my machine if I click on the line then the intention never pops up. I have to use the keyboard and move away from the line and then back to the line
I've submitted a tracker request for this, but it was marked "Do not fix", see
#23870- intention bulb does not appear after mouse click
http://www.intellij.net/tracker/idea/viewSCR?publicId=23870
The behaviour as I see it is:
- click, but do NOT move your mouse -> bulb appears
- click, but immediately move the mouse to the expected appearance point of the light bulb -> it never appears. In that case you have to either click again, and not move the mouse until it appears, or use the cursor keys to move the cursor by one character and then wait.
In older versions, the bulb was appearing always (after the delay), whether you moved the mouse immediately or not.
As I keep moving the mouse to the expected point of the bulb (some habits are hard to "forget"), I regularly fall into this trap, and find it quite annoying ...
Seems like that SCR has been re-opened with a very high priority recently.
Thank you!
I do exactly the same as you moving the mouse to the expected point of the bulb. I usually end up making the intended change myself (most often typecasts) if the intention bulb doesn't pop up the first time.
Glad to see this is being looked at! It is driving me crazy. I posted about this a couple of days ago and no one responded! I was beginning to think that I was stupid or something.
JetBrains is moving fast :) Seems its already fixed. Waiting for #1081 or later to be published....
Thanks
Thomas