[thelist] CF Studio - Macros/AutoDate/Default Template Question

Joshua OIson joshua at alphashop.net
Tue May 22 15:38:42 CDT 2001


: <TIP type="Cold Fusion Studio">
: When using CF Studio you can use ctrl-J to bring up a small
: menu which offers a selection of code templates to insert.
: 
: Examples include HTML 2.0, 3.2, and 4.0 DOCTYPE tags, Stylesheet
: links, meta tags, and a basic javascript block.  You can add your
: own templates to the collection, which can really speed up coding
: if you have regularly used blocks of code at your disposal.  You
: can find this under the Settings > Editor > Code Templates Menu.
: 
: Although this is similar to snippets, i like it a bit better because
: using snippets you often run out of Keys to map each snippet to.
: With these templates you have a little popup window to select
: from and it frees up some key combinations for other functions.
: </TIP>

AWESOME tip.  I never knew.  There's one thing I would add, though.

<tip type="Cold Fusion Studio" name="shortcuts">
Original tip from Mike Roberto

When using CF Studio you can use ctrl-J to bring up a small
menu which offers a selection of code templates to insert.

Examples include HTML 2.0, 3.2, and 4.0 DOCTYPE tags, Stylesheet
links, meta tags, and a basic javascript block.  You can add your
own templates to the collection, which can really speed up coding
if you have regularly used blocks of code at your disposal.  You
can find this under the Settings > Editor > Code Templates Menu.

Although this is similar to snippets, i like it a bit better because
using snippets you often run out of Keys to map each snippet to.
With these templates you have a little popup window to select
from and it frees up some key combinations for other functions.

Addendum:

And, you can type the "keyword" into the editor and press Ctrl-J 
immediately after and it'll expand the keyword into the full text of 
the shortcut.  This is useful if you have added many items and the 
list has grown unbearably long.
</tip>

-joshua





More information about the thelist mailing list