Mason Syntax and Snippets for Sublime Text 2
Install via Package Control
.m
.mi
.mc
.md
autohandler
dhandler
mhtml
Any named block defined by <%def>, <%method> and <%closure>
args: <%args> block
<%args>
${1} => ${2}
</%args>
class: <%class> block
<%class>
${1}
</%class>
comp: <& &> tag
<& "${1}"${2:, "$3" => $4} &>
def: <%def> block
<%def .${1}>
<%args>
${2}
</%args>
<%perl>
${3}
</%perl>
</%def>
doc: <%doc> block
<%doc>
${1}
</%doc>
init: <%init> block
<%init>
${1}
</%init>
mcomp: $m->comp()
$m->comp("${1}"${2:, "$3" => $4});
method: <%method> block
<%method ${1}>
<%args>
${2}
</%args>
<%perl>
${3}
</%perl>
</%method>
once: <%once> block
<%once>
${1}
</%once>
perl: <%perl> block
<%perl>
${1}
</%perl>