Skip to content

Commit 5bf623b

Browse files
authored
Merge pull request #11 from PraneshASP/chore/readme
Release `v1.0.0`
2 parents b886173 + 3cb8231 commit 5bf623b

6 files changed

Lines changed: 36 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ All notable changes to the "vscode-solidity-inspector" extension will be documen
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7-
## v.0.0.3
8-
- Add support for projects with `foundry.toml` and `hardhat.config.ts` config files
9-
- Add a new feature: `storage-layout` inspector
10-
- Refactoring of the codebase
7+
## [v.1.0.0](https://github.com/PraneshASP/vscode-solidity-inspector/releases/tag/v1.0.0)
8+
- Added a feature to flatten smart contracts.
9+
- Introduced a feature to highlight unused import statements inline to easily detect them.
10+
11+
## [v.0.0.3](https://github.com/PraneshASP/vscode-solidity-inspector/releases/tag/v0.0.3)
12+
- Added support for projects with `foundry.toml` and `hardhat.config.ts` config files
13+
- Introduced a new feature: `storage-layout` inspector
14+
- Extensive refactoring of the codebase
1115

12-
## v.0.01 - v.0.0.2
13-
- Initial release
16+
## [v.0.01 - v.0.0.2](https://github.com/PraneshASP/vscode-solidity-inspector/releases/tag/v0.0.2)
17+
- Initial release of the extension with basic functionalities
18+
19+

README.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

assets/context-menu.gif

15.1 KB
Loading

assets/flatten.gif

1.28 MB
Loading

assets/m-icon.jpg

657 Bytes
Loading

assets/vscode-unused.mp4

1.28 MB
Binary file not shown.

0 commit comments

Comments
 (0)