Skip to content

Commit d1afa31

Browse files
committed
feat: gas analysis dashboard
1 parent fdb98eb commit d1afa31

File tree

4 files changed

+975
-0
lines changed

4 files changed

+975
-0
lines changed

package.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,31 @@
9898
"command": "vscode-solidity-inspector.contextMenu.scaffold",
9999
"title": "Solidity Inspector: scaffold",
100100
"category": "Solidity Inspector"
101+
},
102+
{
103+
"command": "vscode-solidity-inspector.activeFile.gasAnalysis",
104+
"title": "Gas Analysis",
105+
"category": "Solidity Inspector"
106+
},
107+
{
108+
"command": "vscode-solidity-inspector.contextMenu.gasAnalysis",
109+
"title": "SolidityInspector: gas analysis",
110+
"category": "Solidity Inspector"
111+
},
112+
{
113+
"command": "vscode-solidity-inspector.codelens.gasAnalysisAll",
114+
"title": "Gas Analysis - All Tests",
115+
"category": "Solidity Inspector"
116+
},
117+
{
118+
"command": "vscode-solidity-inspector.codelens.gasAnalysisFile",
119+
"title": "Gas Analysis - This File",
120+
"category": "Solidity Inspector"
121+
},
122+
{
123+
"command": "vscode-solidity-inspector.codelens.gasAnalysisTest",
124+
"title": "Gas Analysis - Specific Test",
125+
"category": "Solidity Inspector"
101126
}
102127
],
103128
"configuration": {
@@ -150,6 +175,11 @@
150175
"group": "solidity",
151176
"command": "vscode-solidity-inspector.contextMenu.scaffold",
152177
"when": "resourceFilename =~ /\\.tree/"
178+
},
179+
{
180+
"group": "solidity",
181+
"command": "vscode-solidity-inspector.contextMenu.gasAnalysis",
182+
"when": "resourceLangId == solidity && resourceFilename =~ /\\.t\\.sol/"
153183
}
154184
]
155185
},

0 commit comments

Comments
 (0)