commit
c522e2bf7b
@ -111,7 +111,6 @@ public function get${1/\w+\s*/\u$0/}()
|
||||
{
|
||||
return $this->$1;$3
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet setter "PHP Class Setter" b
|
||||
@ -266,7 +265,7 @@ namespace ${1:`!p
|
||||
abspath = os.path.abspath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', abspath)
|
||||
if m:
|
||||
› snip.rv = m.group().replace('/', '\\')
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
endsnippet
|
||||
|
||||
@ -277,7 +276,7 @@ namespace ${1:`!p
|
||||
abspath = os.path.abspath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', abspath)
|
||||
if m:
|
||||
› snip.rv = m.group().replace('/', '\\')
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
|
||||
/**
|
||||
@ -287,7 +286,6 @@ if m:
|
||||
class $1
|
||||
{
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet interface "Interface declaration template" b
|
||||
@ -297,7 +295,7 @@ namespace ${1:`!p
|
||||
abspath = os.path.abspath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', abspath)
|
||||
if m:
|
||||
› snip.rv = m.group().replace('/', '\\')
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
|
||||
/**
|
||||
@ -306,7 +304,7 @@ if m:
|
||||
*/
|
||||
interface $1
|
||||
{
|
||||
› public function ${3:someFunction}();$4
|
||||
public function ${3:someFunction}();$4
|
||||
}
|
||||
endsnippet
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user