merged.
This commit is contained in:
commit
24dd5cff66
@ -1,14 +1,20 @@
|
||||
snippet function
|
||||
abbr function () {}
|
||||
abbr public function () {}
|
||||
${1:public }function ${2:#:FunctionName}(${3})
|
||||
{
|
||||
${4:TARGET}
|
||||
}
|
||||
|
||||
snippet function_literal
|
||||
options word
|
||||
abbr function () {}
|
||||
function (${1})${2: use } {
|
||||
${3:TARGET}
|
||||
}
|
||||
|
||||
snippet php
|
||||
<?php
|
||||
${1:TARGET}
|
||||
?>
|
||||
|
||||
snippet pecho
|
||||
<?php echo ${1} ?>${0}
|
||||
@ -109,11 +115,11 @@ snippet c
|
||||
* $0
|
||||
*/
|
||||
|
||||
snippet class
|
||||
snippet class_with_constructor
|
||||
/**
|
||||
* ${1}
|
||||
*/
|
||||
class ${2:#:ClassName}${3:#:extends}}
|
||||
class ${2:#:ClassName}${3:#:extends}
|
||||
{
|
||||
$5
|
||||
function ${4:__construct}(${5:#:argument})
|
||||
@ -122,6 +128,11 @@ snippet class
|
||||
}
|
||||
}
|
||||
|
||||
snippet class
|
||||
class ${2:#:ClassName} {
|
||||
${0:TARGET}
|
||||
}
|
||||
|
||||
snippet def
|
||||
${1}defined('${2}')${0}
|
||||
|
||||
@ -147,6 +158,10 @@ snippet if
|
||||
${0:TARGET}
|
||||
}
|
||||
|
||||
snippet var_dump
|
||||
options head
|
||||
var_dump(${0:TARGET});
|
||||
|
||||
snippet echo
|
||||
echo "${1:#:string}"${0};
|
||||
|
||||
|
@ -721,6 +721,9 @@ CHANGELOG *neosnippet-changelog*
|
||||
2013-02-16
|
||||
- Added sh snippet.
|
||||
|
||||
2013-02-03
|
||||
- Improved php snippets.
|
||||
|
||||
2013-02-01
|
||||
- Added vim snippets.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user