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?
Please sign in to leave a comment.
It's Intention Action since Alt+Enter is a shortcut for Show Intention Actions. Some of them are hardcoded and cannot be disabled.
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?
Inspection quick fixes are available by the same shortcut.
Thank you.