create PHP text snippet Sublime Text 3

345 Views Asked by At
<snippet>

<content>
  <![CDATA[<?= $item['lorem ipsum']?>]]>
</content>

<tabTrigger>item</tabTrigger>

</snippet>

Hello, help me please make a snippet using the $ - symbol, I need to when spelling an item and use the TAB - write a full command with sign , now the $ sign is ignored <?= ['lorem ipsum']?>

1

There are 1 best solutions below

0
On

i find... need use \ with $ working snippet

<snippet>

<content><![CDATA[
<?= \$item['lorem ipsum']?>
]]></content>

<tabTrigger>item</tabTrigger>