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
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
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 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.
Just like Remix the extension handles any imports you may have in your files.
The Run & Deploy app provides several options for you to connect to a network, deploy contracts and run transactions.
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 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.
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.
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.
"displayName": "My first plugin",
"description": "A great plugin for the Remix project",
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.