|
98 | 98 | "command": "vscode-solidity-inspector.contextMenu.scaffold", |
99 | 99 | "title": "Solidity Inspector: scaffold", |
100 | 100 | "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" |
101 | 126 | } |
102 | 127 | ], |
103 | 128 | "configuration": { |
|
150 | 175 | "group": "solidity", |
151 | 176 | "command": "vscode-solidity-inspector.contextMenu.scaffold", |
152 | 177 | "when": "resourceFilename =~ /\\.tree/" |
| 178 | + }, |
| 179 | + { |
| 180 | + "group": "solidity", |
| 181 | + "command": "vscode-solidity-inspector.contextMenu.gasAnalysis", |
| 182 | + "when": "resourceLangId == solidity && resourceFilename =~ /\\.t\\.sol/" |
153 | 183 | } |
154 | 184 | ] |
155 | 185 | }, |
|
0 commit comments