-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
201 lines (201 loc) · 7.2 KB
/
package.json
File metadata and controls
201 lines (201 loc) · 7.2 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
{
"name": "memory-view",
"displayName": "MemoryView",
"preview": true,
"description": "Provide memory views for debuggers",
"version": "0.0.29",
"publisher": "mcu-debug",
"repository": {
"type": "git",
"url": "https://github.com/mcu-debug/memview"
},
"bugs": {
"url": "https://github.com/mcu-debug/memview/issues"
},
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"icon": "icon.png",
"galleryBanner": {
"color": "#07155c",
"theme": "dark"
},
"keywords": [
"cortex-debug",
"cppdbg",
"embedded",
"memory",
"cortex",
"hex"
],
"activationEvents": [
"onDebugResolve:cortex-debug",
"onDebugResolve:mcu-debug",
"onDebugResolve:cppdbg",
"onDebugResolve:cspy",
"onDebugResolve:stlinkgdbtarget",
"onDebugResolve:jlinkgdbtarget",
"onDebugResolve:gdb",
"onDebugResolve:mplab-core-da",
"onDebugResolve:platformio-debug",
"onWebviewPanel:memory-view.memoryView",
"onUri"
],
"extensionKind": [
"workspace"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"category": "MemoryView",
"command": "mcu-debug.memory-view.hello",
"title": "Testing: Force 'memory-view' extension to load"
},
{
"category": "MemoryView",
"command": "mcu-debug.memory-view.toggleMemoryView",
"title": "Toggle Debugger Memory View Panel/Webview"
},
{
"category": "MemoryView",
"command": "mcu-debug.memory-view.addMemoryView",
"title": "Add new memory view (for debugger)"
},
{
"category": "MemoryView",
"command": "mcu-debug.memory-view.uriTest",
"title": "Test URI opening mechanism"
}
],
"customEditors": [
{
"viewType": "memory-view.memoryView",
"displayName": "Memory Viewer",
"selector": [
{
"filenamePattern": "*.memory-view"
}
],
"priority": "option"
}
],
"viewsContainers": {
"panel": [
{
"icon": "",
"id": "memory-view",
"title": "MEMORY"
}
]
},
"views": {
"memory-view": [
{
"id": "memory-view.memoryView",
"type": "webview",
"name": "MEMORY",
"when": "memory-view:showMemoryPanel && memory-view:memoryPanelLocation == panel"
}
]
},
"configuration": {
"type": "object",
"title": "MemoryView",
"properties": {
"memory-view.showMemoryPanel": {
"type": "boolean",
"default": true,
"description": "Show MEMORY memory panel"
},
"memory-view.memoryViewLocation": {
"type": "string",
"enum": [
"panel",
"editor"
],
"default": "panel",
"description": "Only 'panel' has been implemented. `editor` shows memory views in the Editors area. Default is in the Panels area along with the `Debug Console`"
},
"memory-view.trackDebuggers": {
"type": "array",
"items": "string",
"default": [],
"description": "List (array) of additional debuggers to track besides the default ones. Reload of window required"
},
"memory-view.tracking.duplicateDebuggerMemoryViews": {
"type": "boolean",
"default": true,
"description": "Track creation of new memory windows and duplicate it as a memore-view. VSCode uses their HexEditor and we provide an alternative. You may see a prompt by VSCode (not us) to allow our view to be created. If you trust our extension, you can enable the `trackDebuggerMemoryViewsSilent` setting so, you will not see this prompt"
},
"memory-view.tracking.duplicateDebuggerMemoryViewsSilently": {
"type": "boolean",
"default": false,
"description": "Track creation of new memory windows and duplicate it as a memore-view. VSCode uses their HexEditor and we provide an alternative. This will happen silently and faster"
},
"memory-view.tracking.closeHexEditorAfterDuplicating": {
"type": "boolean",
"default": false,
"description": "This will auto-close the default VSCode HexEditor view after duplicating it as a a memory view with this extension. Warning: In rare cases, it may close the wrong window"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -noEmit && node .esbuild.config.js --analyze",
"lint": "eslint src --ext ts",
"watch": "node .esbuild.config.js --watch --analyze",
"test": "node ./out/src/test/runTest.js",
"package": "node ./release.js --package",
"publish": "node ./release.js --publish --vsx-also"
},
"devDependencies": {
"@faker-js/faker": "^7.4.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-virtualized": "^9.21.21",
"@types/react-virtualized-auto-sizer": "^1.0.1",
"@types/react-window": "^1.8.5",
"@types/react-window-infinite-loader": "^1.0.6",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.14.53",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"prettier": "2.7.1",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"vscode-webview-tools": "^0.1.1"
},
"dependencies": {
"@popperjs/core": "^2.11.6",
"@vscode/codicons": "^0.0.32",
"@vscode/debugprotocol": "^1.56.1",
"@vscode/extension-telemetry": "0.5.2",
"@vscode/webview-ui-toolkit": "^1.0.0",
"buffer": "^6.0.3",
"clsx": "^1.2.1",
"debug-tracker-vscode": "^0.0.14",
"events": "^3.3.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-popper": "^2.3.0",
"react-window": "^1.8.7",
"react-window-infinite-loader": "^1.0.8",
"recoil": "^0.5.2",
"uuidv4": "^6.2.13"
},
"extensionDependencies": [
"mcu-debug.debug-tracker-vscode"
]
}