|
| How do I use macros in KAWA? Fra : Soren Hansen |
Dato : 11-04-01 09:59 |
|
How do I use macros in KAWA?
Ex:
I type "sop", and the macro types "System.out.println();" with the cursor
between the parenthesis.
--
------------
Soren Hansen
sh.dk@get2net.dk
| |
Javier Keller (11-04-2001)
| Kommentar Fra : Javier Keller |
Dato : 11-04-01 14:53 |
|
> How do I use macros in KAWA?
>
> Ex:
> I type "sop", and the macro types "System.out.println();" with the cursor
> between the parenthesis.
Isn't code completion enough?
| |
news (11-04-2001)
| Kommentar Fra : news |
Dato : 11-04-01 21:04 |
|
FORTE does that what you want...
Uwe
"Soren Hansen" <sh.dk@get2net.dk> schrieb im Newsbeitrag
news:51VA6.33087$o4.2351883@news010.worldonline.dk...
> How do I use macros in KAWA?
>
> Ex:
> I type "sop", and the macro types "System.out.println();" with the cursor
> between the parenthesis.
>
> --
>
> ------------
> Soren Hansen
> sh.dk@get2net.dk
>
>
>
>
| |
Michiel Konstapel (11-04-2001)
| Kommentar Fra : Michiel Konstapel |
Dato : 11-04-01 22:02 |
|
"Soren Hansen" <sh.dk@get2net.dk> wrote in message
news:51VA6.33087$o4.2351883@news010.worldonline.dk...
> How do I use macros in KAWA?
>
> Ex:
> I type "sop", and the macro types "System.out.println();" with the cursor
> between the parenthesis.
I got the exact same thing :)
Can't blame you for not figuring it out, it's not easy to find. Go to
Customize|Editor|Language..., select .java. Then, under the edit tab,
enhanced editing, check the "template expansion" option. After that, under
Templates you can add the template sop -> "System.out.println(&);"
HTH,
Michiel
| |
|
|