Skip to content

Instantly share code, notes, and snippets.

@teaholiday89
Created April 3, 2013 20:15
Show Gist options
  • Save teaholiday89/5304815 to your computer and use it in GitHub Desktop.
Save teaholiday89/5304815 to your computer and use it in GitHub Desktop.
JSP Conditional
<snippet>
<content><![CDATA[
<% if (${1:condition}) { %>
${2}
<% } else { %>
${3}
<% } %>
${0}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>jspif</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment