-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
201 lines (201 loc) · 5.96 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
{
"name": "mobu-utils",
"publisher": "NilsSoderman",
"displayName": "MotionBuilder Utils",
"description": "Features to assist when writing Python code for Autodesk MotionBuilder.",
"version": "2025.2.0",
"categories": [
"Other",
"Debuggers"
],
"keywords": [
"motionbuilder",
"mobu",
"python",
"pyfbsdk",
"autodesk",
"debug"
],
"icon": "media/icon.png",
"galleryBanner": {
"color": "#444444",
"theme": "dark"
},
"qna": "marketplace",
"license": "SEE LICENSE IN LICENSE",
"author": {
"name": "Nils Söderman",
"url": "https://nilssoderman.com"
},
"repository": {
"type": "git",
"url": "https://github.com/nils-soderman/vscode-motionbuilder"
},
"bugs": {
"url": "https://github.com/nils-soderman/vscode-motionbuilder/issues"
},
"homepage": "https://nilssoderman.com/downloads/vscode/motionbuilder-utils/",
"main": "./dist/extension.js",
"activationEvents": [
"onNotebook:jupyter-notebook"
],
"contributes": {
"commands": [
{
"command": "motionbuilder.execute",
"title": "Execute",
"category": "MotionBuilder",
"enablement": "editorLangId==python && activeEditor != workbench.editor.notebook"
},
{
"command": "motionbuilder.attach",
"title": "Attach",
"category": "MotionBuilder"
},
{
"command": "motionbuilder.setupCodeCompletion",
"title": "Setup Code Completion",
"category": "MotionBuilder"
},
{
"command": "motionbuilder.browseDocumentationPython",
"title": "Browse Documentation",
"category": "MotionBuilder"
},
{
"command": "motionbuilder.browseDocumentationExamples",
"title": "Browse Examples",
"category": "MotionBuilder"
},
{
"command": "motionbuilder.reloadModules",
"title": "Reload Imported Modules",
"category": "MotionBuilder",
"enablement": "editorLangId==python"
}
],
"keybindings": [
{
"command": "motionbuilder.execute",
"key": "ctrl+enter",
"when": "editorTextFocus"
},
{
"command": "motionbuilder.browseDocumentationPython",
"key": "ctrl+f1"
}
],
"configuration": [
{
"order": 0,
"properties": {
"motionbuilder.environment.addWorkspaceToPath": {
"type": "boolean",
"default": true,
"markdownDescription": "Add the workspace path(s) to the `sys.path` when executing code",
"scope": "resource",
"order": 0
},
"motionbuilder.documentation.openExamplesInEditor": {
"type": "boolean",
"default": true,
"description": "Open up the example files in editor, instead of the web-browser.",
"scope": "resource",
"order": 1
},
"motionbuilder.reload.ignore": {
"type": "array",
"default": [
"*/site-packages/*"
],
"description": "Glob patterns for files to ignore when reloading modules. Pattern will be matched against the full filepath of the module.",
"scope": "resource",
"order": 2
}
}
},
{
"title": "Execute",
"order": 1,
"properties": {
"motionbuilder.execute.showOutput": {
"type": "boolean",
"default": true,
"description": "Display the output log when something is executed",
"scope": "resource",
"order": 1
},
"motionbuilder.execute.clearOutput": {
"type": "boolean",
"default": false,
"description": "Clear output log each time somethings new is executed.",
"scope": "resource",
"order": 2
},
"motionbuilder.execute.name": {
"type": "string",
"default": "",
"markdownDescription": "The value for the Python variable `__name__` when executing code",
"scope": "resource",
"order": 3
}
}
},
{
"title": "Attach",
"order": 2,
"properties": {
"motionbuilder.attach.port": {
"type": "integer",
"default": 4243,
"description": "The port to run the debugpy server on",
"minimum": 0,
"maximum": 65353,
"scope": "resource",
"order": 0
},
"motionbuilder.attach.autoPort": {
"type": "boolean",
"default": true,
"description": "Automatically find a free port to run the debugpy server on",
"scope": "resource",
"order": 1
}
}
}
]
},
"engines": {
"vscode": "^1.90.0"
},
"scripts": {
"vscode:uninstall": "node ./dist/hooks/uninstall-hook",
"vscode:prepublish": "npm run esbuild-base -- --minify && npm run build-hooks",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"watch": "npm run esbuild-base -- --sourcemap --watch",
"build-hooks": "tsc ./src/hooks/uninstall-hook.ts --outDir ./dist/hooks --removeComments",
"lint": "eslint src --ext ts",
"test": "tsc -p ./ && vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/sinon": "^17.0.3",
"@types/tcp-port-used": "^1.0.4",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.24.2",
"eslint": "^9.17.0",
"sinon": "^19.0.2",
"typescript": "^5.7.2"
},
"dependencies": {
"motionbuilder-socket": "^2.0.4",
"node-html-parser": "^6.1.13",
"tcp-port-used": "^1.0.2"
}
}