[Eric] A sort of macro

detlev detlev at die-offenbachs.de
Sat Jan 2 10:12:00 GMT 2010


On Freitag, 1. Januar 2010, Star Glider wrote:
> Hello,
> in my former programming RAD/IDE (Delphi) I have a tool that when I type
> lets says:
> -b it will replace the -b for = QPushButton(self)
> myPushButton -b[ENTER]
> myPushButton = QPushButton(self)
> 
> Is there any way of doing this in Eric?

Yes. The templates will do that. Autocompletion of templates has been 
introduced in version 4.4 (currently available as snapshots, shortly as a 
stable release).

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list