Ethereum-Solidity language syntax in Sublime

I personally like Sublime as a text-editor more compared with all other existing text editors (P.S thanks to Vinay Saini who recommended me to go with Sublime).Sublime is my default. Before taking on programming on blockchain, Ethereum’s EVM specifically, one needs some foundation of solidity language which the existing documentations make decent effort to explain. It is always there is add and expanded upon.

Since I personally like to use Sublime, following are the steps to add Solidity language syntax on Sublime text editor.

Step 1: Install Package Controls
Package Control is a package manager for Sublime Text 2, 3. Open Sublime’s console.

View -> Show Console
import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

Step 2: Restart Sublime and Install Package

Restart Sublime after Package Control installation. Open the Package Control by:

|  Cmd + Shift + P

Type Install and choose:

|   Package Control: Install Package



Wait a few seconds before Sublime gives options of packages to install. Type ‘Ethereum’ and off you go.



Restart Sublime and get cracking.

1 comments:

Unknown said...

This is very nice information. CoinTopper is a website that tracks the movements of all the major and smaller cryptocurrencies. It provides the coin specific statistics like the continuous price fluctuations, past 24 hr status, trade volume, market capital/supply, periodic price graphs, the team info, forums, social media and also lists the upcoming ICOs and its details, and much more at www.cointopper.com

Post a Comment

 
Design by gitstein | Bloggerized by Kuldeep