-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
394 lines (394 loc) · 11.9 KB
/
Copy pathpackage.json
File metadata and controls
394 lines (394 loc) · 11.9 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
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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
{
"name": "lana",
"displayName": "Apex Log Analyzer",
"version": "1.20.1",
"description": "Salesforce Apex Debug Log Analyzer: Blazing-fast VS Code extension for Salesforce. Visualize and debug Apex logs with interactive flame charts, dynamic call trees, and detailed SOQL/DML breakdowns. Identify performance bottlenecks, gain deep transaction insights and optimize slow Apex.",
"keywords": [
"analysis",
"apex",
"apexlog",
"apex logs",
"apex performance",
"analyzer",
"dml",
"debug",
"debug log",
"debug logs",
"debugging",
"developer tools",
"flamegraph",
"log",
"log analyzer",
"log profiler",
"log profiling",
"performance",
"performance analyzer",
"performance profiler",
"performance profiling",
"profiler",
"profiling",
"soql"
],
"type": "module",
"main": "out/Main.js",
"icon": "./certinia-icon-color.png",
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"publisher": "FinancialForce",
"author": {
"name": "Certinia",
"url": "https://github.com/certinia"
},
"license": "SEE LICENSE IN LICENSE.txt",
"repository": {
"type": "git",
"url": "https://github.com/certinia/debug-log-analyzer.git"
},
"engines": {
"vscode": "^1.102.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:apexlog",
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "lana.retrieveLogFile",
"title": "Log: Retrieve Apex Log And Show Analysis",
"icon": "./certinia-icon-color.png"
},
{
"command": "lana.showLogAnalysis",
"title": "Log: Show Apex Log Analysis",
"icon": "./certinia-icon-color.png"
},
{
"command": "lana.switchTimelineTheme",
"title": "Log: Timeline Theme",
"icon": "./certinia-icon-color.png"
}
],
"grammars": [
{
"language": "apexlog",
"scopeName": "source.apexlog",
"path": "./syntaxes/apexlog.tmLanguage.json"
}
],
"languages": [
{
"id": "apexlog",
"aliases": [
"ApexLog",
"DebugLog"
],
"extensions": []
}
],
"menus": {
"commandPalette": [
{
"command": "lana.showLogAnalysis",
"when": "resourceLangId == apexlog || lana.isApexLog"
}
],
"editor/context": [
{
"command": "lana.showLogAnalysis",
"when": "resourceLangId == apexlog || lana.isApexLog"
}
],
"editor/title/context": [
{
"command": "lana.showLogAnalysis",
"when": "resourceLangId == apexlog || lana.isApexLog",
"group": "lana"
}
],
"editor/title/run": [
{
"command": "lana.showLogAnalysis",
"when": "resourceLangId == apexlog || lana.isApexLog",
"group": "lana"
}
],
"explorer/context": [
{
"command": "lana.showLogAnalysis",
"when": "resourceLangId == apexlog || lana.isApexLog"
}
]
},
"configuration": [
{
"type": "object",
"id": "lana",
"title": "Call Tree",
"order": 0,
"properties": {
"lana.callTree.categoryColorize": {
"title": "Colorize Call Tree category names",
"type": "boolean",
"default": false,
"markdownDescription": "Tint the Call Tree Name column by event category, matching the Timeline colors, instead of showing a small color chip. Default: `false`",
"order": 0
},
"lana.callTree.columnView": {
"title": "Column view",
"type": "string",
"default": "General",
"enum": [
"General",
"Time",
"Governor Limits",
"Database",
"Memory"
],
"markdownDescription": "The column view applied to the Call Tree and Analysis tables. Default: `General`",
"order": 1
}
}
},
{
"type": "object",
"id": "lana",
"title": "Timeline",
"order": 1,
"properties": {
"lana.timeline.activeTheme": {
"type": "string",
"default": "50 shades of green",
"markdownDescription": "Select a timeline theme or enter the name of a custom theme defined in `#lana.timeline.customThemes#`",
"order": 0,
"anyOf": [
{
"enum": [
"50 Shades of Green",
"50 Shades of Green Bright",
"Botanical Twilight",
"Catppuccin",
"Chrome",
"Dracula",
"Dusty Aurora",
"Firefox",
"Flame",
"Forest Floor",
"Garish",
"Material",
"Modern",
"Monokai Pro",
"Nord",
"Nord Forest",
"Okabe-Ito",
"Salesforce",
"Solarized"
]
},
{
"type": "string"
}
]
},
"lana.timeline.customThemes": {
"type": "object",
"title": "Custom Timeline themes",
"description": "Define custom themes. Keys are theme names, values are theme definitions.",
"order": 1,
"default": {
"Custom": {
"apex": "#2B8F81",
"codeUnit": "#88AE58",
"system": "#8D6E63",
"automation": "#51A16E",
"dml": "#B06868",
"soql": "#6D4C7D",
"callout": "#CCA033",
"validation": "#5C8FA6"
}
},
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"required": [
"apex",
"codeUnit",
"system",
"automation",
"dml",
"soql",
"callout",
"validation"
],
"properties": {
"default": {
"apex": "#2B8F81",
"codeUnit": "#88AE58",
"system": "#8D6E63",
"automation": "#51A16E",
"dml": "#B06868",
"soql": "#6D4C7D",
"callout": "#CCA033",
"validation": "#5C8FA6"
},
"apex": {
"type": "string",
"format": "color-hex",
"default": "#2B8F81"
},
"codeUnit": {
"type": "string",
"format": "color-hex",
"default": "#88AE58"
},
"system": {
"type": "string",
"format": "color-hex",
"default": "#8D6E63"
},
"automation": {
"type": "string",
"format": "color-hex",
"default": "#51A16E"
},
"dml": {
"type": "string",
"format": "color-hex",
"default": "#B06868"
},
"soql": {
"type": "string",
"format": "color-hex",
"default": "#6D4C7D"
},
"callout": {
"type": "string",
"format": "color-hex",
"default": "#CCA033"
},
"validation": {
"type": "string",
"format": "color-hex",
"default": "#5C8FA6"
}
}
}
},
"lana.timeline.showTooltip": {
"title": "Show frame details on hover",
"type": "boolean",
"default": true,
"markdownDescription": "Show a details panel when you hover or select a frame on the Timeline. The Inspector shows the same details for the selected frame. Default: `true`",
"order": 2
},
"lana.timeline.legacy": {
"title": "Use legacy Timeline",
"type": "boolean",
"default": false,
"markdownDescription": "Temporary fallback to the legacy Timeline; will be removed in a future release. Default: `false`",
"order": 3
},
"lana.timeline.colors": {
"type": "object",
"title": "Timeline Event Colors",
"markdownDescription": "Hex colors for each event type on the **legacy** Timeline (`#lana.timeline.legacy#`), which is being phased out. The current Timeline is themed via `#lana.timeline.activeTheme#` / `#lana.timeline.customThemes#`.",
"additionalProperties": false,
"order": 4,
"default": {
"Code Unit": "#88AE58",
"Workflow": "#51A16E",
"Method": "#2B8F81",
"DML": "#B06868",
"SOQL": "#6D4C7D",
"System Method": "#8D6E63"
},
"properties": {
"Code Unit": {
"type": "string",
"default": "#88AE58",
"description": "Hex color for Code Unit timeline events.",
"format": "color-hex"
},
"Workflow": {
"type": "string",
"default": "#51A16E",
"description": "Hex color for Workflow timeline events.",
"format": "color-hex"
},
"Method": {
"type": "string",
"default": "#2B8F81",
"description": "Hex color for Method timeline events.",
"format": "color-hex"
},
"DML": {
"type": "string",
"default": "#B06868",
"description": "Hex color for DML timeline events.",
"format": "color-hex"
},
"SOQL": {
"type": "string",
"default": "#6D4C7D",
"description": "Hex color for SOQL timeline events.",
"format": "color-hex"
},
"System Method": {
"type": "string",
"default": "#8D6E63",
"description": "Hex color for System Method timeline events.",
"format": "color-hex"
}
}
}
}
},
{
"type": "object",
"id": "lana",
"title": "Inspector",
"order": 3,
"properties": {
"lana.inspector.position": {
"title": "Position",
"type": "string",
"default": "right",
"enum": [
"left",
"right",
"bottom"
],
"markdownDescription": "Where the inspector docks. Default: `right`",
"order": 0
},
"lana.inspector.size": {
"title": "Size",
"type": "number",
"default": 500,
"markdownDescription": "The docked inspector's width (or height when docked to the bottom), in pixels. Default: `500`",
"order": 1
}
}
}
]
},
"scripts": {
"vscode:prepublish": "pnpm -w run build && pnpm -w run copy:package-docs"
},
"dependencies": {
"@apexdevtools/apex-parser": "5.1.0",
"effect": "^3.22.0"
},
"devDependencies": {
"@salesforce/vscode-services": "^67.12.0",
"@types/jest": "^30.0.0",
"@types/node": "~22.20.1",
"@types/vscode": "~1.102.0",
"typescript": "npm:@typescript/typescript6@^6.0.2"
}
}