This Visual Studio Code extension is under development: CHANGELOG
Elrond IDE is an extension for Visual Studio Code that offers development support for Elrond Smart Contracts.
Elrond IDE supports the following programming languages:
- Rust - recommended. For Rust, the IDE also provides a step-by-step debugging experience, via elrond-wasm-debug.
- C / C++
- Build Smart Contracts to WASM
- Step-by-step debugging Rust smart contracts
- Automatically download tools and dependencies
- Rust debugger support for managed types - see the installation guide
Elrond IDE can be installed from the Visual Studio Code Marketplace.
- Linux is supported
- Windows is not supported yet
- MacOS is supported
If you experience any issues, please let us know on Github or on Telegram.
erdpy is the backend of the Visual Studio Code extension. erdpy is required by the Elrond IDE. In order to install it, please follow these steps.
The extension, via erdpy
, will automatically download its external dependencies, so you do not have to worry much about setting up the development environment. These automatically installed dependencies include:
RUST
buildchainVM Tools
(e.g. Mandos framework)LLVM (clang, llc, wasm-ld etc.)
This extension contributes the following commands (Ctrl+Shift+P
):
newFromTemplate
buildContract
cleanContract
runMandosTests
runContractSnippet
The rust debugger pretty printer script for LLDB allows proper viewing of managed types (BigUint, ManagedBuffer etc.) when debugging smart contract rust tests.
Prerequisites: First, make sure that the CodeLLDB extension is installed. This can be done directly from Visual Studio Code extensions menu.
Then, from Visual Studio Code open the command menu via Ctrl+Shift+P
and run Elrond: Install the rust debugger pretty printer script
. If this option isn't present, make sure you have the latest version of the Elrond
Visual Studio Code extension.
You will be prompted for the repository, branch and path for the pretty printer script. Simply leave the options blank in order to install the latest version of the script from elrond-wasm-rs.
- Within a PR, bump version in
package.json
andpackage-lock.json
, and update changelog. - Open and merge the PR against the
main
(master
) branch. - Trigger the Github Workflow called
Release
. This will also publish the extension on the Visual Studio Marketplace.