Skip to content

Commit 8940f8b

Browse files
Slava BuynovSlavaRa
authored andcommitted
Small cleanup...
1 parent 750cce0 commit 8940f8b

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,16 @@ Kind of surround templates on steroids baked with code completion.
1414
Download [the latest release](https://github.com/SlavaRa/fdplugin-postfix-code-completion/releases). Open the .fdz file with FlashDevelop.
1515

1616
## Features
17-
Available templates for **AS3**:
18-
* `.constructor` – surrounds with expression `Object(expr)['constructor']`
17+
Available templates for **Haxe**:
1918
* `.if` – checks boolean expression to be true `if (expr)`
2019
* `.else` – checks boolean expression to be false `if (!expr)`
2120
* `.null` – checks nullable expression to be null `if (expr == null)`
2221
* `.notnull` – checks expression to be non-null `if (expr != null)`
2322
* `.not` – negates value of inner boolean expression `!expr`
24-
* `.foreach` – iterates over collection `foreach (var x in expr)`
25-
* `.forin` – for `Object` surrounds with loop `for (var key:String in expr)`
26-
* `.forin` – for `Dictionary` surrounds with loop `for (var key:Object in expr)`
27-
* `.for` – for `Array`, `Vector` and `String` surrounds with loop `for (var i:int = 0; i < expr.length; i++)`
28-
* `.for` – for Numeric surrounds with loop `for (var i:int = 0; i < expr; i++)`
29-
* `.forr` – for `Array`, `Vector` and `String` reverse loop `for (var i:int = expr.length - 1; i >= 0; i--)`
30-
* `.forr` – for Numeric reverse loop `for (var i:int = expr; i >= 0; i--)`
23+
* `.foreach` – iterates over collection `for(it in expr`)
24+
* `.for` – for `Array`, `Vector`, `Iterator`, `Iterable` and `String` surrounds with loop `for (i in 0...expr.length)`
25+
* `.for` – for Numeric surrounds with loop `for (i in 0...expr)`
3126
* `.var` – initialize new variable with expression `var x = expr;`
32-
* `.const` – initialize new variable with expression `const x = expr;`
3327
* `.new` – produces instantiation expression for type `new T()`
3428
* `.par` – surrounds outer expression with parentheses `(expr)`
3529
* `.return` – returns value from method/property `return expr;`
@@ -38,16 +32,22 @@ Available templates for **AS3**:
3832
* `.sel` – selects expression in editor
3933
* `.trace` – surrounds expression with `trace(expr);`
4034

41-
Available templates for **Haxe**:
35+
Available templates for **AS3**:
36+
* `.constructor` – surrounds with expression `Object(expr)['constructor']`
4237
* `.if` – checks boolean expression to be true `if (expr)`
4338
* `.else` – checks boolean expression to be false `if (!expr)`
4439
* `.null` – checks nullable expression to be null `if (expr == null)`
4540
* `.notnull` – checks expression to be non-null `if (expr != null)`
4641
* `.not` – negates value of inner boolean expression `!expr`
47-
* `.foreach` – iterates over collection `for(it in expr`)
48-
* `.for` – for `Array`, `Vector`, `Iterator`, `Iterable` and `String` surrounds with loop `for (i in 0...expr.length)`
49-
* `.for` – for Numeric surrounds with loop `for (i in 0...expr)`
42+
* `.foreach` – iterates over collection `foreach (var x in expr)`
43+
* `.forin` – for `Object` surrounds with loop `for (var key:String in expr)`
44+
* `.forin` – for `Dictionary` surrounds with loop `for (var key:Object in expr)`
45+
* `.for` – for `Array`, `Vector` and `String` surrounds with loop `for (var i:int = 0; i < expr.length; i++)`
46+
* `.for` – for Numeric surrounds with loop `for (var i:int = 0; i < expr; i++)`
47+
* `.forr` – for `Array`, `Vector` and `String` reverse loop `for (var i:int = expr.length - 1; i >= 0; i--)`
48+
* `.forr` – for Numeric reverse loop `for (var i:int = expr; i >= 0; i--)`
5049
* `.var` – initialize new variable with expression `var x = expr;`
50+
* `.const` – initialize new variable with expression `const x = expr;`
5151
* `.new` – produces instantiation expression for type `new T()`
5252
* `.par` – surrounds outer expression with parentheses `(expr)`
5353
* `.return` – returns value from method/property `return expr;`

0 commit comments

Comments
 (0)