-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
229 lines (229 loc) · 6.07 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
{
"name": "vscode-povray",
"displayName": "POV-Ray",
"description": "Persistence of Vision Ray Tracer (POV-Ray) Extension for Visual Studio Code",
"icon": "icons/povray-extension-logo.png",
"version": "0.0.11",
"publisher": "jmaxwilson",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jmaxwilson/vscode-povray"
},
"engines": {
"vscode": "^1.32.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"workspaceContains:*.pov",
"onCommand:povray.render"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "povray",
"aliases": [
"povray",
"pov-ray",
"POVRay",
"POV-Ray",
"POVRAY",
"POV-RAY"
],
"extensions": [
".pov",
".inc",
".ini"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "povray",
"scopeName": "source.povray",
"path": "./syntaxes/povray.tmLanguage.json"
}
],
"taskDefinitions": [
{
"type": "povray",
"properties": {
"task": {
"type": "string",
"description": "The type of task"
},
"filePath": {
"type": "string",
"description": "The full path to the source file"
},
"outFilePath": {
"type": "string",
"description": "The full path to the output file"
}
}
}
],
"problemMatchers": [
{
"name": "povray",
"owner": "povray",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^.*\\s\\'(.*\\.pov|inc).*line\\s+(\\d+):.*(.*[Ee]rror.*):\\s(.*$)",
"file": 1,
"line": 2,
"severity": 3,
"message": 4
},
{
"regexp": "^([\\s]\\w.*)",
"message": 1
}
]
}
],
"commands": [
{
"command": "povray.render",
"title": "POV-Ray: Render Scene",
"icon": "icons/povray-render-icon.png"
}
],
"menus": {
"commandPalette": [
{
"when": "resourceLangId == povray && resourceExtname != .inc",
"command": "povray.render",
"group": "navigation"
}
],
"editor/title": [
{
"when": "resourceLangId == povray && resourceExtname != .inc",
"command": "povray.render",
"group": "navigation"
}
]
},
"configuration": {
"type": "object",
"title": "POV-Ray",
"properties": {
"povray.outputPath": {
"type": "string",
"default": "",
"deprecationMessage": "**DEPRECATED** Please use Povray > Render: Output Path"
},
"povray.defaultRenderWidth": {
"type": [
"integer",
"null"
],
"default": null,
"deprecationMessage": "**DEPRECATED** Please use Povray > Render: Default Width"
},
"povray.defaultRenderHeight": {
"type": [
"integer",
"null"
],
"default": null,
"deprecationMessage": "**DEPRECATED** Please use Povray > Render: Default Height"
},
"povray.render.defaultWidth": {
"type": "integer",
"default": "1024",
"description": "The default width in pixels for rendered scene images"
},
"povray.render.defaultHeight": {
"type": "integer",
"default": "768",
"description": "The default height in pixels for rendered scene images"
},
"povray.render.outputImageFormat": {
"type": "string",
"enum": [
"png - Portable Network Graphics",
"jpg - JPEG (lossy)",
"bmp - Bitmap",
"tga - Targa-24",
"tga - Targa-24 (compressed)",
"exr - OpenEXR High Dynamic-Range",
"hdr - Radiance High Dynamic-Range",
"ppm - Portable Pixmap"
],
"default": "png - Portable Network Graphics",
"description": "The image format to use for rendered scenes"
},
"povray.render.displayImageDuringRender": {
"type": "boolean",
"default": false,
"markdownDescription": "Display the image while it is being rendered [Note: this POV-Ray feature may not be available on all platforms]"
},
"povray.render.openImageAfterRender": {
"type": "boolean",
"default": true,
"description": "Automatically open the rendered image when rendering finishes?"
},
"povray.render.openImageAfterRenderInNewColumn": {
"type": "boolean",
"default": true,
"description": "When the rendered image is automatically opened, open it in a new column beside the current editor"
},
"povray.render.outputPath": {
"type": "string",
"default": "",
"description": "A path to a folder where rendered images will be saved. This can be an absolute path (/pov/output) or a relative path (./output). (Note: if the directory doesn't exist already it will be created at render time.)"
},
"povray.render.customCommandlineOptions": {
"type": "string",
"default": "",
"markdownDescription": "Additional [commandline options](https://www.povray.org/documentation/3.7.0/r3_2.html) to add to POV-Ray when rendering the scene."
},
"povray.docker.enableDocker": {
"type": "boolean",
"default": false,
"markdownDescription": "Use [Docker](https://www.docker.com/products/docker-desktop) to run POV-Ray."
},
"povray.docker.image": {
"type": "string",
"default": "jmaxwilson/povray",
"markdownDescription": "Specify the docker image that will be used to run povray through docker. Compatible images available from https://hub.docker.com/r/jmaxwilson/povray "
},
"povray.libraryPath": {
"type": "string",
"default": "",
"description": "The Library Path where POV-Ray can find all of the standard include files. (Note: You should only really need to use this on Mac.)"
}
}
},
"snippets": [
{
"language": "povray",
"path": "./snippets/snippets.json"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "yarn run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^10.12.21",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vscode": "^1.1.34"
}
}