-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
194 lines (194 loc) · 8.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
{
"name": "ownobjectscriptextension",
"displayName": "OwnObjectScriptExtension",
"description": "A Visual Studio Code extension that supplies tools for InterSystems ObjectScript.",
"author": "Philipp B.",
"publisher": "PhilippB",
"license": "MIT",
"version": "0.0.18",
"repository": {
"type": "github",
"url": "https://github.com/intersystems-dach/ownobjectscriptextension"
},
"engines": {
"vscode": "^1.73.0"
},
"icon": "resources/logo.png",
"categories": [
"Formatters"
],
"keywords": [
"intersystems",
"objectscript"
],
"activationEvents": [
"onCommand:ownobjectscriptextension.addObjectScriptModifier",
"onCommand:ownobjectscriptextension.addKeyWord",
"onCommand:ownobjectscriptextension.removeKeyWord",
"onCommand:ownobjectscriptextension.showKeyWords",
"onCommand:ownobjectscriptextension.addMethodDescriptionTemplate",
"onCommand:ownobjectscriptextension.addInlineComments",
"onCommand:ownobjectscriptextension.openDocumentation",
"onCommand:ownobjectscriptextension.intersystemsWebSearch",
"onCommand:ownobjectscriptextension.makeSelectStatement",
"onCommand:ownobjectscriptextension.translateEmbPython",
"onCommand:ownobjectscriptextension.editMethodDescriptionTemplate",
"onCommand:ownobjectscriptextension.createNewClass"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "ownobjectscriptextension.addObjectScriptModifier",
"title": "Add ObjectScript Modifier",
"category": "Own ObjectScript Modifier"
},
{
"command": "ownobjectscriptextension.addKeyWord",
"title": "Add ObjectScript Keyword",
"category": "Own ObjectScript Modifier"
},
{
"command": "ownobjectscriptextension.removeKeyWord",
"title": "Remove ObjectScript Keyword",
"category": "Own ObjectScript Modifier"
},
{
"command": "ownobjectscriptextension.showKeyWords",
"title": "Show ObjectScript Keywords",
"category": "Own ObjectScript Modifier"
},
{
"command": "ownobjectscriptextension.addMethodDescriptionTemplate",
"title": "Add Method Description",
"category": "Own ObjectScript Documentation"
},
{
"command": "ownobjectscriptextension.editMethodDescriptionTemplate",
"title": "Edit Method Description Template",
"category": "Own ObjectScript Documentation"
},
{
"command": "ownobjectscriptextension.addInlineComments",
"title": "Add Inline Comments",
"category": "Own ObjectScript Documentation"
},
{
"command": "ownobjectscriptextension.openDocumentation",
"title": "Open InterSystems Class Documentation",
"category": "Own ObjectScript Documentation"
},
{
"command": "ownobjectscriptextension.intersystemsWebSearch",
"title": "InterSystems Web Search",
"category": "Own ObjectScript Documentation"
},
{
"command": "ownobjectscriptextension.makeSelectStatement",
"title": "Make Select Statement",
"category": "Own ObjectScript SQL"
},
{
"command": "ownobjectscriptextension.translateEmbPython",
"title": "Translate Embedded Python",
"category": "Own ObjectScript Translate"
},
{
"command": "ownobjectscriptextension.createNewClass",
"title": "Create New Wizard",
"category": "Own ObjectScript Create"
}
],
"menus": {
"editor/context": [
{
"command": "ownobjectscriptextension.openDocumentation",
"group": "ObjectScript",
"when": "editorLangId == objectscript-class"
},
{
"command": "ownobjectscriptextension.addMethodDescriptionTemplate",
"group": "ObjectScript",
"when": "editorLangId == objectscript-class"
}
]
},
"configuration": {
"title": "OwnObjectscriptExtension",
"properties": {
"ownobjectscriptextension.SaveFile": {
"type": "boolean",
"default": false,
"markdownDescription": "If enabled saves a file after executing command."
},
"ownobjectscriptextension.ShowMessages": {
"type": "boolean",
"default": true,
"markdownDescription": "If enabled prompts information messages."
},
"ownobjectscriptextension.sql.OpenSQLFile": {
"type": "boolean",
"default": false,
"markdownDescription": "If enabled a .sql file will be generated after `Own ObjectScript SQL: Make Select Statement`."
},
"ownobjectscriptextension.create.AskForPackageFirst": {
"type": "boolean",
"default": false,
"markdownDescription": "If enabled the command `Own ObjectScript Create: Create New Class` will first ask for the package name and then for the class name."
},
"ownobjectscriptextension.create.service.AddTargetConfigNames": {
"type": "boolean",
"default": false,
"markdownDescription": "If enabled the command `Own ObjectScript Create: Create New Class` will add a TargetConfigName property to the service class."
},
"ownobjectscriptextension.comment.InLineCommentCount": {
"type": "number",
"default": 5,
"minimum": 1,
"markdownDescription": "Sets the line count between added comments for `Own ObjectScript Documentation: Add Inline Comments`"
},
"ownobjectscriptextension.documentation.OpenInBrowser": {
"type": "boolean",
"default": false,
"markdownDescription": "If enabled the command `Own ObjectScript Documentation: Open InterSystems Class Documentation` will open the documentation in the browser otherwise it will open in VSCode."
},
"ownobjectscriptextension.documentation.UseDuckDuckGo": {
"type": "boolean",
"default": false,
"markdownDescription": "If enabled the command `Own ObjectScript Documentation: InterSystems Web Search` will use the searchengine DuckDuckGo otherwise it will use Google."
}
}
},
"themes": [
{
"label": "InterSystems Real Dark",
"uiTheme": "vs-dark",
"path": "./themes/intersystems-real-dark.json"
},
{
"label": "InterSystems Funky Dark",
"uiTheme": "vs-dark",
"path": "./themes/intersystems-funky-dark.json"
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "16.x",
"@types/vscode": "^1.73.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.26.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.8.4"
},
"dependencies": {
"axios": "^1.4.0"
}
}