![]() ![]() ![]() Once open, paste the appropriate Python code for your version of Sublime Text into the console.Ĭode for Sublime Text 3 import urllib.request,os pf = 'Package Control.sublime-package' ipp = sublime.installed_packages_path() _opener( _opener( ()) ) open(os.path.join(ipp, pf), 'wb').write(( '' + pf.replace(' ','%20')).read())Ĭode for Sublime Text 2 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( '' +pf.replace( ' ','%20' )).read()) print( 'Please restart Sublime Text to finish installation')įor the up-to-date installation code, please check Package Control Installation Guide. The console is accessed via the Ctrl+ ` shortcut or the View > Show Console menu. ![]() The simplest method of installation is through the Sublime Text console. Once you are done you can use the Ctrl + Shift + P shortcut in Sublime, type in install and press enter, then search for emmet.ĮDIT: You can now also press Ctrl + Shift + P right away and use the command 'Install Package Control' instead of following the install instructions. Or, an easier way would be to install the Package Control Plugin by wbond. You should have a Data/Packages folder in your Sublime Text 2 install directory.Īll you need to do is download the plugin and put the plugin folder in the Packages folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |