These snippets hopes to help you get more acquainted with Ride and build Web 3.0!.
This repo was built for two reasons: help Ride developers become more productive and to help new Ride developers to get familiar with the language
Either
- click the extensions button (lowest square icon in the editor), and type in Waves Ride Snippets, select the one by Wavesafrica
or
- go here vscode Extensions Marketplace
ext install Waves Ride Snippets
You can enable tab completion (recommended) by opening Code > Preferences > Settings
(on a Mac) and applying "editor.tabCompletion": true
to your personal settings
Snippet | Purpose |
---|---|
fun |
Ride function declaration block |
rlet |
Creates a variable in Ride |
rif |
Ride if statement block |
ric |
Ride callable function block |
account |
Ride smart account script directives |
Snippet | Purpose |
---|---|
dapp |
dApp template directive |
This is an open source project open to anyone. Contributions are welcome github