
Today we are going to install a powerful and helpful package control system on our sublime text 2.
It is so easy and will help you a lot in developing your coding environment.
Lets go . Open up your sublime text and just call “Ctrl + ` ” and paste this code.
import urllib2,os; pf=’Package Control.sublime-package’; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),’wb’).write(urllib2.urlopen(‘http://sublime.wbond.net/’+pf.replace(’ ‘,’%20’)).read()); print(‘Please restart Sublime Text to finish installation’)
Ok just enter press and leave it until it is finished .
Then restart your sublime text . Then press this shortcut ” Ctrl + Shift + p ” and it will give you a neat pop-up where you can surf and install newly cool plug-ins there.
Had Fun With Hacking It.
Tin Aung Linn
No responses
Post a comment