https://github.com/crisgarner/ForgeSnippets
Forge Snippets for VS Code
https://github.com/crisgarner/ForgeSnippets
Last synced: 3 months ago
JSON representation
Forge Snippets for VS Code
- Host: GitHub
- URL: https://github.com/crisgarner/ForgeSnippets
- Owner: crisgarner
- License: other
- Created: 2022-05-21T23:00:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T22:29:21.000Z (over 1 year ago)
- Last Synced: 2024-07-29T22:14:32.891Z (10 months ago)
- Size: 103 KB
- Stars: 64
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-foundry - Forge Snippets - VS Code Snippets for Forge. (Tools)
README
# VS Code Forge Snippets
Forge Snippets for VS Code.
## Installation
### Vs Code Marketplace
Install this extension on VS Code marketplace. on the following place: https://marketplace.visualstudio.com/items?itemName=Crisgarner.foundry-snippets
### VSIX
For users who want to use a VSIX file, they can install the extension with the following command:
```bash
code --install-extension releases/foundry-snippets-1.0.0.vsix
```## Snippets
Here is the list of current supported snippets.
### Init
Simple boilerplate structure for a test contract.

### Script
Simple boilerplate structure for a script contract.

### Event
A simple event.

### SetUp
SetUp function snippet.

### Test
Test function boilerplate.

### Prank Cheatcodes
Snippets for prank, startPrank, StopPrank and Deal cheatcodes.

### Expect Event
Snippet for emit and expect event emition.

### Expect Revert
Snippet for revert checks.

## Release Notes
All notable changes to this project will be documented in this file.
### 1.0.0
Initial release of Forge Snippets.