Skip to content

Commit 6360d33

Browse files
authored
Merge pull request #45 from PraneshASP/feat/contract-size
feat: ♻️ display contract size
2 parents 95da520 + 0a10d91 commit 6360d33

File tree

5 files changed

+323
-34
lines changed

5 files changed

+323
-34
lines changed

package-lock.json

Lines changed: 127 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"onLanguage:tree"
3434
],
3535
"contributes": {
36+
3637
"commands": [
3738
{
3839
"command": "vscode-solidity-inspector.activeFile.irOptimizer",
@@ -103,7 +104,13 @@
103104
"configuration": {
104105
"type": "object",
105106
"title": "Solidity Inspector",
106-
"properties": {}
107+
"properties": {
108+
"solidityInspector.showContractSize": {
109+
"type": "boolean",
110+
"default": true,
111+
"description": "Show contract size information in the editor"
112+
}
113+
}
107114
},
108115
"keybindings": [
109116
{
@@ -186,6 +193,8 @@
186193
"typescript": "^4.8.4"
187194
},
188195
"dependencies": {
189-
"cli-table3": "^0.6.3"
196+
"cli-table3": "^0.6.3",
197+
"path": "^0.12.7",
198+
"solc": "^0.8.26"
190199
}
191-
}
200+
}

0 commit comments

Comments
 (0)