Why don't I get intention suggestions IU-90.193?

Are these called intentions?  I'm not sure.

In the past, I create an interface, stick the cursor at the start of the line, and little yellowish dot appears a second or two later, asking me if I want to implement this interface.

This has stopped working since I switched to 9 Beta.

Do I need to enable it some how?  For me this is a huge feature, and to not have it working is frustrating.

Any suggestions?

Thanks,
Eric

0
3 comments
Avatar
Permanently deleted user

kikibobo wrote:

Are these called intentions?  I'm not sure.

"Inspections" highlight the problems. "Intentions" are used to fix the problem -- called Quick Fixes -- or to simply alter/improve code -- called micro-refactorings -- such as flipping an if/else statement. See Concepts > Intention Actions in the help guide for more information.

I just checked and this is working for me in 90.193. (See screenshots) Most likely the inspection got turned off by accident. With most inspections & intentions, if you bring up the intention to fix it (via alt+enter or clicking the light bulb) there is a side menu to the right that can be used to turn off intention or inspection. (See third screenshot in the attached image.) Sometimes you might fat finger the arrow keys and turn off the inspection by mistake.

To re-enable, open Settings (ctrl+alt+s or File | Settings) and go to "Intentions" under "IDE settings". Enable "Implement Abstract Class or Interface" in the "Declaration" section. (You could also search for 'Implement' via the search box above the list of intentions.)



Attachment(s):
screenshot.png
0
Avatar
Permanently deleted user

Hi Mark, thanks for the explanation and suggestions.

Everything is enabled, and a restart of the IDE helped for awhile.

I still consistently have trouble making the Quick Fix icons appear; sometimes I have to delete part of the line and retype it, but even that doesn't work consistently.  Seems there are some bugs in there....

cheers,
Eric

0
Avatar
Permanently deleted user

Hello Eric,

I can second this, I also noticed the intentions don't pop up right away/all
the time.

It doesn't happen consistently (just tried it now in a smallish project,
pure java and it worked fine). I got used to having the import intention
pop-up right after I complete writing a class name, and for the last few
days I've been annoyed by the intention taking a long time to show up, or
not show up at all until I finished the line (declare a variable, for instance)
and then move the cursor back to the class part (that the import should have
been offered for right away) and delete/retype some of it.

Best,
Andrei


EB> Hi Mark, thanks for the explanation and suggestions.
EB>
EB> Everything is enabled, and a restart of the IDE helped for awhile.
EB>
EB> I still consistently have trouble making the Quick Fix icons appear;
EB> sometimes I have to delete part of the line and retype it, but even
EB> that doesn't work consistently.  Seems there are some bugs in
EB> there....
EB>
EB> cheers,
EB> Eric
EB> ---
EB> Original message URL:
EB> http://www.jetbrains.net/devnet/message/5250183#5250183


0

Please sign in to leave a comment.