Using Espresso for development the lack of a proper EE2 Sugar for Espresso proved a little frustrating, so I decided to rework the original version provided by Anthony Shorts and did a simple search/replace for weblog/channels so it now pumps out proper EE2 syntax.
There was a heap of snippet shortcuts (type it out and hit tab key for auto complete) that I didnt know even existed and have documented the main ones below:
entries: A full channel entries tag !
var: {assign variable}
path: {path=""}
seg: {segment_}
switch: {switch[one, two]}
att: {attibute}
style: <link rel=“stylesheet”...
if: {if == } {/if}
ifelse: {if== }{if:else}{/if}
page: {paginate}
cats: {categories$1}{category_name}{/categories}
rel: {related_entries id=}...{/related_entries}
rev: {reverse_related_entries channel=}...{/reverse..}
next: {exp:channel:next_entry channel=}...{/exp:channel:next_entry}
cat: {exp:channel:categories}...{/exp:channel:categories}
catarch: {exp:channel:category_archive channel}...{/exp:channel:category_archive}
entry_form: {exp:channel:entry_form channel=}...{/exp:channel:entry_form}
commententries: {exp:comment:entries channel=}...{/exp:comment:entries}
membercustom: {exp:member:custom_profile_data}...{/exp:member:custom_profile_data}
memberlogin: {exp:member:login_form return=}...{/exp:member:login_form}
This file is “as is” I wont be developing any functionality or anything else as I just needed to get the EE1 version using EE2 tags.
For the original file as listed on MacRabbits forums: http://wiki.macrabbit.com/forums/viewthread/45/
Oops, here’s the link