Restart Sublime after Package Control installation. 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() _opener( _opener( ()) ) by = ( ' ' + 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 Package Control is a package manager for Sublime Text 2, 3. Since I personally like to use Sublime, following are the steps to add Solidity language syntax on Sublime text editor. It is always there is add and expanded upon. 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. Other than Python for which I use Pycharm, Sublime is my default. 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. Type install and select the Install-Package Control package. Starts Sublime text editor Select Tools Menu + Command palette or use short cut CTRL+ Shift+P in windows or +Shift+H command in macOS. Ethereum-Solidity language syntax in Sublime Ethereum-Solidity language syntax in Sublime Here are the steps to install package control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |