/ Forside / Teknologi / Udvikling / Java / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Java
#NavnPoint
molokyle 3688
Klaudi 855
strarup 740
Forvirret 660
gøgeungen 500
Teil 373
Stouenberg 360
vnc 360
pmbruun 341
10  mccracken 320
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



Søg
Reklame
Statistik
Spørgsmål : 177501
Tips : 31968
Nyheder : 719565
Indlæg : 6408527
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste