Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

| Marketplace
Sign in
Visual Studio Code>Extension Packs>Ethereum RemixNew to Visual Studio Code? Get it now.

Ethereum Remix

Remix Project

|
46,075 installs
| (3) | Free
Ethereum Remix plugins in VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ethereum Remix Project extension for Visual Studio Code

This project brings Remix plugins to Visual Studio Code.
Remix plugins can perform a variety of tasks such as verifying contracts, linting, generating documentation, running tutorials, compiling, debugging and much more.
The Remix Plugin API allows plugins that run in Remix to run in Visual Studio Code too.
It allows developers to access and interact with the file system, components, extensions and other Remix plugins without actually having to create a different code base.

For more info on what Remix is and what plugins do please visit our Remix IDE and Remix Project website

  • Ethereum Remix Project extension for Visual Studio Code
    • A beta release.
    • Installation from the Visual Studio Code Marketplace
    • Requirements
    • Compiling Solidity & Yul
    • Imports
    • Deploying contracts
    • RemixD
    • The plugins
    • Select, activate, deactivate a plugin
    • Load a development plugin
    • Contributing and development

A beta release.

As we are continuing development of Remix and the Plugin API more functionalities will open up.
So at first it might feel limited. In this beta release we show you a glimpse of what the possibilities are, inviting everybody to contribute & comment.

Installation from the Visual Studio Code Marketplace

Install from Visual Studio Code Marketplace

Requirements

Before being able to use the extension, you need to have at least a folder opened or a workspace.

Compiling Solidity & Yul

Our extension provides some basic functionality to get started with Solidity and Yul development.
Quite a few remix plugins use the results of compilation to generate content for you. So this is extremely useful.

At this time you can compile your files using two methods:

  • the internal Remix compiler
  • the compiler provided by the Solidity Extension (https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity)

The compiler can be accessed via the menu. Just open a solidity file in the editor and click on compile, you will be able to select a file to compile.

Imports

Just like Remix the extension handles any imports you may have in your files.

Deploying contracts

The Run & Deploy app provides several options for you to connect to a network, deploy contracts and run transactions.

RemixD

RemixD is a daemon which allows you to connect your local filesystem to Remix IDE. In the context of this extension it also allows you to deploy to the Remix VM or to Metamask if this has been installed in your browser.

The plugins

The extension loads with a default set of plugins. As time goes on we will add more plugins.
You can also suggest and create plugins using our plugin system and API. Feel free to contact us on our gitter channels. Remix & Remix Dev and read up on the basics on Read the docs

Select, activate, deactivate a plugin

Before you can use a plugin, it needs to be activated. Activation means you open it and it will run.

Activate, deactivate remix plugin

Load a development plugin

As you develop your own plugin or you want to try out a plugin by using a custom URL you can easily add it to the list.

  • Click on 'add plugin' from the Remix Plugins More actions menu on top right

  • The plugin system requires a valid JSON string that contains the information needed. Add your JSON plugin info into the input box. An example is given below.

    The URL can contain any URL or a local file.
    Make sure to give your plugin a unique name. You can't have two plugins with the same name.

{
  "name": "dev-plugin",
  "displayName": "My first plugin",
  "methods": [],
  "version": "0.0.1-dev",
  "url": "http://localhost:3000",
  "description": "A great plugin for the Remix project",
  "icon": "https://raw.githubusercontent.com/protofire/solhint/master/solhint-icon.png",
  "location": "sidePanel"
}

Contributing and development

You can checkout our code on github

  • Make sure the extension from the marketplace is not installed, running both versions will not work.
  • Open up the repo in Visual Studio Code.
  • run Yarn
  • hit F5
  • A new Visual Studio Code window will open where the extension is running.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft