-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
228 lines (228 loc) · 6.75 KB
/
package.json
File metadata and controls
228 lines (228 loc) · 6.75 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
219
220
221
222
223
224
225
226
227
228
{
"name": "castle-engine",
"displayName": "Castle Game Engine",
"description": "Build and debug Castle Game Engine projects, use Pascal with syntax highlighting and code completion",
"publisher": "castle-engine-team",
"author": {
"name": "Castle Game Engine Team"
},
"icon": "images/logo.png",
"version": "1.6.0",
"homepage": "https://castle-engine.io",
"sponsor": {
"url": "https://www.patreon.com/castleengine"
},
"keywords": [
"castle",
"game",
"engine",
"cge",
"gamedev",
"pascal",
"freepascal",
"fpc",
"lazarus",
"delphi"
],
"repository": {
"type": "git",
"url": "https://github.com/castle-engine/castle-engine-vscode.git"
},
"license": "MIT",
"engines": {
"vscode": "^1.103.0"
},
"categories": [
"Programming Languages",
"Debuggers"
],
"activationEvents": [
"workspaceContains:CastleEngineManifest.xml",
"onLanguage:pascal"
],
"main": "./out/extension.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "Untrusted workspaces are not supported."
}
},
"contributes": {
"languages": [
{
"id": "pascal",
"extensions": [
".pas",
".pp",
".inc",
".lpr",
".dpr"
]
}
],
"debuggers": [
{
"type": "castleDebug",
"label": "Debug Castle Game Engine Project"
}
],
"commands": [
{
"command": "castle-engine.compile",
"title": "Compile (Castle Game Engine)"
},
{
"command": "castle-engine.run",
"title": "Run (Castle Game Engine)"
},
{
"command": "castle-engine.clean",
"title": "Clean (Castle Game Engine)"
},
{
"command": "castle-engine.showBuildModeSelectionInStatusBar",
"title": "Select Build Mode (Castle Game Engine)"
},
{
"command": "castle-engine.openWorkspaceInCastleEditor",
"title": "Open In Castle Editor (Castle Game Engine)"
},
{
"command": "castle-engine.validateAndOpenSettings",
"title": "Validate and Open Settings"
},
{
"command": "castle-engine.searchInApiReference",
"title": "Search in Api Reference (Castle Game Engine)"
},
{
"command": "castle-engine.backInApiReference",
"title": "Go Back in Api Reference (Castle Game Engine)"
}
],
"configuration": {
"type": "object",
"title": "Castle Game Engine",
"properties": {
"castleEngine.enginePath": {
"type": "string",
"markdownDescription": "Path where _Castle Game Engine_ is installed. Leave blank to auto-detect (looks at the environment variable `CASTLE_ENGINE_PATH`).",
"order": 0
},
"castleEngine.pascalLanguageServer.PP": {
"type": "string",
"markdownDescription": "Full filename of the _Free Pascal Compiler_ executable. This should include the file name at the end, like `fpc.exe` (Windows) or `fpc` (Unix without FpcUpDeluxe) or `fpc.sh` (Unix with FpcUpDeluxe). Leave blank to auto-detect (will detect e.g. FPC bundled with CGE).",
"order": 1
},
"castleEngine.pascalLanguageServer.FPCDIR": {
"type": "string",
"markdownDescription": "Path to _Free Pascal Compiler_ sources, used for code completion. Leave Leave blank to auto-detect (will detect e.g. FPC bundled with CGE, will also look at environment variable `FPCDIR`).",
"order": 2
},
"castleEngine.pascalLanguageServer.LAZARUSDIR": {
"type": "string",
"markdownDescription": "Path to _Lazarus_ sources. Leave blank to auto-detect (will lok at environment variable `LAZARUSDIR`). Note that having Lazarus (and setting this) is not necessary for Castle Game Engine. This is only used for completion in code using LCL units.",
"order": 3
},
"castleEngine.pascalLanguageServer.FPCTARGET": {
"type": "string",
"markdownDescription": "Target OS (operating system; e.g. `win64`, `linux`, `darwin`). Leave blank to auto-detect.",
"order": 4
},
"castleEngine.pascalLanguageServer.FPCTARGETCPU": {
"type": "string",
"markdownDescription": "Target CPU (processor; e.g. `x86_64`). Leave blank to auto-detect.",
"order": 5
},
"castleEngine.engineDeveloperMode": {
"type": "boolean",
"markdownDescription": "Adds engine symbols to project symbols, to easily jump from project to engine source code.",
"default": false,
"order": 6
}
}
},
"menus": {
"webview/context": [
{
"command": "castle-engine.backInApiReference",
"when": "webviewId == 'cge_api_reference'"
}
]
},
"problemMatchers": [
{
"name": "cge-problem-matcher",
"fileLocation": "autoDetect",
"pattern": [
{
"regexp": "^([^\\(]+)\\(([\\d+,]+)\\)\\s+(Fatal|Warning|Error|Note|Hint):\\s+((?!\\(10026\\) There were)(?!There were)(?!Found declaration: )(?!\\(5088\\)Found declaration: ).*)$",
"file": 1,
"location": 2,
"severity": 3,
"message": 4
}
],
"owner": "cge"
}
],
"taskDefinitions": [
{
"type": "cge-tasks",
"required": [],
"properties": {}
}
],
"keybindings": [
{
"command": "castle-engine.compile",
"key": "ctrl+f9",
"mac": "cmd+f9",
"when": "editorTextFocus"
},
{
"command": "castle-engine.run",
"key": "shift+f9",
"when": "editorTextFocus"
},
{
"command": "castle-engine.searchInApiReference",
"key": "ctrl+f1",
"mac": "cmd+f1",
"when": "editorTextFocus"
},
{
"command": "editor.action.revealDeclaration",
"key": "ctrl+f12",
"mac": "cmd+f12",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"dependencies": {
"vscode-languageclient": "^9.0.0"
},
"devDependencies": {
"@types/vscode": "^1.103.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"eslint": "^9.25.1",
"typescript": "^5.8.3",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.5.2"
},
"extensionDependencies": [
"theangryepicbanana.language-pascal",
"cnoc.fpdebug"
]
}