1- <img align =" right " width =" 150 " height =" 150 " top =" 100 " src =" ./assets/icon.jpg " >
1+ <img align =" right " width =" 150 " height =" 150 " top =" 100 " src =" ./assets/m- icon.jpg " >
22
33# VSCode Solidity Inspector • [ ![ license] ( https://img.shields.io/badge/MIT-brown.svg?label=license )] ( https://github.com/PraneshASP/vscode-solidity-inspector/blob/main/LICENSE )
44
@@ -19,6 +19,8 @@ TL;DR, this is my first VSCode extension, so feel free to provide feedback as I
1919- Forge ir-optimized o/p generation for the current file (or) selected file(s).
2020- Forge asm-optimized o/p generation for the current file (or) selected file(s).
2121- Forge storage-layout o/p generation for the current file (or) selected file(s).
22+ - Flatten current file (or) selected file(s).
23+ - Inline highlighting in code editor for unused imports.
2224
2325---
2426
@@ -33,31 +35,45 @@ The following will need to be installed in order to use this template. Please fo
3335
3436## Usage
3537
36- The usage of this extension is straightforward. You can inspect the solidity contracts that are under the foundry project in two ways:
38+ The usage of this extension is straightforward.
3739
38- ### 1.) From the context menu: Select file(s) -> Right click -> ` SolidityInspector: ir-inspect selected file(s) `
40+ ### 1.) From the context menu: Select file(s) -> Right click -> ` SolidityInspector: <ACTION> `
3941
40- <img src =" ./assets/context-menu.gif " />
42+ <img src =" ./assets/context-menu.gif " />
4143
4244---
4345
44- ### 2.) From the command pallet: Press ` Cmd + Shift + P ` -> Search ` Solidity Inspector - ir-optimizer `
46+ ### 2.) From the command pallet: Press ` Cmd + Shift + P ` -> Search ` Solidity Inspector - <ACTION> `
4547
4648#### IR-Optimized Output:
4749
48- <img src =" ./assets/ir-opt.gif " />
50+ <img src =" ./assets/ir-opt.gif " />
4951
5052---
5153
5254#### ASM-Optimized Output:
5355
54- <img src =" ./assets/asm-opt.gif " />
56+ <img src =" ./assets/asm-opt.gif " />
5557
5658---
5759
5860#### Storage layout Output:
5961
60- <img src =" ./assets/storage-layout.gif " />
62+ <img src =" ./assets/storage-layout.gif " />
63+
64+ ---
65+
66+ #### Flatten contract Output:
67+
68+ <img src =" ./assets/flatten.gif " />
69+
70+
71+ ---
72+
73+ #### Highlights unused imports:
74+
75+ https://github.com/PraneshASP/vscode-solidity-inspector/assets/42379522/e4906ad3-69e6-4cea-b986-7712ec342fca
76+
6177
6278---
6379
0 commit comments