The full list of "Surround with" choices for an expression is:
"(expr)",
"((Type)expr)",
"!(expr)",
"!(expr instanceof Type)",
"if (expr) {...}",
"if (expr) {...} else {...}",
Obviously, "!(expr)" is not applicable to expressions with type other than
boolean. That's why it's not shown.
The digit for each item is kept the same because users get accustomed to
press the same key each time, undependently of available choices.
Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure"
-----------------------------------------------------------
----- Original Message -----
From: "Jacques Morel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 7:07 PM
Subject: [Eap-list] #531: Surround with... on a sub expression missing item
3
> Example
>
> if (getSomething())
>
> I select getSomething() and do Surround with... (Ctr-Alt-T)
> The list comes up with only 3 items:
>
> 1 (exp)
> 2 ((Type)exp)
> 4 (!exp instanceof Type)
>
> Where is 3? Should it be (exp instanceof Type) ?
>
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list