What origin of suggesiton?

Answered

Hi!

I use Android Studio based on IntelliJ Idea. When I type assignment to undefined variable, Studio shows me a few improvements:



What type of suggestions is it? I think it is not Code Inspection, because Code Inspection window doesn't show this problem. And it is not Intention Actions, because there is no such intention in settings, and I can not disable it. 

So, if it's true, what kind of is this suggestion? Where to read about it? And how to manage it?

0
4 comments

It's Intention Action since Alt+Enter is a shortcut for Show Intention Actions. Some of them are hardcoded and cannot be disabled.

0
Avatar
Permanently deleted user

Thanks.

Does Alt-Enter show only Intention Action? Or it shows suggesions from Code Inspection too? Is there shortcut for Code Inspection suggestion for the code under cursor?

0

Inspection quick fixes are available by the same shortcut.

0
Avatar
Permanently deleted user

Thank you. 

0

Please sign in to leave a comment.