forked from Blackplane-Systems/Structscope
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
162 lines (162 loc) · 4.28 KB
/
package.json
File metadata and controls
162 lines (162 loc) · 4.28 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
{
"name": "struct-scope",
"displayName": "Struct Scope",
"publisher": "BlackplaneSystems",
"version": "3.0.0",
"description": "Visualize C, C++, and Rust struct memory layout, padding, cache-line splits, and reorder suggestions.",
"author": {
"name": "Brahadeesh V Ra",
"email": "144269250+CodeforGood1@users.noreply.github.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Blackplane-Systems/Structscope.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Visualization"
],
"activationEvents": [
"onStartupFinished",
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:rust"
],
"main": "./out/extension.js",
"scripts": {
"compile": "tsc --noEmit",
"build": "esbuild src/extension.ts --bundle --platform=node --external:vscode --outfile=out/extension.js",
"package": "vsce package",
"cli": "python python/cli.py"
},
"contributes": {
"commands": [
{
"command": "structscope.analyzeStruct",
"title": "StructScope: Analyze Struct"
},
{
"command": "structscope.openPanel",
"title": "StructScope: Open Dashboard"
},
{
"command": "structscope.copyAnalysisJson",
"title": "StructScope: Copy Last Analysis JSON"
},
{
"command": "structscope.showOutput",
"title": "StructScope: Show Output Log"
}
],
"menus": {
"editor/title": [
{
"command": "structscope.analyzeStruct",
"when": "resourceLangId == c || resourceLangId == cpp || resourceLangId == rust",
"group": "navigation"
}
],
"editor/context": [
{
"command": "structscope.analyzeStruct",
"when": "resourceLangId == c || resourceLangId == cpp || resourceLangId == rust",
"group": "navigation"
}
],
"view/title": [
{
"command": "structscope.analyzeStruct",
"when": "view == structscope.dashboard",
"group": "navigation"
},
{
"command": "structscope.openPanel",
"when": "view == structscope.dashboard",
"group": "navigation"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "structscope",
"title": "StructScope",
"icon": "resources/structscope.svg"
}
]
},
"views": {
"structscope": [
{
"id": "structscope.dashboard",
"name": "Dashboard"
}
]
},
"keybindings": [
{
"command": "structscope.analyzeStruct",
"key": "ctrl+shift+m",
"mac": "cmd+shift+m"
}
],
"configuration": {
"title": "StructScope",
"properties": {
"structscope.pythonPath": {
"type": "string",
"default": "",
"description": "Optional Python executable path used to run StructScope's analysis server."
},
"structscope.defaultPlatform": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"x86_64",
"arm64",
"arm32",
"avr",
"riscv32"
],
"description": "Default ABI platform. Use auto to detect the local host ABI."
},
"structscope.cacheLine": {
"type": "number",
"default": 64,
"enum": [
32,
64,
128
],
"description": "Default cache-line size in bytes."
},
"structscope.analyzeOnSave": {
"type": "boolean",
"default": true,
"description": "Automatically analyze supported C, C++, and Rust files on save."
},
"structscope.autoOpenPanel": {
"type": "boolean",
"default": true,
"description": "Open the StructScope dashboard automatically when analysis runs on save."
},
"structscope.showStatusBar": {
"type": "boolean",
"default": true,
"description": "Show the StructScope status bar command."
}
}
}
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"esbuild": "^0.27.0",
"typescript": "^5.4.0"
}
}