@neurodevs/meta-node 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -93,7 +93,7 @@ TypescriptClassSnippetSuiteTest.keybindingStartMarker = '// === TYPESCRIPT CLASS
|
|
|
93
93
|
TypescriptClassSnippetSuiteTest.keybindingEndMarker = '// === TYPESCRIPT CLASS KEYBINDINGS END ===';
|
|
94
94
|
TypescriptClassSnippetSuiteTest.snippets = `
|
|
95
95
|
// === PUBLIC ===
|
|
96
|
-
"Public constructor": { "scope": "typescript", "prefix": "public.constructor", "body": ["public constructor(\${1:
|
|
96
|
+
"Public constructor": { "scope": "typescript", "prefix": "public.constructor", "body": ["public constructor(\${1:}) {\${2:} }"] },
|
|
97
97
|
"Public field": { "scope": "typescript", "prefix": "public.field", "body": ["public \${1:newField} = \${2:undefined}"] },
|
|
98
98
|
"Public readonly field": { "scope": "typescript", "prefix": "public.readonly.field", "body": ["public readonly \${1:newField} = \${2:undefined}"] },
|
|
99
99
|
"Public getter": { "scope": "typescript", "prefix": "public.getter", "body": ["public get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -103,7 +103,7 @@ TypescriptClassSnippetSuiteTest.snippets = `
|
|
|
103
103
|
"Public abstract method": { "scope": "typescript", "prefix": "public.abstract.method", "body": ["public abstract \${1:newMethod}(\${2:}): \${3:unknown}"] },
|
|
104
104
|
|
|
105
105
|
// === PROTECTED ===
|
|
106
|
-
"Protected constructor": { "scope": "typescript", "prefix": "protected.constructor", "body": ["protected constructor(\${1:
|
|
106
|
+
"Protected constructor": { "scope": "typescript", "prefix": "protected.constructor", "body": ["protected constructor(\${1:}) {\${2:} }"] },
|
|
107
107
|
"Protected field": { "scope": "typescript", "prefix": "protected.field", "body": ["protected \${1:newField} = \${2:undefined}"] },
|
|
108
108
|
"Protected readonly field": { "scope": "typescript", "prefix": "protected.readonly.field", "body": ["protected readonly \${1:newField} = \${2:undefined}"] },
|
|
109
109
|
"Protected getter": { "scope": "typescript", "prefix": "protected.getter", "body": ["protected get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -113,7 +113,7 @@ TypescriptClassSnippetSuiteTest.snippets = `
|
|
|
113
113
|
"Protected abstract method": { "scope": "typescript", "prefix": "protected.abstract.method", "body": ["protected abstract \${1:newMethod}(\${2:}): \${3:unknown}"] },
|
|
114
114
|
|
|
115
115
|
// === PRIVATE ===
|
|
116
|
-
"Private constructor": { "scope": "typescript", "prefix": "private.constructor", "body": ["private constructor(\${1:
|
|
116
|
+
"Private constructor": { "scope": "typescript", "prefix": "private.constructor", "body": ["private constructor(\${1:}) {\${2:} }"] },
|
|
117
117
|
"Private field": { "scope": "typescript", "prefix": "private.field", "body": ["private \${1:newField} = \${2:undefined}"] },
|
|
118
118
|
"Private readonly field": { "scope": "typescript", "prefix": "private.readonly.field", "body": ["private readonly \${1:newField} = \${2:undefined}"] },
|
|
119
119
|
"Private getter": { "scope": "typescript", "prefix": "private.getter", "body": ["private get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -14,7 +14,7 @@ class TypescriptClassSnippetSuite {
|
|
|
14
14
|
this.keybindEndMarker = '// === TYPESCRIPT CLASS KEYBINDINGS END ===';
|
|
15
15
|
this.snippets = `
|
|
16
16
|
// === PUBLIC ===
|
|
17
|
-
"Public constructor": { "scope": "typescript", "prefix": "public.constructor", "body": ["public constructor(\${1:
|
|
17
|
+
"Public constructor": { "scope": "typescript", "prefix": "public.constructor", "body": ["public constructor(\${1:}) {\${2:} }"] },
|
|
18
18
|
"Public field": { "scope": "typescript", "prefix": "public.field", "body": ["public \${1:newField} = \${2:undefined}"] },
|
|
19
19
|
"Public readonly field": { "scope": "typescript", "prefix": "public.readonly.field", "body": ["public readonly \${1:newField} = \${2:undefined}"] },
|
|
20
20
|
"Public getter": { "scope": "typescript", "prefix": "public.getter", "body": ["public get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -24,7 +24,7 @@ class TypescriptClassSnippetSuite {
|
|
|
24
24
|
"Public abstract method": { "scope": "typescript", "prefix": "public.abstract.method", "body": ["public abstract \${1:newMethod}(\${2:}): \${3:unknown}"] },
|
|
25
25
|
|
|
26
26
|
// === PROTECTED ===
|
|
27
|
-
"Protected constructor": { "scope": "typescript", "prefix": "protected.constructor", "body": ["protected constructor(\${1:
|
|
27
|
+
"Protected constructor": { "scope": "typescript", "prefix": "protected.constructor", "body": ["protected constructor(\${1:}) {\${2:} }"] },
|
|
28
28
|
"Protected field": { "scope": "typescript", "prefix": "protected.field", "body": ["protected \${1:newField} = \${2:undefined}"] },
|
|
29
29
|
"Protected readonly field": { "scope": "typescript", "prefix": "protected.readonly.field", "body": ["protected readonly \${1:newField} = \${2:undefined}"] },
|
|
30
30
|
"Protected getter": { "scope": "typescript", "prefix": "protected.getter", "body": ["protected get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -34,7 +34,7 @@ class TypescriptClassSnippetSuite {
|
|
|
34
34
|
"Protected abstract method": { "scope": "typescript", "prefix": "protected.abstract.method", "body": ["protected abstract \${1:newMethod}(\${2:}): \${3:unknown}"] },
|
|
35
35
|
|
|
36
36
|
// === PRIVATE ===
|
|
37
|
-
"Private constructor": { "scope": "typescript", "prefix": "private.constructor", "body": ["private constructor(\${1:
|
|
37
|
+
"Private constructor": { "scope": "typescript", "prefix": "private.constructor", "body": ["private constructor(\${1:}) {\${2:} }"] },
|
|
38
38
|
"Private field": { "scope": "typescript", "prefix": "private.field", "body": ["private \${1:newField} = \${2:undefined}"] },
|
|
39
39
|
"Private readonly field": { "scope": "typescript", "prefix": "private.readonly.field", "body": ["private readonly \${1:newField} = \${2:undefined}"] },
|
|
40
40
|
"Private getter": { "scope": "typescript", "prefix": "private.getter", "body": ["private get \${1:newProperty}() { return \${2:undefined} }"] },
|
package/package.json
CHANGED
|
@@ -143,7 +143,7 @@ export default class TypescriptClassSnippetSuiteTest extends AbstractPackageTest
|
|
|
143
143
|
|
|
144
144
|
private static readonly snippets = `
|
|
145
145
|
// === PUBLIC ===
|
|
146
|
-
"Public constructor": { "scope": "typescript", "prefix": "public.constructor", "body": ["public constructor(\${1:
|
|
146
|
+
"Public constructor": { "scope": "typescript", "prefix": "public.constructor", "body": ["public constructor(\${1:}) {\${2:} }"] },
|
|
147
147
|
"Public field": { "scope": "typescript", "prefix": "public.field", "body": ["public \${1:newField} = \${2:undefined}"] },
|
|
148
148
|
"Public readonly field": { "scope": "typescript", "prefix": "public.readonly.field", "body": ["public readonly \${1:newField} = \${2:undefined}"] },
|
|
149
149
|
"Public getter": { "scope": "typescript", "prefix": "public.getter", "body": ["public get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -153,7 +153,7 @@ export default class TypescriptClassSnippetSuiteTest extends AbstractPackageTest
|
|
|
153
153
|
"Public abstract method": { "scope": "typescript", "prefix": "public.abstract.method", "body": ["public abstract \${1:newMethod}(\${2:}): \${3:unknown}"] },
|
|
154
154
|
|
|
155
155
|
// === PROTECTED ===
|
|
156
|
-
"Protected constructor": { "scope": "typescript", "prefix": "protected.constructor", "body": ["protected constructor(\${1:
|
|
156
|
+
"Protected constructor": { "scope": "typescript", "prefix": "protected.constructor", "body": ["protected constructor(\${1:}) {\${2:} }"] },
|
|
157
157
|
"Protected field": { "scope": "typescript", "prefix": "protected.field", "body": ["protected \${1:newField} = \${2:undefined}"] },
|
|
158
158
|
"Protected readonly field": { "scope": "typescript", "prefix": "protected.readonly.field", "body": ["protected readonly \${1:newField} = \${2:undefined}"] },
|
|
159
159
|
"Protected getter": { "scope": "typescript", "prefix": "protected.getter", "body": ["protected get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -163,7 +163,7 @@ export default class TypescriptClassSnippetSuiteTest extends AbstractPackageTest
|
|
|
163
163
|
"Protected abstract method": { "scope": "typescript", "prefix": "protected.abstract.method", "body": ["protected abstract \${1:newMethod}(\${2:}): \${3:unknown}"] },
|
|
164
164
|
|
|
165
165
|
// === PRIVATE ===
|
|
166
|
-
"Private constructor": { "scope": "typescript", "prefix": "private.constructor", "body": ["private constructor(\${1:
|
|
166
|
+
"Private constructor": { "scope": "typescript", "prefix": "private.constructor", "body": ["private constructor(\${1:}) {\${2:} }"] },
|
|
167
167
|
"Private field": { "scope": "typescript", "prefix": "private.field", "body": ["private \${1:newField} = \${2:undefined}"] },
|
|
168
168
|
"Private readonly field": { "scope": "typescript", "prefix": "private.readonly.field", "body": ["private readonly \${1:newField} = \${2:undefined}"] },
|
|
169
169
|
"Private getter": { "scope": "typescript", "prefix": "private.getter", "body": ["private get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -176,7 +176,7 @@ export default class TypescriptClassSnippetSuite implements SnippetSuite {
|
|
|
176
176
|
|
|
177
177
|
private readonly snippets = `
|
|
178
178
|
// === PUBLIC ===
|
|
179
|
-
"Public constructor": { "scope": "typescript", "prefix": "public.constructor", "body": ["public constructor(\${1:
|
|
179
|
+
"Public constructor": { "scope": "typescript", "prefix": "public.constructor", "body": ["public constructor(\${1:}) {\${2:} }"] },
|
|
180
180
|
"Public field": { "scope": "typescript", "prefix": "public.field", "body": ["public \${1:newField} = \${2:undefined}"] },
|
|
181
181
|
"Public readonly field": { "scope": "typescript", "prefix": "public.readonly.field", "body": ["public readonly \${1:newField} = \${2:undefined}"] },
|
|
182
182
|
"Public getter": { "scope": "typescript", "prefix": "public.getter", "body": ["public get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -186,7 +186,7 @@ export default class TypescriptClassSnippetSuite implements SnippetSuite {
|
|
|
186
186
|
"Public abstract method": { "scope": "typescript", "prefix": "public.abstract.method", "body": ["public abstract \${1:newMethod}(\${2:}): \${3:unknown}"] },
|
|
187
187
|
|
|
188
188
|
// === PROTECTED ===
|
|
189
|
-
"Protected constructor": { "scope": "typescript", "prefix": "protected.constructor", "body": ["protected constructor(\${1:
|
|
189
|
+
"Protected constructor": { "scope": "typescript", "prefix": "protected.constructor", "body": ["protected constructor(\${1:}) {\${2:} }"] },
|
|
190
190
|
"Protected field": { "scope": "typescript", "prefix": "protected.field", "body": ["protected \${1:newField} = \${2:undefined}"] },
|
|
191
191
|
"Protected readonly field": { "scope": "typescript", "prefix": "protected.readonly.field", "body": ["protected readonly \${1:newField} = \${2:undefined}"] },
|
|
192
192
|
"Protected getter": { "scope": "typescript", "prefix": "protected.getter", "body": ["protected get \${1:newProperty}() { return \${2:undefined} }"] },
|
|
@@ -196,7 +196,7 @@ export default class TypescriptClassSnippetSuite implements SnippetSuite {
|
|
|
196
196
|
"Protected abstract method": { "scope": "typescript", "prefix": "protected.abstract.method", "body": ["protected abstract \${1:newMethod}(\${2:}): \${3:unknown}"] },
|
|
197
197
|
|
|
198
198
|
// === PRIVATE ===
|
|
199
|
-
"Private constructor": { "scope": "typescript", "prefix": "private.constructor", "body": ["private constructor(\${1:
|
|
199
|
+
"Private constructor": { "scope": "typescript", "prefix": "private.constructor", "body": ["private constructor(\${1:}) {\${2:} }"] },
|
|
200
200
|
"Private field": { "scope": "typescript", "prefix": "private.field", "body": ["private \${1:newField} = \${2:undefined}"] },
|
|
201
201
|
"Private readonly field": { "scope": "typescript", "prefix": "private.readonly.field", "body": ["private readonly \${1:newField} = \${2:undefined}"] },
|
|
202
202
|
"Private getter": { "scope": "typescript", "prefix": "private.getter", "body": ["private get \${1:newProperty}() { return \${2:undefined} }"] },
|