-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
346 lines (346 loc) · 8.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
{
"name": "sleeping-forest-ue4",
"displayName": "Sleeping Forest - UE4 multitool",
"description": "Code-completion, CLI tools and asset management/optimization for Unreal Engine 4 in VSCode. (In beta until v1.0.0. Read changelogs. Feedback at discord.)",
"publisher": "suvam0451",
"version": "0.6.15",
"license": "MPL-2.0",
"icon": "logo/logo2.png",
"repository": {
"type": "git",
"url": "https://github.com/suvam0451/sleeping-forest-ue4"
},
"engines": {
"vscode": "^1.39.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:cpp",
"onCommand:extension.sf.compileShaders",
"onCommand:extension.sf.compileCode",
"onCommand:extension.sf.onConstruction",
"onCommand:extension.sf.includeManager",
"onCommand:extension.sf.createClass",
"onCommand:extension.sf.injectExcludes",
"onCommand:extension.sf.initializeAssetFolder",
"onCommand:extension.sf.refreshAssetFolders",
"onCommand:extension.sf.tryInitialize",
"onCommand:extension.sf.addOverride",
"onCommand:extension.sf.RefactorAPI",
"onCommand:extension.cs.ParseHLSLForUE4"
],
"main": "/dist/extension",
"keywords": [
"ue4",
"gamedev",
"shaders"
],
"preview": true,
"contributes": {
"commands": [
{
"command": "extension.sf.compileShaders",
"title": "UE4 : (Cook) -> Compile shaders and blueprints."
},
{
"command": "extension.sf.compileCode",
"title": "UE4 : (Build) -> Compile all code."
},
{
"command": "extension.sf.addOverride",
"title": "UE4 : Add override function."
},
{
"command": "extension.sf.onConstruction",
"title": "UE4 : Actor.OnConstruction(Transform).",
"when": "inputFocus"
},
{
"command": "extension.sf.includeManager",
"title": "UE4 : Include Headers"
},
{
"command": "extension.sf.createClass",
"title": "UE4 : Generate UE4 Class(.h/.cpp)"
},
{
"command": "extension.sf.injectExcludes",
"title": "UE4 : Inject exclude definitions in Workspace File"
},
{
"command": "extension.sf.initializeAssetFolder",
"title": "UE4 : Create new Asset Stream"
},
{
"command": "extension.sf.refreshAssetFolders",
"title": "UE4 : Refresh Asset Streams"
},
{
"command": "extension.sf.tryInitialize",
"title": "UE4 : Action by context"
},
{
"command": "extension.sf.RefactorAPI",
"title": "UE4 : Refactoring Tool"
},
{
"command": "extension.cs.ParseHLSLForUE4",
"title": "UE4 : Parse .usf/.ush file into python import file"
}
],
"menus": {
"editor/context": [
{
"when": "editorTextFocus && editorLangId == 'cpp'",
"command": "extension.sf.createClass",
"group": "Sleeping Forest"
},
{
"when": "editorTextFocus && editorLangId == 'cpp'",
"command": "extension.sf.tryInitialize",
"group": "Sleeping Forest"
}
]
},
"languages": [
{
"id": "hlsl",
"extensions": [
".usf",
".ush"
]
}
],
"grammars": [
{
"scopeName": "source.usf",
"path": "./syntaxes/usf.tmLanguage.json",
"injectTo": [
"source.hlsl"
]
}
],
"snippets": [
{
"language": "cpp",
"path": "./snippets/ue4_suvam0451.json"
},
{
"language": "cpp",
"path": "./snippets/ue4_procedural.json"
},
{
"language": "cpp",
"path": "./snippets/uprop.json"
},
{
"language": "cpp",
"path": "./snippets/ugs.json"
},
{
"language": "cpp",
"path": "./snippets/uinit.json"
},
{
"language": "cpp",
"path": "./snippets/utrace.json"
},
{
"language": "cpp",
"path": "./snippets/uget.json"
},
{
"language": "cpp",
"path": "./snippets/udebug.json"
},
{
"language": "cpp",
"path": "./snippets/udel.json"
},
{
"language": "cpp",
"path": "./snippets/umat.json"
},
{
"language": "cpp",
"path": "./snippets/ulog.json"
},
{
"language": "cpp",
"path": "./snippets/uwidget.json"
},
{
"language": "cpp",
"path": "./snippets/uclass.json"
},
{
"language": "cpp",
"path": "./snippets/slate/utypes.json"
},
{
"language": "cpp",
"path": "./snippets/slate/uslate.json"
},
{
"language": "cpp",
"path": "./snippets/slate/widgets.json"
},
{
"language": "cpp",
"path": "./snippets/production/localization.json"
},
{
"language": "hlsl",
"path": "./snippets/usf/functionlibrary.json"
},
{
"language": "hlsl",
"path": "./snippets/usf/featurenodes.json"
},
{
"language": "hlsl",
"path": "./snippets/usf/hlsl.json"
},
{
"language": "hlsl",
"path": "./snippets/usf/locals.json"
},
{
"language": "hlsl",
"path": "./snippets/usf/usf_metadata.json"
}
],
"configuration": {
"title": "Sleeping Forest (UE4)",
"properties": {
"SF.assetFolders": {
"type": "array",
"default": [],
"description": "Fullpaths to list of folders initialized using this plug-in from which to pull assets to UE4."
},
"SF.excludeFolders": {
"type": "array",
"default": [
"Intermediate",
"Saved",
"Binaries",
"Build",
"DerivedDataCache",
"Documentation",
"Programs",
"FeaturePacks",
"Samples",
"Templates",
"Extras",
"Engine/Source/Editor",
"Content",
"Resources"
],
"description": "These folders are completely removed from workspace. For file extesnions, use SF.excludedExtensions."
},
"SF.searchExclude": {
"type": "array",
"default": [
"Engine/Source/Editor"
],
"description": "Folders to ignore while searching. For example, editor classes are not needed for gameplay scripting."
},
"SF.UE4PythonAPIOutputFile": {
"type": "string",
"default": [
""
],
"description": [
"This fullpath to file, where you want to output UE4 PythonAPI generated files.",
"If left blank, by default {User}/.vscode/data/extensions/UE4PythonAPI.py is used instead."
]
},
"SF.customShaderIncludePath": {
"type": "array",
"default": [
""
],
"description": "If you are using usf shaders, mention the include directories here."
},
"SF.usfResolvedNamespace": {
"type": "string",
"default": [
"CS/"
],
"description": [
"In code you must have named the additional shader include directory something.",
"Specify that here (Although this is not very significant and you can always change it later)."
]
},
"SF.excludedExtensions": {
"type": "array",
"default": [
"exe",
"dll",
"egstore",
"generated.h",
"uasset",
"gitignore",
"gitattributes"
],
"description": "These extensions will be excluded from search and the project. Add .uassets if you need only code."
},
"SF.autoAddFunctionsInSource": {
"type": "boolean",
"default": true,
"description": "If set to true, generated code for UE4 functions is directly written to source files."
},
"SF.GitSubmodules": {
"type": "array",
"default": [],
"description": "List any git submodules here."
},
"SF.ShaderSourceDirectoryMapping": {
"type": "string",
"default": "/CS",
"description": [
"This is the path you set as shader directory alias",
"This will be appended in the `code` field of all your custom nodes."
]
}
}
}
},
"scripts": {
"compile": "tsc -p ./ && webpack --mode development",
"pretest": "yarn run compile",
"test": "yarn tsc test/snippetmodules.test.ts --resolveJsonModule --esModuleInterop && node test/snippetmodules.test.js",
"test-compile": "tsc -p ./",
"vscode:prepublish": "webpack --mode production",
"watch": "tsc -watch -p ./",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"ship": "yarn run webpack && yarn vsce package"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/node": "^7.8.4",
"@types/lodash": "^4.14.149",
"@types/node": "^14.0.18",
"@types/vscode": "^1.39.0",
"babel-preset-es2015": "^6.24.1",
"mocha": "^8.0.1",
"ts-loader": "^7.0.5",
"tslint": "^6.0.0",
"typescript": "^3.6.4",
"vsce": "^1.74.0",
"vscode-test": "^1.2.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"dependencies": {
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"chai": "^4.2.0",
"lodash": "^4.17.15",
"vscode-geass": "^0.0.4",
"xregexp": "^4.2.4"
}
}