VS Code Forge Snippets
Forge Snippets for VS Code.
Vs Code Marketplace
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:
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.