mirror of
https://github.com/jdonaldson/vaxe
synced 2024-09-16 13:44:03 +02:00
small changes to snippets
This commit is contained in:
parent
b89974f413
commit
995c202ecc
1 changed files with 3 additions and 4 deletions
|
@ -27,8 +27,8 @@ snippet for
|
|||
snippet class HAXE
|
||||
class `expand('%:t:r')` {
|
||||
|
||||
function new(${1}) {
|
||||
${2}
|
||||
public function new(${1}) {
|
||||
${2://initialize variables}
|
||||
}
|
||||
|
||||
static function main() {
|
||||
|
@ -43,7 +43,6 @@ snippet main
|
|||
snippet new
|
||||
public function new(${1:arg}) {
|
||||
super($1);
|
||||
${2}
|
||||
}
|
||||
snippet fn func
|
||||
function(${1:arg}) {
|
||||
|
@ -72,7 +71,7 @@ snippet pristafu private static function
|
|||
snippet trace
|
||||
trace(${1});
|
||||
snippet desc function
|
||||
trace(${1:} + " is the value for $1");
|
||||
trace(${1} + " is the value for $1");
|
||||
snippet cast
|
||||
cast(${1:cast_this}, ${2:type})
|
||||
snippet interface
|
||||
|
|
Loading…
Reference in a new issue