-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
290 lines (290 loc) · 7.61 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
{
"name": "vscode-cos",
"displayName": "Caché ObjectScript (deprecated)",
"description": "Caché ObjectScript language support for Visual Studio Code",
"version": "0.6.2",
"icon": "images/logo.png",
"categories": [
"Programming Languages",
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/doublefint/vscode-cos.git"
},
"publisher": "doublefint",
"contributors": [
{
"name": "Nikita Savchenko",
"email": "[email protected]"
},
{
"name": "Dmitry Maslennikov",
"email": "[email protected]"
}
],
"engines": {
"vscode": "^1.21.0"
},
"activationEvents": [
"*"
],
"main": "./out/extension",
"contributes": {
"menus": {
"view/title": [
{
"command": "vscode-cos.explorer.refresh",
"when": "view == cosExplorer",
"group": "navigation"
},
{
"command": "vscode-cos.explorer.showSystem",
"when": "view == cosExplorer && !vscode-cos.explorer.showSystem"
},
{
"command": "vscode-cos.explorer.hideSystem",
"when": "view == cosExplorer && vscode-cos.explorer.showSystem"
}
]
},
"languages": [
{
"id": "cacheobjectscript",
"aliases": [
"COS"
],
"extensions": [
".cls",
".mac",
".int"
],
"configuration": "./language-configuration.json"
},
{
"id": "cacheobjectscriptinclude",
"aliases": [
"COS.INC"
],
"extensions": [
".inc"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "cacheobjectscript",
"scopeName": "source.cos",
"path": "syntaxes/cos.tmLanguage.json"
},
{
"language": "cacheobjectscriptinclude",
"scopeName": "source.cosinc",
"path": "syntaxes/cosinc.tmLanguage.json"
}
],
"commands": [
{
"category": "COS",
"command": "cos.export",
"title": "Export sources"
},
{
"category": "COS",
"command": "cos.compile",
"title": "Import and compile current file"
},
{
"command": "vscode-cos.explorer.showSystem",
"title": "Show system objects"
},
{
"command": "vscode-cos.explorer.hideSystem",
"title": "Hide system objects"
},
{
"command": "vscode-cos.explorer.refresh",
"title": "Refresh Explorer",
"category": "COS",
"icon": {
"light": "images/light/refresh.svg",
"dark": "images/dark/refresh.svg"
}
},
{
"command": "vscode-cos.explorer.openClass",
"title": "Open class"
},
{
"command": "vscode-cos.explorer.openRoutine",
"title": "Open routine"
},
{
"category": "COS",
"command": "vscode-cos.viewother",
"title": "View other"
}
],
"keybindings": [
{
"command": "cos.compile",
"key": "Ctrl+F7",
"mac": "Cmd+F7"
},
{
"command": "vscode-cos.viewother",
"key": "Ctrl+Shift+V",
"mac": "Cmd+Shift+V",
"when": "editorLangId == 'cacheobjectscript'"
}
],
"configuration": {
"title": "CacheObjectScript Configuration",
"type": "object",
"properties": {
"cos.conn": {
"type": "object",
"description": "Server Access"
},
"cos.conn.label": {
"description": "Server Name",
"type": "string",
"default": "LOCAL"
},
"cos.conn.host": {
"description": "Hostname",
"format": "hostname",
"type": "string",
"default": "127.0.0.1"
},
"cos.conn.port": {
"description": "Port number",
"type": "number",
"default": 57772
},
"cos.conn.username": {
"description": "Username",
"type": "string",
"default": "_SYSTEM"
},
"cos.conn.password": {
"description": "User's Password",
"type": "string",
"default": "SYS"
},
"cos.conn.path": {
"description": "API Atelier path",
"type": "string",
"default": "/api/atelier/"
},
"cos.conn.version": {
"description": "API Atelier Version",
"type": "string",
"default": "v1"
},
"cos.conn.ns": {
"description": "Server Namespace",
"type": "string",
"default": "SAMPLES"
},
"cos.conn.https": {
"description": "Use SSL to access to API",
"type": "boolean",
"default": false
},
"cos.export": {
"type": "object",
"description": "Export only the necessary stuff "
},
"cos.export.folder": {
"description": "folder for source code",
"type": "string",
"default": "src"
},
"cos.export.atelier": {
"description": "export source code as Atelier it does ( packages to subfolders )",
"type": "boolean",
"default": false
},
"cos.export.generated": {
"description": "Specifies that generated source code files should be exported",
"type": "boolean",
"default": false
},
"cos.export.filter": {
"description": "SQL filter that can be used to match the names",
"type": "string",
"default": ""
},
"cos.export.category": {
"description": "Specifies a category: CLS = classes; RTN = routines; CSP = csp files; OTH = other. Default is *",
"type": "string",
"default": "*"
},
"cos.autoCompile": {
"description": "Autocompile on save file",
"type": "boolean",
"default": false
},
"cos.showExplorer": {
"type": "boolean",
"default": true,
"description": "Show or hide the Explorer."
},
"cos.export.noStorage": {
"description": "Strip the storage xml on export. (Useful for multiple systems)",
"type": "boolean",
"default": false
},
"cos.export.dontExportIfNoChanges": {
"description": "Don't update the local file on export if the content is identical to the server code",
"type": "boolean",
"default": false
}
}
},
"views": {
"cosView": [
{
"id": "cosExplorer",
"name": "Explorer",
"when": "config.cos.showExplorer == true"
}
]
},
"viewsContainers": {
"activitybar": [
{
"icon": "images/InterSystems.svg",
"id": "cosView",
"title": "COS"
}
]
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"build": "tsc -p ./",
"compile": "tsc -watch -p ./",
"lint": "tslint --project tsconfig.json -t verbose",
"lint-fix": "tslint --project tsconfig.json -t verbose --fix",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run build && node ./node_modules/vscode/bin/test",
"all": "npm i && npm run lint && npm test"
},
"devDependencies": {
"@types/glob": "^5.0.35",
"@types/node": "^10.5.2",
"eslint": "^4.18.2",
"tape": "^4.9.0",
"tslint": "^5.10.0",
"tslint-microsoft-contrib": "^5.0.3",
"typescript": "^2.9.2",
"typings": "^2.1.1",
"vscode": "^1.1.12"
},
"dependencies": {
"cos-api4node": "^2.1.4"
}
}