#11 MacPerl default File template

open
nobody
None
5
2001-10-19
2001-10-19
No

Say you work with a specific set of requirements when
programming, that you always use a certain set of
modules or constants, or what-have you.

at the very least you're ALWAYS typing

#!perl
use warnings;
use strict;
use Carp;

at the beginning of every file you work on.

What if MacPerl recognized a template package that it
opened by default when creating any new file, and
whatever was in the template gets auto-placed in the new
window?

like you have a MacPerl ƒ/template/default.pl file
containing the above...

something like that.

Possibly an additional File->Open Template-> menu to
open other files in the template subfolder, such as
default .cgi script heads, or whatnot.

Sound good? Sounds useful to me! :-D As it is I'm using
QuickKeys to auto-type some stuff for me, but its' still
a trick that's not available to all MacPerl users.

'Stationary' is an option, true, and surely that format
can be used to save the templates with.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks