下載sublime
我們可以到官網進行下載對應的版本 https://www.sublimetext.com/3 如下是官網的內容(我選擇的是Windows 64 bit)。
Sublime Text 3 is currently in beta. The latest build is 3126.
- OS X (10.7 or later is required)
- Windows - also available as a portable version
- Windows 64 bit - also available as a portable version
- Ubuntu 64 bit - also available as a tarball for other Linux distributions.
- Ubuntu 32 bit - also available as a tarball for other Linux distributions.
Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.
For notification about new versions, follow sublimehq on twitter.
Even more bleeding-edge versions are available in the dev builds.
Sublime Text 2 is also still available
安裝
點擊已經下載的安裝文件,根據安裝導航進行安裝,在提示Add to explorer context menu 時,勾選上這樣在右鍵單擊文件時就可以直接使用Sublime Text打開,然后一路“next”等待安裝完成。
安裝Package Control
Sublime Text支持大量插件,利用Package Control我們可以很方便的瀏覽、安裝和卸載Sublime Text中的插件。進入Package Control的官網,里面有詳細的安裝教程 https://packagecontrol.io/installation
The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut or the
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)
import urllib2,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; 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')
This code creates the Installed Packages folder for you (if necessary), and then downloads the Package Control.sublime-package into it. The download will be done over HTTP instead of HTTPS due to Python standard library limitations, however the file will be validated using SHA-256.
激活
點擊 Help--enter license 然后輸入激活碼
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
200C25BE DBBC4855 C4CFB774 C5EC138C
0FEC1CEF D9DCECEC D3A5DAD1 01316C36
—— END LICENSE ——