-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
218 lines (218 loc) · 5.51 KB
/
package.json
File metadata and controls
218 lines (218 loc) · 5.51 KB
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
{
"name": "xsharp-tools",
"displayName": "XSharp Tools",
"description": "Build and Run XSharp Projects from VSCode",
"version": "0.4.9",
"icon": "xsharp.png",
"publisher": "XSharp-BV",
"repository": {
"type": "git",
"url": "git+https://github.com/fforay/xsharp-tools.git"
},
"license": "MIT",
"keywords": [
"xsharp",
"x#"
],
"engines": {
"vscode": "^1.104.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:xsharp"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "xml",
"extensions": [".xsproj"]
},
{
"id": "xsharp",
"aliases": [
"XSharp",
"xsharp"
],
"extensions": [
".prg",
".ch",
".xs",
".xsc",
".xsprg",
".prgx"
]
}
],
"configuration": {
"title": "XSharp Tools Settings",
"properties": {
"xsharp-tools.showErrors": {
"type": "boolean",
"default": true,
"description": "If true, the extension will show errors in the Problems panel."
},
"xsharp-tools.showWarnings": {
"type": "boolean",
"default": true,
"description": "If true, the extension will show warnings in the Problems panel."
},
"xsharp-tools.groupByFile": {
"type": "boolean",
"default": true,
"description": "Regroup errors by file in the Problems panel."
}
}
},
"commands": [
{
"command": "xsharp.buildProject",
"title": "Build XSharp Project"
},
{
"command": "xsharp.clearDiagnostics",
"title": "Clear XSharp Diagnostics"
},
{
"command": "xsharp.runProject",
"title": "Run XSharp Project",
"icon": "$(play)"
},
{
"command": "xsharp.settingsPanel",
"title": "XSharp Tools Settings"
},
{
"command": "xsharp.configureProject",
"title": "Configure XSharp Project"
},
{
"command": "xsharp.openFolderOfActiveFile",
"title": "Open Folder of Active File"
}
],
"submenus": [
{
"id": "xstools.submenu",
"label": "XSharp Tools"
}
],
"menus": {
"explorer/context": [
{
"submenu": "xstools.submenu",
"group": "xs_navigation"
}
],
"xstools.submenu": [
{
"command": "xsharp.buildProject",
"when": "resourceExtname == .xsproj",
"group": "xssub_navigation"
},
{
"command": "xsharp.runProject",
"when": "resourceExtname == .xsproj",
"group": "xssub_navigation@1"
},
{
"command": "xsharp.clearDiagnostics",
"when": "resourceExtname == .xsproj",
"group": "xssub_navigation@2"
},
{
"command": "xsharp.settingsPanel",
"when": "true",
"group": "xssub_navigation@3"
},
{
"command": "xsharp.configureProject",
"when": "true",
"group": "xssub_navigation@4"
}
],
"editor/title/run": [
{
"command": "xsharp.runProject",
"when": "resourceLangId == xsharp",
"group": "navigation"
}
],
"editor/title/context": [
{
"command": "xsharp.openFolderOfActiveFile",
"group": "navigation",
"when": "resourceScheme == 'file'"
}
]
},
"debuggers": [
{
"type": "xsharp",
"label": "XSharp Runner",
"languages": [
"xsharp"
],
"configurationAttributes": {
"launch": {
"required": [],
"properties": {}
}
},
"initialConfigurations": [
{
"type": "xsharp",
"request": "launch",
"name": "Run XSharp Program"
}
],
"configurationSnippets": [
{
"label": "XSharp: Run Project",
"description": "Run the current XSharp project",
"body": {
"type": "xsharp",
"request": "launch",
"name": "Run XSharp Program"
}
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.104.0",
"@typescript-eslint/eslint-plugin": "^8.45.0",
"@typescript-eslint/parser": "^8.45.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.25.10",
"eslint": "^9.36.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.3"
},
"dependencies": {
"@vscode/debugadapter": "^1.68.0",
"@vscode/debugprotocol": "^1.68.0",
"fast-xml-parser": "^5.3.0",
"vscode-languageclient": "^9.0.1"
}
}