-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
237 lines (237 loc) · 6.91 KB
/
Copy pathpackage.json
File metadata and controls
237 lines (237 loc) · 6.91 KB
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
{
"name": "unity-code-pro",
"displayName": "Unity Code Pro",
"author": "hackerzhuli",
"icon": "assets/icon.png",
"description": "Unity IDE right inside VS Code!",
"version": "1.1.1",
"publisher": "hackerzhuli",
"license": "MIT",
"homepage": "https://unitycode.hackerzhuli.com",
"repository": {
"type": "git",
"url": "https://github.com/hackerzhuli/unity-code.git"
},
"categories": [
"Programming Languages",
"Debuggers",
"Other"
],
"keywords": [
"gaming",
"unity",
"unity3d",
"debugger",
"C#",
"dotnet",
"scripting",
"unity-integration",
"asset-management",
"hot-reload"
],
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": false
}
},
"engines": {
"vscode": "^1.96.0"
},
"extensionDependencies": [
"nromanov.dotrush"
],
"activationEvents": [
"workspaceContains:ProjectSettings/ProjectVersion.txt"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "uss",
"aliases": ["Unity StyleSheet", "uss"],
"extensions": [".uss", ".tss"],
"configuration": "./language-configuration.json"
}
],
"icons": {
"unity-cube": {
"description": "Unity Cube Icon",
"default": {
"fontPath": "./assets/icons.woff",
"fontCharacter": ""
}
},
"hot-reload": {
"description": "Hot Reload Icon",
"default": {
"fontPath": "./assets/icons.woff",
"fontCharacter": ""
}
}
},
"commands": [
{
"command": "unity-code.refreshTests",
"title": "Unity Code Pro: Refresh Tests"
},
{
"command": "unity-code.showUnityConsole",
"title": "Unity Code Pro: Show Unity Console"
}
],
"viewsContainers": {
"panel": [
{
"id": "unityConsoleContainer",
"title": "Unity Console",
"icon": "$(unity-cube)"
}
]
},
"views": {
"unityConsoleContainer": [
{
"type": "webview",
"id": "unityConsole",
"name": "Unity Console",
"when": "unity-code:hasUnityProject"
}
]
},
"breakpoints": [
{
"language": "csharp"
}
],
"debuggers": [
{
"type": "unity-code",
"languages": [
"csharp"
],
"label": "Unity Code Debugger",
"configurationAttributes": {
"attach": {
"required": [],
"properties": {
"cwd": {
"type": "string",
"description": "Working directory for the debugger",
"default": "${workspaceFolder}"
},
"debuggerOptions": {
"type": "object",
"description": "Additional debugger options"
},
"transportId": {
"type": "string",
"description": "Transport ID for external type resolver"
}
}
}
},
"initialConfigurations": [
{
"name": "Unity Code Attach",
"type": "unity-code",
"request": "attach"
}
],
"configurationSnippets": [
{
"label": "Attach to Unity Editor with Unity Code",
"description": "Attach to Unity Editor",
"body": {
"name": "Attach to Unity Editor with Unity Code",
"type": "unity-code",
"request": "attach",
"cwd": "${workspaceFolder}"
}
}
]
}
],
"configuration": {
"title": "Unity Code Pro",
"properties": {
"unity-code.autoRefreshAssetDatabase": {
"type": "boolean",
"default": true,
"description": "Automatically refresh Unity asset database when assets are saved or C# scripts are created/deleted/moved in code editor. Asset database refresh will be skipped if Hot Reload for Unity is running, tests are running or Unity is in Play Mode"
},
"unity-code.debugger.stepOverPropertiesAndOperators": {
"type": "boolean",
"default": true,
"description": "Step over properties and operators when debugging"
},
"unity-code.ignoreDuplicateLogs": {
"type": "boolean",
"default": true,
"description": "Ignore duplicate logs in Unity Console (logs with exactly the same content including stack trace)"
},
"unity-code.assetDatabaseRefreshDelay": {
"type": "number",
"default": 10,
"minimum": 1,
"maximum": 60,
"description": "Minimum delay in seconds between Unity asset database refreshes to prevent unnecessary frequent refreshes (1-60 seconds)"
}
},
"testing": {
"providers": [
{
"id": "unityTests",
"label": "Unity Tests"
}
]
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "npm run compile && npx mocha out/test/suite/*.test.js",
"compile": "tsc",
"watch": "tsc -watch -p ./",
"clean": "rimraf out",
"build": "npm run clean && npx tsx scripts/build.ts",
"build:win": "npm run build && npx tsx scripts/package.ts win_x64",
"build:winarm": "npm run build && npx tsx scripts/package.ts win_arm64",
"build:linux": "npm run build && npx tsx scripts/package.ts linux_x64",
"build:linuxarm": "npm run build && npx tsx scripts/package.ts linux_arm64",
"build:mac": "npm run build && npx tsx scripts/package.ts mac_x64",
"build:macarm": "npm run build && npx tsx scripts/package.ts mac_arm64",
"publish:win": "npm run build && npx tsx scripts/package.ts win_x64 --publish-open-vsx",
"publish:winarm": "npm run build && npx tsx scripts/package.ts win_arm64 --publish-open-vsx",
"publish:linux": "npm run build && npx tsx scripts/package.ts linux_x64 --publish-open-vsx",
"publish:linuxarm": "npm run build && npx tsx scripts/package.ts linux_arm64 --publish-open-vsx",
"publish:mac": "npm run build && npx tsx scripts/package.ts mac_x64 --publish-open-vsx",
"publish:macarm": "npm run build && npx tsx scripts/package.ts mac_arm64 --publish-open-vsx"
},
"dependencies": {
"fast-xml-parser": "^5.2.5",
"vscode-languageclient": "^9.0.1",
"yaml": "^2.6.1"
},
"devDependencies": {
"@eslint/js": "^9.29.0",
"@types/mocha": "^10.0.10",
"@types/node": "24.x",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"@vscode/vsce": "^3.2.0",
"esbuild": "^0.20.0",
"eslint": "^9.29.0",
"esm": "^3.2.25",
"esmock": "^2.7.0",
"globals": "^16.2.0",
"mocha": "^11.7.0",
"ovsx": "^0.9.5",
"rimraf": "^6.0.1",
"tsx": "^4.19.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.34.1"
}
}