-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
167 lines (167 loc) · 3.49 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
{
"name": "mayacode",
"displayName": "MayaCode",
"description": "A Visual Studio Code extension with support for coding for Maya.",
"version": "1.5.0",
"publisher": "saviof",
"author": {
"name": "Savio Fernandes"
},
"license": "MIT",
"homepage": "https://github.com/artbycrunk/vscode-maya",
"repository": {
"type": "git",
"url": "https://github.com/artbycrunk/vscode-maya"
},
"bugs": {
"url": "https://github.com/artbycrunk/vscode-maya/issues"
},
"icon": "icon.png",
"engines": {
"vscode": "^1.20.0"
},
"keywords": [
"maya",
"mel",
"python",
"autodesk maya"
],
"categories": [
"Programming Languages",
"Snippets",
"Other"
],
"activationEvents": [
"onLanguage:mel",
"onLanguage:python",
"onCommand:mayacode.sendPythonToMaya",
"onCommand:mayacode.sendMelToMaya"
],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@types/vscode": "^1.20.0",
"tslint": "^5.19.0",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"vscode-extension-telemetry": "^0.1.7"
},
"contributes": {
"languages": [
{
"id": "mel",
"aliases": [
"Maya MEL",
"MEL",
"Mel",
"mel"
],
"extensions": [
".mel",
".ma"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "mel",
"scopeName": "source.mel",
"path": "./syntaxes/mel.tmLanguage.json"
}
],
"snippets": [
{
"language": "mel",
"path": "./snippets/mel.json"
}
],
"commands": [
{
"command": "mayacode.sendPythonToMaya",
"title": "Send Python Code to Maya",
"category": "Maya"
},
{
"command": "mayacode.sendMelToMaya",
"title": "Send MEL Code to Maya",
"category": "Maya"
}
],
"configuration": {
"type": "object",
"title": "MayaCode",
"properties": {
"mayacode.mel.port": {
"type": "integer",
"default": 7001,
"description": "The port over which to send mel commands."
},
"mayacode.python.port": {
"type": "integer",
"default": 5678,
"description": "The port over which to debug python files (uses ptvsd module)"
},
"mayacode.hostname": {
"type": "string",
"default": "localhost",
"description": "The hostname of the machine which has a maya instance running."
},
"mayacode.runner.latest": {
"type": "boolean",
"default": true,
"description": "Run for Maya 2022 and above"
},
"mayacode.telemetry": {
"type": "boolean",
"default": true
}
}
},
"keybindings": [
{
"command": "mayacode.sendPythonToMaya",
"key": "alt+shift+m",
"mac": "ctrl+shift+m",
"when": "editorTextFocus && editorLangId == 'python'"
},
{
"command": "mayacode.sendMelToMaya",
"key": "alt+shift+m",
"mac": "ctrl+shift+m",
"when": "editorTextFocus && editorLangId == 'mel'"
}
],
"menus": {
"editor/context": [
{
"command": "mayacode.sendPythonToMaya",
"when": "editorTextFocus && editorLangId == 'python'",
"group": "navigation"
},
{
"command": "mayacode.sendMelToMaya",
"when": "editorTextFocus && editorLangId == 'mel'",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "mayacode.sendPythonToMaya",
"group": "mayacode"
},
{
"command": "mayacode.sendMelToMaya",
"group": "mayacode"
}
]
}
}
}