🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java
Article #618

Re: How do I use macros in KAWA?

#618
From: Michiel Konstapel
Date: Wed, 11 Apr 2001 21:01
16 lines
2013 bytes
"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
Technical Details
Message-ID: <Cz3B6.1146$nC5.147379@news.soneraplaza.nl>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!skynet.be!newshub1.nl.home.com!news.nl.home.com!news-feed.nld.sonera.net!news.soneraplaza.nl!not-for-mail
References: <51VA6.33087$o4.2351883@news010.worldonline.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9a23,5ee40924dcd787b1
X-Google-Attributes: gidf9a23,public
X-Google-Thread: f5d71,5ee40924dcd787b1
X-Google-Attributes: gidf5d71,public
X-Google-Thread: 10a146,5ee40924dcd787b1
X-Google-Attributes: gid10a146,public
X-Google-Thread: 113ae9,5ee40924dcd787b1
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 10fd6d,5ee40924dcd787b1
X-Google-Attributes: gid10fd6d,public
X-Google-ArrivalTime: 2001-04-11 14:00:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!skynet.be!newshub1.nl.home.com!news.nl.home.com!news-feed.nld.sonera.net!news.soneraplaza.nl!not-for-mail
From: "Michiel Konstapel" <ask@me.nl>
Newsgroups: comp.lang.java,comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer,dk.edb.programmering.java
References: <51VA6.33087$o4.2351883@news010.worldonline.dk>
Subject: Re: How do I use macros in KAWA?
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <Cz3B6.1146$nC5.147379@news.soneraplaza.nl>
Date: Wed, 11 Apr 2001 23:01:40 +0200
NNTP-Posting-Host: 212.127.144.52
X-Complaints-To: abuse@sonera.nl
X-Trace: news.soneraplaza.nl 987022690 212.127.144.52 (Wed, 11 Apr 2001 22:58:10 MET DST)
NNTP-Posting-Date: Wed, 11 Apr 2001 22:58:10 MET DST
Organization: Sonera Plaza