Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best IDE / Plugin for develop Solidity

I am developing some complex solidity smartcontracts (using some external libraries such as Oraclize). The think is that the IDE that I am using for the moment Remix and Oraclize IDE dosen't fit with the requirments that I want, I need:

  • To compile, deploy and test a smartcontract that can use Oraclize library
  • Have the files in local and be allowed to use a private github repository
  • Compile the contracts only when clicking Ctrl + S
  • Have a desktop environment (Like IntellIJ or Atom)

I have tried some plugins like etheratom (With lots of smartcontracts the program brokes), Intellij solidity plugin (In this one I don't know how to compile and deploy the contracts).

EDIT:

And I missed a very important feature that I want and that dosen't have any IDE that I have tryed.

  • Give the exact position of errors like invalid opcode

I have serched a lot and I didn't find anything.

like image 271
david.t_92 Avatar asked Jun 28 '18 13:06

david.t_92


People also ask

Which IDE is used for coding a smart contract in Solidity?

In the Online Mode, the Remix IDE is typically used to compile and run Solidity smart contracts.

Can I use PyCharm for Solidity?

Intellij-Solidity Plugin + Truffle + GanacheIntellij-Solidity — is a plugin for Intellij-based IDEs such as Webstorm, PhpStorm and PyCharm. This plugin offers syntax highlighting, code formatting and autocomplete for Solidity files.

Can I use Visual Studio code for Solidity?

In visual studio code, open the command palette with Ctrl+Shift+P . then type “solidity” and select “compile current Solidity contract”. You should now see a newly generated bin folder containing three generated files.

Does sublime support Solidity?

Installation in SublimeText editorThis will provide Solidity .


2 Answers

Since Solidity is relatively young a lot of actions has to be done manually for setting up compiling and deployment process.

In fact there are tools to help you the processes

  1. Truffle is a development environment and testing framework and asset aiming to make life as an Ethereum developer easier.

  2. Ganache-CLI or Ganache-GUI - Ethereum RPC client for testing and development.

  3. Intellij-Solidity   is a plugin for Itnellij-based IDEs offers syntax highlighting, code formatting and autocomplete for Solidity files.


Solidity Development: Setting up environment

like image 77
bereket gebredingle Avatar answered Oct 19 '22 08:10

bereket gebredingle


IMHO, as a previous user of Atom and IntelliJ, I will recommend VSCode.

I find these extentions really great for developing smart contracts with solidity on VSCode:

  1. Material Icon Theme, for better distinguish folders and files;
  2. solidity or solidity-solhint, Ethereum Solidity Language for Visual Studio Code;
  3. Trailing spaces, highlight trailing spaces and delete them;
  4. Rainbow Brackets, for cool brackets; :)
  5. Indent rainbow, for better and easier indentation
  6. GitHistory and GitLens.

You should have a better experience with that and then try to test the code in the plugin.

like image 22
Riccardo Persiani Avatar answered Oct 19 '22 08:10

Riccardo Persiani