Forge Snippets for VS Code.
Install this extension on VS Code marketplace. on the following place: https://marketplace.visualstudio.com/items?itemName=Crisgarner.foundry-snippets
For users who want to use a VSIX file, they can install the extension with the following command:
code --install-extension releases/foundry-snippets-1.0.0.vsix
Here is the list of current supported snippets.
Simple boilerplate structure for a test contract.
Simple boilerplate structure for a script contract.
A simple event.
SetUp function snippet.
Test function boilerplate.
Snippets for prank, startPrank, StopPrank and Deal cheatcodes.
Snippet for emit and expect event emition.
Snippet for revert checks.
All notable changes to this project will be documented in this file.
Initial release of Forge Snippets.