I think the "Suppress xxx for statement" "Suppress xxx for method" "Edit
xxx options" items in the intention menu need to be rethought. They take
up too much space, because each one takes up one item in the typically small
I have a few ideas for where they should go, but I don't like the ideas very
much. Maybe they will inspire someone else to come up with something better.
1. Each intention action has some icons next to it. In the case that the
inspection can be suppressed for a statement and for a method, there are
two red "X" icons to the right of the intention item, one for "Suppress for
statement" and one for "Suppress for method." When the user clicks one, the
corresponding suppress action is execute. Next to those is an "Options" icon,
which, when clicked, shows the options for that inspection.
One problem with that is I don't know how those mini icons would be navigated
from the keyboard. Maybe with Tab, maybe by pressing Alt+Enter again.
2. A separate action is provided for suppressing and configuring inspections
at the cursor. It would bring up an Alt+Enter-style popup, but it would only
contain the suppress and configure items. Maybe pressing Alt+Enter twice
would do this, or maybe AltShiftEnter.
If anyone has better ideas for how to move the suppress and configure actions,
please post them here. When I feel that we have a good idea, I'll post a