-
Notifications
You must be signed in to change notification settings - Fork 14
SolidityBuilder
- enable/disable builder
- solidity builder preferences
- configure builder
- install without the modeling stuff
The compiler support plugin adds preferences to manage the solidity compilers and the builder. The builder uses the selected compiler to generate a combine json file from the given sources files.
to enable the compilation of solidity files in eclipse:
- add the compiler to the preferences
- add the builder to the project
- configure the builder
The builder is added via context menu configure on the project.
The builder preferences are divided in the preferences part and the project specific setting. The builder is always configured by the project settings.
The preferences for the solidity builder contains a list of available compilers and where to find them.
- add - Select a solc file to add a single compiler
- remove - Removes a selected entry
- search - Searches recusive the given directory for solc files
Each solc is checked and queried for the version, only valid compilers are added to the view. From this view you can select the
Uses the list of compilers to set the compiler for a project. The main preferences are used as template for the project preferences.
The builder setting is taken from the project properties and will be configured via the context menu properties on the project.
The source directory is the directory in which the solidity files are searched, all found files will be compiled together to a combined json file defined by the 'compile to file'. In the combobox you choose one of the installed compilers. Note that the 'gas optimization' is really expensive.
Don't want to use the modeling approach? You don't need the modeling and generation stuff to compile solidity code.
The compiler feature is a separate installable feature.