Hi Andrea,
I would suggest to use SmartCompletion here:
example:
|<some code>
Type "(" and then ctrl-shift-space, you will get
(<expected type>)<some code>
This is an alternative to the <surround with> feature, depending on what you
need.
Best regards,
Eugene Zhuravlev,
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure"
----- Original Message -----
From: "Andrea Vicentini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 02, 2001 12:24
Subject: [Eap-list] Live-Templates with current code selection
> Hello,
> I would like to have a live-template that applies a _cast_ to the
> current code selection. Is it possible?
> In detail, I would like to do something like this:
> - I write some code and select something:
> <selection>|
>
> - when I call a live-template I get:
> (|) (<selection>)
>
>
> Is it possible? If not, may it be a suggestion for a feature?
>
> Thanks.
> Bye.
> Andrea Vicentini
>
>
> __________________________________________________
> Do You Yahoo!?
> Listen to your Yahoo! Mail messages from any phone.
> http://phone.yahoo.com
>
> _______________________________________________
> 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