solidity-ide
solidity-ide copied to clipboard
Make Solidity version configurable
It seems that a "default" version of Solidity is hardcoded to 0.4.25 in the plugin, at least I could not find a way to configure it. After switching files to Solidity 0.5.1 I get a warning "Solidity version does not match the default version (^0.4.25)". It would be nice if it would be possible to at least suppress this warning or maybe even remove it altogether.
Unfortunately the Solidity 0.5.x compilers seem not to be backwards compatible. Therefore to support multiple Solidity versions it would also be necessary to be able to configure different solc binaries for certain versions.
Thank you @esocode for reporting this issue.
Currently there is the option to configure your own compiler binaries via: Window -> Preference -> Solidity -> Compiler -> Path to solc
So at least you can use whatever binary you want, BUT since Solidity seams not to plan for backward compatibility, we are considering to drop 0.4.x support after switching to 0.5.1 (soon). The warning will change to something like "Minimal supported version is 0.5.0" .
However I guess we should somehow ensure that the version of the compiler the user provides is checked.