Ethereum-Solidity language syntax in Sublime

Abhinav Prakash
Aug 7, 2017 · 2 min read

I personally like Sublime as a text-editor more compared with all other existing text editors (including Vim, yes I said it — sue me), exception is JetBrains ones. Other than Python for which I use Pycharm, 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

Paste the following code in the console and hit return

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

Image for post
Image for post

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

Image for post
Image for post

Restart Sublime and get cracking.

Image for post
Image for post

Coinmonks

Coinmonks is a non-profit Crypto educational publication.

Sign up for Crypto News

By Coinmonks

A newsletter that brings you week's best crypto and blockchain stories and trending news directly in your inbox, by CoinCodeCap.com Take a look

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Abhinav Prakash

Written by

Founder @ eureca.space | imerzon.com

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Abhinav Prakash

Written by

Founder @ eureca.space | imerzon.com

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade