forked from joa/haxe-sublime2-bundle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
413 additions
and
218 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[class ${1:class_name} | ||
{ | ||
public function new(){ | ||
<content><![CDATA[class ${1:name}$HX_W_OCB{ | ||
public function new$HX_W_ORB()$HX_W_OCB{ | ||
${0:$TM_SELECTED_TEXT} | ||
} | ||
}]]></content> | ||
<tabTrigger>class</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Class</description> | ||
<tabTrigger>class</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Class</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[do${2:$HX_W_OCB{ | ||
${3:$TM_SELECTED_TEXT}$0 | ||
\}}${HX_CCB_W}while$HX_K_W_ORB(${1:condition});]]></content> | ||
<tabTrigger>do</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>do while</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[enum ${1:enum_name} | ||
{ | ||
<content><![CDATA[enum ${1:name}$HX_W_OCB{ | ||
${0:$TM_SELECTED_TEXT} | ||
}]]></content> | ||
<tabTrigger>enum</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Enum</description> | ||
<tabTrigger>enum</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Enum</description> | ||
</snippet> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[for$HX_K_W_ORB($HX_ORB_W${1:i} in ${2:0$HX_W_TD...$HX_TD_W${3:n}}$HX_W_CRB)${4:$HX_W_OCB{ | ||
${5:$TM_SELECTED_TEXT}$0 | ||
\}}]]></content> | ||
<tabTrigger>for</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>for</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[function ${1:function_name}(${2:arguments})${3::${4:Void}} | ||
{ | ||
${0:$TM_SELECTED_TEXT} | ||
}]]></content> | ||
<tabTrigger>fun</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Function (fun)</description> | ||
<content><![CDATA[${1:public }function ${2:name}$HX_W_ORB(${3:args})${4:$HX_W_C:$HX_C_W${5:Void}}${6:$HX_W_OCB{ | ||
${7:$TM_SELECTED_TEXT}$0 | ||
\}}]]></content> | ||
<tabTrigger>fun</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>function</description> | ||
</snippet> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[if$HX_K_W_ORB(${1:condition})$HX_W_OCB{ | ||
${0:$TM_SELECTED_TEXT} | ||
}${HX_CCB_W}else$HX_W_OCB{ | ||
}]]></content> | ||
<tabTrigger>ife</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>if-else (ife)</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[interface ${1:interface_name} | ||
{ | ||
${0:$TM_SELECTED_TEXT} | ||
<content><![CDATA[interface ${1:name}$HX_W_OCB{ | ||
${0:$TM_SELECTED_TEXT} | ||
}]]></content> | ||
<tabTrigger>interface</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Interface</description> | ||
<tabTrigger>interface</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Interface</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
<snippet> | ||
<content><![CDATA[class ${1:class_name} | ||
{ | ||
public function new()$TM_CSLB{ | ||
${0} | ||
<content><![CDATA[class ${1:name}$HX_W_OCB{ | ||
public function new$HX_W_ORB()$HX_W_OCB{ | ||
$0 | ||
} | ||
static public function main() | ||
{ | ||
var app = new ${1:class_name}(); | ||
static public function main$HX_W_ORB()$HX_W_OCB{ | ||
var app$HX_W_A=${HX_A_W}new $1$HX_W_ORB()$HX_W_SC; | ||
} | ||
}]]></content> | ||
<tabTrigger>main</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Main class</description> | ||
<tabTrigger>main</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Main class</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA[public var ${1:var_name}(get_${1:var_name}, set_${1:var_name}):${2:var_type}; | ||
private var _${1:var_name}:${2:var_type}; | ||
<content><![CDATA[public var ${1:name}$HX_W_ORB(${HX_ORB_W}get_${1:name}$HX_W_CM,${HX_CM_W}set_${1:name}$HX_W_CRB)$HX_CRB_C:$HX_C_W${2:type}; | ||
private var _$1$HX_W_C:$HX_C_W$2; | ||
function get_${1:var_name}():${2:var_type} { return _${1:var_name}; } | ||
function set_${1:var_name}(value:${2:var_type}):${2:var_type}$TM_CSLB{ | ||
return _${1:var_name} = value; | ||
function get_$1$HX_W_ORB()$HX_CRB_W_C:$HX_C_W$2$HX_W_OCB{ | ||
return _$1; | ||
} | ||
function set_$1(value$HX_W_C:$HX_C_W$2)$HX_CRB_W_C:$HX_C_W$2$HX_W_OCB{ | ||
return _$1$HX_W_A=${HX_A_W}value; | ||
}]]></content> | ||
<tabTrigger>prop</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Property with getter/setter (prop)</description> | ||
<tabTrigger>prop</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Property with getter/setter (prop)</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[switch (${1:$TM_SELECTED_TEXT}) { | ||
case: | ||
<content><![CDATA[switch$HX_K_W_ORB(${1:$TM_SELECTED_TEXT})$HX_W_OCB{ | ||
case ${2:pattern}$HX_W_C:$HX_C_W$0 | ||
}]]></content> | ||
<tabTrigger>switch</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>switch</description> | ||
<tabTrigger>switch</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>switch</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<snippet> | ||
<content><![CDATA[var ${1:var_name}${2::${3:Void}}${4: = ${5:value}};]]></content> | ||
<tabTrigger>v</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Variable</description> | ||
<content><![CDATA[var ${1:name}${2:$HX_W_C:$HX_C_W${3:Dynamic}}${4:$HX_W_A=$HX_A_W${5:value}};]]></content> | ||
<tabTrigger>v</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>Variable</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[while$HX_K_W_ORB(${1:condition})${2:$HX_W_OCB{ | ||
${3:$TM_SELECTED_TEXT}$0 | ||
\}}]]></content> | ||
<tabTrigger>while</tabTrigger> | ||
<scope>source.haxe.2</scope> | ||
<description>while</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.