2012-08-17 03:41:25 +00:00
|
|
|
snippet def
|
|
|
|
<%def name="${1:name}">
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:}
|
2012-08-17 03:41:25 +00:00
|
|
|
</%def>
|
|
|
|
snippet call
|
|
|
|
<%call expr="${1:name}">
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:}
|
2012-08-17 03:41:25 +00:00
|
|
|
</%call>
|
|
|
|
snippet doc
|
|
|
|
<%doc>
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:}
|
2012-08-17 03:41:25 +00:00
|
|
|
</%doc>
|
|
|
|
snippet text
|
|
|
|
<%text>
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:}
|
2012-08-17 03:41:25 +00:00
|
|
|
</%text>
|
|
|
|
snippet for
|
|
|
|
% for ${1:i} in ${2:iter}:
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:}
|
2012-08-17 03:41:25 +00:00
|
|
|
% endfor
|
|
|
|
snippet if if
|
|
|
|
% if ${1:condition}:
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:}
|
2012-08-17 03:41:25 +00:00
|
|
|
% endif
|
2013-07-17 23:06:05 +00:00
|
|
|
snippet ife if/else
|
2012-08-17 03:41:25 +00:00
|
|
|
% if ${1:condition}:
|
|
|
|
${2:}
|
|
|
|
% else:
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:}
|
2012-08-17 03:41:25 +00:00
|
|
|
% endif
|
|
|
|
snippet try
|
|
|
|
% try:
|
|
|
|
${1:}
|
|
|
|
% except${2:}:
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:pass}
|
2012-08-17 03:41:25 +00:00
|
|
|
% endtry
|
|
|
|
snippet wh
|
|
|
|
% while ${1:}:
|
2013-11-16 19:45:48 +00:00
|
|
|
${0:}
|
2012-08-17 03:41:25 +00:00
|
|
|
% endwhile
|
|
|
|
snippet $
|
2013-11-16 19:45:48 +00:00
|
|
|
${ ${0:} }
|
2012-08-17 03:41:25 +00:00
|
|
|
snippet <%
|
2013-11-16 19:45:48 +00:00
|
|
|
<% ${0:} %>
|
2012-08-17 03:41:25 +00:00
|
|
|
snippet <!%
|
2013-11-16 19:45:48 +00:00
|
|
|
<!% ${0:} %>
|
2012-08-17 03:41:25 +00:00
|
|
|
snippet inherit
|
2013-11-16 19:45:48 +00:00
|
|
|
<%inherit file="${0:filename}" />
|
2012-08-17 03:41:25 +00:00
|
|
|
snippet include
|
2013-11-16 19:45:48 +00:00
|
|
|
<%include file="${0:filename}" />
|
2012-08-17 03:41:25 +00:00
|
|
|
snippet namespace
|
2013-11-16 19:45:48 +00:00
|
|
|
<%namespace file="${0:name}" />
|
2012-08-17 03:41:25 +00:00
|
|
|
snippet page
|
2013-11-16 19:45:48 +00:00
|
|
|
<%page args="${0:}" />
|