forked from Consensys/vscode-solidity-auditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
263 lines (263 loc) · 8.64 KB
/
package.json
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
{
"name": "solidity-visual-auditor",
"displayName": "Solidity Visual Developer",
"description": "Ethereum Solidity Language customized for developers and auditors using Visual Studio Code",
"version": "0.2.6",
"repository": "https://github.com/C0D3O/vscode-solidity-auditor",
"publisher": "me",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.26.2"
},
"activationEvents": [
"onLanguage:solidity"
],
"main": "./src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Solidity Visual Developer configuration",
"properties": {
"solidity-va.hover": {
"type": "boolean",
"default": true,
"description": "Whether to enable/disable Solidity hover."
},
"solidity-va.deco.statevars": {
"type": "boolean",
"default": true,
"description": "Whether to enable/disable Solidity statevar decoration"
},
"solidity-va.deco.arguments": {
"type": "boolean",
"default": true,
"description": "Whether to enable/disable semantic highlighting for function arguments. (May require a reload)."
},
"solidity-va.deco.argumentsMode": {
"type": "string",
"enum": [
"color and symbol",
"color only",
"symbol only"
],
"default": "color and symbol",
"description": "Select the mode for semantic highlighting of function arguments. (May require a reload)."
},
"solidity-va.deco.argumentsSuffix": {
"type": "string",
"default": "⬆",
"description": "A custom Suffix/Symbol that is appended to the decoration when performing semantic highlighting for function arguments"
},
"solidity-va.deco.warn.reserved": {
"type": "boolean",
"default": true,
"description": "Enable/Disable warning decoration when overriding reserved names"
},
"solidity-va.deco.warn.externalCalls": {
"type": "boolean",
"default": true,
"description": "Enable/Disable gutter-icon decorations for lines performing external address calls"
},
"solidity-va.outline.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable outline / symbolprovider"
},
"solidity-va.outline.decorations": {
"type": "boolean",
"default": true,
"description": "Whether to enable/disable Function Mutability/Accessibility decoration in the outline view"
},
"solidity-va.outline.inheritance.show": {
"type": "boolean",
"default": true,
"description": "Whether to show/hide inherited names in the outline view"
},
"solidity-va.outline.extras": {
"type": "boolean",
"default": true,
"description": "Whether to show/hide extras (complexity, state var access) for functions in the outline view"
},
"solidity-va.outline.var.storage_annotations": {
"type": "boolean",
"default": true,
"description": "Whether to show/hide storage annotations for variables in the outline view"
},
"solidity-va.outline.pragmas.show": {
"type": "boolean",
"default": true,
"description": "Whether to show/hide pragmas in the outline view"
},
"solidity-va.outline.imports.show": {
"type": "boolean",
"default": true,
"description": "Whether to show/hide imports in the outline view"
},
"solidity-va.overviewruler.decorations.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable decorations in the overview ruler (requires reload)"
},
"solidity-va.parser.parseImports": {
"type": "boolean",
"default": true,
"description": "Whether to recursively parse imports or not"
},
"solidity-va.diagnostics.cdili_json.import": {
"type": "boolean",
"default": false,
"description": "Recursively search for CDILI format *-issues.json from external scanners and visualize findings as diagnostics in vscode"
},
"solidity-va.tools.surya.input.contracts": {
"type": "string",
"enum": [
"cached",
"workspace"
],
"default": "cached",
"description": "Define whether surya should take cached files or all contracts in the workspace as input"
},
"solidity-va.tools.surya.option.negModifiers": {
"type": "boolean",
"default": false,
"description": "Surya.mdreport: Also list modifiers that are not present ( ~~strikedthrough~~). This may help catch issues relating to missing modifiers."
},
"solidity-va.preview.dot": {
"type": "boolean",
"default": true,
"description": "Open dot output in graphviz rendered form (relies on a graphviz preview extension to be installed)"
},
"solidity-va.preview.markdown": {
"type": "boolean",
"default": false,
"description": "Open markdown output in rendered form (relies on a markdown preview extension to be installed)"
},
"solidity-va.codelens.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable all codelenses - inline action (master switch)"
},
"solidity-va.codelens.report.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'report'"
},
"solidity-va.codelens.graph.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'graph'"
},
"solidity-va.codelens.graphThis.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'graphThis'"
},
"solidity-va.codelens.inheritance.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'inheritance'"
},
"solidity-va.codelens.parse.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'parse'"
},
"solidity-va.codelens.flatten.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'report'"
},
"solidity-va.codelens.funcSigs.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'funcSigs'"
},
"solidity-va.codelens.uml.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'uml'"
},
"solidity-va.codelens.unittestStub.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'UnitTest Stub'"
},
"solidity-va.codelens.dependencies.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'report'"
},
"solidity-va.codelens.ftrace.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'ftrace'"
},
"solidity-va.codelens.drawio.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable codelens 'draw.io' uml export"
},
"solidity-va.findAllReferences.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable right-click -> Find All References. Note: This allows you to disable the built-in reference provider in favor of one of another extension. Takes effect after restart."
},
"solidity-va.mode.active": {
"type": "boolean",
"default": true,
"description": "Enable/Disable all active components of this extension (emergency)."
},
"solidity-va.uml.options": {
"type": "text",
"default": "",
"description": "Add custom uml options"
},
"solidity-va.uml.actors.enable": {
"type": "boolean",
"default": false,
"description": "Enable/Disable actors in uml"
},
"solidity-va.cockpit.view.topLevelContracts.listStyle": {
"type": "string",
"enum": [
"flat",
"tree"
],
"default": "flat",
"description": "Select TopLevelContracts view list style."
},
"solidity-va.whatsNew.disabled": {
"type": "boolean",
"default": false,
"description": "Enable/Disable update notifications"
},
"solidity-va.test.defaultUnittestTemplate": {
"type": "string",
"enum": [
"hardhat",
"truffle"
],
"default": "truffle",
"description": "Select which default template to use when creating a unitTest stub (e.g. truffle, hardhat)"
},
"solidity-va.debug.parser.showExceptions": {
"type": "boolean",
"default": false,
"description": "Enable/Disable printing parser error / stacktraces to console log (noisy)"
},
"solidity-va.flatten.mode": {
"type": "string",
"enum": [
"internal (lexical)",
"truffle"
],
"default": "default",
"description": "Select which flattener to use (e.g. default=lexical flattener, truffle=truffle-flattener)"
}
}
}
},
"dependencies": {
"solidity-workspace": "^0.2.1"
}
}