|
4 | 4 | "body": "() => $0", |
5 | 5 | "description": "Arrow function (implicit return)" |
6 | 6 | }, |
7 | | - "arrowFunctionWithArguments": { |
| 7 | + "arrowFunction.WithArguments": { |
8 | 8 | "prefix": "afa", |
9 | 9 | "body": "(${1:arg}) => $0", |
10 | 10 | "description": "Arrow function (implicit return) with arguments" |
11 | 11 | }, |
12 | | - "arrowFunctionWithArgumentDestructuring": { |
| 12 | + "arrowFunction.WithArgument.Destructuring": { |
13 | 13 | "prefix": "afad", |
14 | 14 | "body": "({${1:prop}, ${2:prop}}) => $0", |
15 | 15 | "description": "Arrow function (implicit return) with argument destructuring" |
16 | 16 | }, |
17 | | - "arrowFunctionObject": { |
| 17 | + "arrowFunction.Object": { |
18 | 18 | "prefix": "afo", |
19 | 19 | "body": "() => ( { ${1:prop}:${0:value}} )", |
20 | 20 | "description": "Arrow function (object literal implicit return)" |
21 | 21 | }, |
22 | | - "arrowFunctionObjectWithArguments": { |
| 22 | + "arrowFunction.Object.WithArguments": { |
23 | 23 | "prefix": "afoa", |
24 | 24 | "body": "(${1:arg}) => ( { ${2:prop}:${0:value}} )", |
25 | 25 | "description": "Arrow function (object literal implicit return) with arguments" |
26 | 26 | }, |
27 | | - "arrowFunctionExplicit": { |
| 27 | + "arrowFunction.Explicit": { |
28 | 28 | "prefix": "afe", |
29 | 29 | "body": ["() => {", "\t${1:return} $0", "}"], |
30 | 30 | "description": "Arrow function (explicit return)" |
31 | 31 | }, |
32 | | - "arrowFunctionExplicitWithArguments": { |
| 32 | + "arrowFunction.Explicit.WithArguments": { |
33 | 33 | "prefix": "afea", |
34 | 34 | "body": ["(${1:arg}) => {", "\t${2:return} $0", "}"], |
35 | 35 | "description": "Arrow function (explicit return) with arguments" |
36 | 36 | }, |
37 | | - "arrowFunctionExplicitWithArgumentDestructuring": { |
| 37 | + "arrowFunction.Explicit.WithArgument.Destructuring": { |
38 | 38 | "prefix": "afead", |
39 | 39 | "body": ["({${1:prop}, ${2:prop}}) => {", "\t${3:return} $0", "}"], |
40 | 40 | "description": "Arrow function (explicit return) with argument destructuring" |
41 | 41 | }, |
42 | | - "arrowFunctionExplicitEmpty": { |
| 42 | + "arrowFunction.Explicit.Empty": { |
43 | 43 | "prefix": "afee", |
44 | 44 | "body": ["() => {", "\t$0", "}"], |
45 | 45 | "description": "Arrow function (without return)" |
46 | 46 | }, |
47 | | - "arrowFunctionExplicitEmptyWithArguments": { |
| 47 | + "arrowFunction.Explicit.Empty.WithArguments": { |
48 | 48 | "prefix": "afeea", |
49 | 49 | "body": ["(${1:arg}) => {", "\t$0", "}"], |
50 | 50 | "description": "Arrow function (without return) with arguments" |
51 | 51 | }, |
52 | | - "arrowFunctionParentheses": { |
| 52 | + "arrowFunction.Parentheses": { |
53 | 53 | "prefix": "afp", |
54 | 54 | "body": ["() => {", "\t( ${0} )", "}"], |
55 | 55 | "description": "Arrow function (explicit without return)" |
56 | 56 | }, |
57 | | - "arrowFunctionParenthesesWithArguments": { |
| 57 | + "arrowFunction.Parentheses.WithArguments": { |
58 | 58 | "prefix": "afpa", |
59 | 59 | "body": ["(${1:arg}) => {", "\t( ${0} )", "}"], |
60 | 60 | "description": "Arrow function (explicit without return) with arguments" |
61 | 61 | }, |
62 | | - "arrowFunctionImmediatelyInvoque": { |
| 62 | + "arrowFunction.ImmediatelyInvoque": { |
63 | 63 | "prefix": ["iiaf", "afii"], |
64 | 64 | "body": "(() => $0)()", |
65 | 65 | "description": "Arrow function Immediately Invoke" |
|
69 | 69 | "body": "async () => $0", |
70 | 70 | "description": "Arrow async function" |
71 | 71 | }, |
72 | | - "arrowAsyncFunctionWithArguments": { |
| 72 | + "arrowAsyncFunction.WithArguments": { |
73 | 73 | "prefix": "aafa", |
74 | 74 | "body": "async (${1:arg}) => $0", |
75 | 75 | "description": "Arrow async function (implicit return) with arguments" |
76 | 76 | }, |
77 | | - "arrowAsyncFunctionImplicitWithArgumentDestructuring": { |
| 77 | + "arrowAsyncFunction.Implicit.WithArgument.Destructuring": { |
78 | 78 | "prefix": "aafad", |
79 | 79 | "body": "async ({ ${1:prop} }) => $0", |
80 | 80 | "description": "Arrow async function (explicit return) with argument destructuring" |
81 | 81 | }, |
82 | | - "arrowAsyncFunctionExplicitReturn": { |
| 82 | + "arrowAsyncFunction.Explicit.Return": { |
83 | 83 | "prefix": "aafe", |
84 | 84 | "body": ["async () => {", "\t${1:return} $0", "}"], |
85 | 85 | "description": "Arrow async function (explicit with return)" |
86 | 86 | }, |
87 | | - "arrowAsyncFunctionExplicitWithArguments": { |
| 87 | + "arrowAsyncFunction.Explicit.WithArguments": { |
88 | 88 | "prefix": "aafea", |
89 | 89 | "body": ["async (${1:arg}) => {", "\t${2:return} $0", "}"], |
90 | 90 | "description": "Arrow async function (explicit without return) with arguments" |
91 | 91 | }, |
92 | | - "arrowAsyncFunctionExplicitWithArgumentDestructuring": { |
| 92 | + "arrowAsyncFunction.Explicit.WithArgument.Destructuring": { |
93 | 93 | "prefix": "aafead", |
94 | 94 | "body": ["async ({ ${1:prop}, ${2:prop} }) => {", "\t${3:return} $0", "}"], |
95 | 95 | "description": "Arrow async function (explicit return) with argument destructuring" |
96 | 96 | }, |
97 | | - "arrowAsyncFunctionExplicitEmpty": { |
| 97 | + "arrowAsyncFunction.Explicit.Empty": { |
98 | 98 | "prefix": "aafee", |
99 | 99 | "body": ["async () => {", "\t$0", "}"], |
100 | 100 | "description": "Arrow async function (without return)" |
101 | 101 | }, |
102 | | - "arrowAsyncFunctionExplicitEmptyWithArguments": { |
| 102 | + "arrowAsyncFunction.Explicit.Empty.WithArguments": { |
103 | 103 | "prefix": "aafeea", |
104 | 104 | "body": ["async (${1:arg}) => {", "\t$0", "}"], |
105 | 105 | "description": "Arrow async function (without return) with arguments" |
106 | 106 | }, |
107 | | - "arrowAsyncAwaitFunctionExplicitWithArguments": { |
| 107 | + "arrowAsyncAwaitFunction.Explicit.WithArguments": { |
108 | 108 | "prefix": "aaafea", |
109 | 109 | "body": ["async (${1:arg}) => {", "\tconst ${2:name} = await ${0}", "}"], |
110 | 110 | "description": "Arrow async-await function (explicit without return) with arguments" |
111 | 111 | }, |
112 | | - "arrowAsyncFunctionImmediatelyInvoque": { |
| 112 | + "arrowAsyncFunction.ImmediatelyInvoque": { |
113 | 113 | "prefix": ["iiaaf", "aafii"], |
114 | 114 | "body": "(async () => $0)()", |
115 | 115 | "description": "Arrow async function Immediately Invoke" |
|
0 commit comments