Merge pull request #194 from Nicklasos/master
Add short tags in php snippets
This commit is contained in:
commit
35db4a65f8
@ -9,6 +9,18 @@ snippet <?e
|
|||||||
# this one is for php5.4
|
# this one is for php5.4
|
||||||
snippet <?=
|
snippet <?=
|
||||||
<?=${1}?>
|
<?=${1}?>
|
||||||
|
snippet ?=
|
||||||
|
<?= ${1} ?>
|
||||||
|
snippet ?
|
||||||
|
<?php ${1} ?>
|
||||||
|
snippet ?f
|
||||||
|
<?php foreach ($${1:vars} as $${2:$var}): ?>
|
||||||
|
${3}
|
||||||
|
<?php endforeach ?>
|
||||||
|
snippet ?i
|
||||||
|
<?php if ($${1:var}): ?>
|
||||||
|
${2}
|
||||||
|
<?php endif ?>
|
||||||
snippet ns
|
snippet ns
|
||||||
namespace ${1:Foo\Bar\Baz};
|
namespace ${1:Foo\Bar\Baz};
|
||||||
${2}
|
${2}
|
||||||
|
Loading…
Reference in New Issue
Block a user