标签:
Sublime Text 3 3103全系列下载地址
Ubuntu 32
https://download.sublimetext.com/sublime-text_build-3103_i386.deb
Ubuntu 64
https://download.sublimetext.com/sublime-text_build-3103_amd64.deb
OS X
https://download.sublimetext.com/Sublime%20Text%20Build%203103.dmg
https://download.sublimetext.com/Sublime%20Text%20Build%203103%20Setup.exe
Windows X64
https://download.sublimetext.com/Sublime%20Text%20Build%203103%20x64%20Setup.exe
官网代码汉化
The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut or the
menu. Once open, paste the appropriate Python code for your version of Sublime Text into the console.Sublime Text 3 语言复制代码
import urllib.request,os,hashlib; h = ‘2915d1851351e5ee549c20394736b442‘ + ‘8bc59f460fa1548d1514676163dafc88‘; 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)
Sublime Text 2 语言复制代码
import urllib2,os,hashlib; h = ‘2915d1851351e5ee549c20394736b442‘ + ‘8bc59f460fa1548d1514676163dafc88‘; 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()) ); by = urllib2.urlopen( ‘http://packagecontrol.io/‘ + pf.replace(‘ ‘, ‘%20‘)).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), ‘wb‘ ).write(by) if dh == h else None; print(‘Error validating
download (got %s instead of %s), please try manual install‘ % (dh, h) if dh != h else ‘Please restart Sublime Text to finish installation‘)
官网汉化包汉化 (Package Control.sublime-package 拷贝到Packages目录下重启Sublime Text 3)
https://packagecontrol.io/Package%20Control.sublime-package
Sublime Text 2-3 注册码
标签:
原文地址:http://blog.csdn.net/hanzheng260561728/article/details/51335688