summaryrefslogtreecommitdiff
path: root/User/isset.sublime-snippet
blob: 7b13ffe9f4f4a09818c2cce198c56f2a106854b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
<snippet>
  <!-- Example: Hello, ${1:this} is a ${2:snippet}. -->
  <content><![CDATA[
isset(${1:\$foo}) ? ${1:\$foo} : ${2:null}
]]></content>
  <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
  <tabTrigger>isset?</tabTrigger>
  <description>if isset x then x else y</description>
  <!-- Optional: Set a scope to limit where the snippet will trigger -->
  <scope>source.php</scope>
</snippet>