"Suppress" intention not always available?

I've noticed that in the beta of IntelliJ (6.0 build 5594) my "Suppress" intentions are often not available. For example, look at this method:

 clone()
  {
    try {
      return (SomeGenericType)super.clone();
    } catch(CloneNotSupportedException e) {
      throw new RuntimeException(e);
    }
  }
]]>


In my IDE, the text '(SomeGenericType]]>)super.clone()' is highlighted yellow (warning) because of the unchecked cast. When I open the intention popup, I have only one option (see first screenshot). If I click that option, rather than getting a submenu (which would normally provide a way to "Suppress" the inspection for this line/method/class/etc), it immediately opens the "Generify" dialog (see second screenshot).
Does anyone else have this problem, or is it just me? Am I missing something here?



Attachment(s):
IDEAIntentionPopup1.jpg
IDEAGenerifyDialog.jpg
0
2 comments
Avatar
Permanently deleted user

OK, I've been playing around with it and discovered if I press the RIGHT arrow key on the intention popup menu, then I get the sub menu (see screenshot). So, is it intentional that it is now impossible to bring up that submenu with the mouse (that you must know the key to bring it up)?
BTW, I'm running this on Ubuntu and am using the 'Alloy Default Theme'.



Attachment(s):
IDEAIntentionPopup2.jpg
0
Avatar
Permanently deleted user

I never tried with the mouse, but I always imagined that clicking on the
arrow would open the submenu. I recommend you to report this as a bug in
JIRA. BTW, it's the same on Windows.

Andy DePue wrote:

OK, I've been playing around with it and discovered if I press the RIGHT arrow key on the intention popup menu, then I get the sub menu (see screenshot). So, is it intentional that it is now impossible to bring up that submenu with the mouse (that you must know the key to bring it up)?
BTW, I'm running this on Ubuntu and am using the 'Alloy Default Theme'.


------------------------------------------------------------------------


--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com

0

Please sign in to leave a comment.