Code Monkey home page Code Monkey logo

mx-ide-vscode's Introduction

MultiversX IDE for Visual Studio Code

Build Status

What is it?

MultiversX IDE is an extension for Visual Studio Code that offers development support for MultiversX Smart Contracts written in Rust.

Main features

  • 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

How to get it

MultiversX IDE can be installed from the Visual Studio Code Marketplace.

Requirements and dependencies

Operating system

  • Linux is supported
  • Windows is not supported yet
  • MacOS is supported

If you experience any issues, please let us know on Github, on Discord or on Telegram.

mxpy is the backend of the Visual Studio Code extension. mxpy is required by the MultiversX IDE. In order to install it, please follow these steps.

Other dependencies

The extension, via mxpy, 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 buildchain
  • VM Tools (e.g. tests / scenarios framework)

Extension Commands

This extension contributes the following commands (Ctrl+Shift+P):

  • newFromTemplate
  • buildContract
  • cleanContract
  • runScenarios

Installing the rust debugger pretty printer script

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 MultiversX: Install the rust debugger pretty printer script. If this option isn't present, make sure you have the latest version of the MultiversX 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 mx-sdk-rs.

Contributors

How to publish an update of the extension

  1. Within a PR, bump the version in package.json and package-lock.json.
  2. Open and merge the PR against the main (master) branch.
  3. Trigger the Github Workflow called Release. This will also publish the extension on the Visual Studio Marketplace.

mx-ide-vscode's People

Contributors

andreibancioiu avatar claudiu725 avatar miiu96 avatar andrei-marinica avatar camilbancioiu avatar ccorcoveanu avatar dependabot[bot] avatar andrei-x1 avatar bogdan-rosianu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.