SublimeText 是一個代碼編輯器,也是HTML和散文先進的文本編輯器. SublimeText 是由程序員 Jon Skinner 於2008年1月份所開發出來,它最初被設計爲一個具有豐富擴展功能的Vim
SublimeText具有漂亮的用戶界面和強大的功能,例如代碼縮略圖,Python的插件,代碼段等.還可自定義鍵綁定,菜單和工具欄.SublimeText 的主要功能包括:拼寫檢查,書籤,完整的 Python API , Goto 功能,即時項目切換,多選擇,多窗口等等.
同時 SublimeText 是一個跨平臺的編輯器,同時支持Windows、Linux、Mac OS X等操作系統
更新日誌
- 2013年2月17日更新 中文漢化包完成(鏈接在文章尾部)
- 2013年2月28日更新
- 2013年5月7日更新
- 2013年9月22日更新 3047完美破解
- 2013年12月17日更新
- 2013年12月19日更新 3059不完美破解/簡體中文語言包更新至3059
- 2013年12月20日更新 3059手動完美破解/3059註冊機發布
- 2014年8月30日更新 更新3065註冊碼
關於破解
土豪們請務必支持正版,本文所提供所有破解方式僅限窮屌絲使用.
3059破解方法(該方法同樣適用於3061,只是前後文稍微有些不同)
完美破解方案 3059以上版本作者繞了個圈,驗證有兩處,首先使用 UltraEdit 打開主文件搜索十六進制F7D81AC02005
修改1AC0
爲B001
第二步搜索 F3FF8BC7E895
修改其中的8BC7
爲33C0
此時你再運行SublimeText 在關於裏就可以看到變成了 Unlimited User License
既無限用戶許可,如果沒有搜索的話搜索的時候少匹配一些如修改1AC0
時,只搜索1AC02005
,和截圖中對應下位置差不多就可以了.
3059暫時沒有完美破解的方案,我們可以通過阻攔未註冊提示達到僞破解的效果,同樣使用UE等二進制編輯工具,搜索 0F8591000000535657
將其中的85
修改爲84
,這樣就不會有煩人的彈窗提示出現了,不過標題欄依然有未註冊的字樣,完美方案還在尋找中
使用註冊機
下載附件中的SublimeText 3 註冊機,以管理員方式運行,在Name一欄中輸入你的用戶名(隨意),點擊Generate破解主文件,複製License中的內容,SublimeText,執行 Help->Enter license 粘貼你的License,點擊OK,重啓SublimeText即可看到你的註冊信息。
3059的註冊機直接點擊Patch找到你的SublimeText主文件即可
手動破解方法
如果因爲各種原因無法使用註冊機(有同學反饋註冊機在WIN7/8下偶有異常),使用 UltraEdit 打開主文件,查找3342
,找到這一處替換爲3242
就可以了,啓動SublimeText會識別到之前的註冊信息,如果是第一次使用請使用本文提供的註冊碼激活.
Linux/OS X版本破解方法
和前面手動破解的方法一致,使用 UltraEdit 或者 VIM 二進制編輯方式打開主文件需修改的位置如下圖所示
安裝 SublimeText3 漢化包
運行SublimeText3 點擊 Preferneces -> Browse Packages 會打開 X:\Program Files\Sublime Text\Data\Packages 目錄,點擊向上並找到X:\Program Files\Sublime Text\Data\Installed Packages目錄,從附件中下載漢化包並解壓,複製Default.sublime-package到這個目錄,無需重啓即可直接看到漢化效果。
關於升級
SublimeText的升級挺快的,每次升級完之後都要重新破解一次主文件,不用重新註冊,如果嫌更新太麻煩可以在配置中加入"update_check":
false
禁用自動更新
關於 Sublime Text 3 的 Package Control 安裝方法
Sublime Text 3 的升級變化比較大,所以網上流傳的原來 Sublime Text 2的方法不能用了,具體的方法可以參考官方插件說明頁面。
插件安裝
以Zen Coding爲例,點擊快捷鍵 Ctrl
+ Shift
+ P
輸入
Install 點擊回車, 輸入 Emmet 再點擊回車.
GBK/GB2312中文編碼支持
在Package Control輸入ConvertToUTF8
,安裝一下插件就可以識別了,方法和上面一樣.
常用配置
|
3059的光標變得很粗的問題(感謝Ch’enMeng的補充)
將下列配置放在用戶設置文件的最後面——記得給原來的最後一行末尾添加一個半角逗號。
“caret_style”: “phase”,
“caret_extra_bottom”: 0,
“caret_extra_top”: 0,
“caret_extra_width”: 1,
3065左側出現雙文件夾圖標的問題
在模板規則中添加
1 2 3 4 5 6 7 8 9 10 11 12 |
{ "class": "icon_folder", "content_margin": [0,0] }, { "class": "icon_file_type", "content_margin": [0,0] }, { "class": "icon_folder_loading", "content_margin": [0,0] } |
激活碼
Please refer below URL for more license key
|
相關資源
Sublime Text 3 註冊機(僅適用於3059之前的版本)
Sublime Text 3 註冊機(僅適用於3059版本)
原址:http://www.xiumu.org/note/sublime-text-3.shtml
Sublime Text 3 安裝插件管理 Package Control
自動安裝:
1、通過快捷鍵 ctrl+` 或者 View > Show Console 菜單打開控制檯
2、粘貼對應版本的代碼後回車安裝
適用於 Sublime Text 3:
import urllib.request,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));open(os.path.join(ipp,pf),'wb').write(urllib.request.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
適用於 Sublime Text 2:
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp)ifnotos.path.exists(ipp)elseNone;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')
手動安裝:1、點擊 Preferences > Browse Packages… 菜單
2、進入 Installed Packages/ 目錄
3、下載 Package Control.sublime-package,並複製文件到 Installed Packages/ 目錄
4、重啓 Sublime Text
updated 2014/11/2
現在貌似sublime被牆了,所以只能通過vpn來安裝package control的。
但是有時候會遇到以下問題:
HTTP Error 12057 - SSL Revocation
This error is happening because the program GenoPro uses a secure encrypted protocol (SSL) to connect to the server GenoPro.com. Under rare conditions, your computer may display the error below because it is unable to validate the SSL certificate.
HTTP Error 12057: Unable to validate the revocation of the SSL certificate because the revocation server is unavailable
You will only see the error if you are working with secure sockets (https protocol). You can turn off the check for server certification following the steps below.
How to fix it
This error is easy to fix and should take less than 2 minutes of your time:
- Open Internet Explorer.
- From the Tools menu, select the menu item Internet Options and click on the Advanced tab.
- Scroll down to the Security section, uncheck the option Check for server certificate revocation.
- Click on the OK button to close the Internet Options dialog. You also need to close all instances of Internet Explorer for the changes to take effect. If the changes do not take effect, it is possible a hidden instance of Internet Explorer may still be running in the background. In this case, just reboot your computer and it will work.
- Restart GenoPro.
- If you still get this error, turn off the other option Check for publisher's certificate revocation.
安裝vbs 包的, 先ctrl+shift+p ----- install -> package......
然後輸入vbscript 就可以找到vbscript的安裝包了