Skip to content

Visual Studio Code language support extension for Solidity smart contracts in Ethereum

License

Notifications You must be signed in to change notification settings

waynemunro/vscode-solidity

 
 

Repository files navigation

Solidity support for Visual Studio code

Solidity is the language used in Ethereum to create smart contracts, this extension provides:

  • Syntax highlighting
  • Snippets
  • Compilation of the current contract (Press F1 Solidity : Compile Current Solidity Contract), or F5
  • Compilation of all the contracts (Press F1 Solidity : Compile all Solidity Contracts), or Ctrl+F5 / Cmd+F5
  • Compilation supporting EIP82 (dappfile and dependency packages)
  • Support for different solidity versions
  • Experimental code generation using https://github.com/Nethereum/abi-code-gen, it includes currently the default template for Nethereum service, dtos generation. (Open 'contractName.json' after compilation from the bin folder. Press F1 and press Solidity: Code generate from compilation output..) Please contribute more templates.

To compile using a different version of Solidity, for example latest or 'v0.4.3+commit.2353da71', use the user settings as follow:

"solidity.compileUsingRemoteVersion" : "latest"

Work in progress, any feedback appreciated.

For ideas, issues, additions, modifications please raise an issue or a pull request at https://github.com/juanfranblanco/vscode-solidity/ and / or send a message on gitter at https://gitter.im/vscode-solidity/Lobby

Credits

Many thanks to:

ChrisEth the Solidity Compiler https://github.com/chriseth/browser-solidity and the Ethereum team.

Nexus team for the creation of the dappfile to structure contracts in projects https://github.com/nexusdev/dapple.

David Krmpotic and Ralph Pichler for the original Sublime extension https://github.com/davidhq/SublimeEthereum

About

Visual Studio Code language support extension for Solidity smart contracts in Ethereum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%