2016/4/26 sublime text 2 版本 遇到的問題及解決方案

來源:互聯網
上載者:User

標籤:

1.漢化:下載漢化包 、開啟程式Preference下的瀏覽包檔案夾、將解壓的程式包粘貼進包檔案夾
2.破解:標題列上面有帶(unregistered)表示還沒有註冊;
開啟HELP→Enter license粘貼如下代碼
----- BEGIN LICENSE -----
Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396E98 E62C9979 4BB979FE
91424C9D A45400BF F6747D88 2FB88078
90F5CC94 1CDC92DC 8457107A F151657B
1D22E383 A997F016 42397640 33F41CFC
E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D
5CDB7036 E56DE1C0 EFCC0840 650CD3A6
B98FC99C 8FAC73EE D2B95564 DF450523
------ END LICENSE ------

3.安裝包控制器
首先按Ctrl+~開啟控制台,輸入以下代碼:
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‘)


4.顯示無法啟動此程式,因為電腦丟失php_mbstring.dll:
修改php.ini配置。去掉“;extension=php_mbstring.dll”和“;extension=php_exif.dll”前的分號,並保證php_mbstring.dll在php_exif.dll之前載入,因為載入php_exif.dll需要用到php_mbstring.dll。然後儲存php.ini,並重啟web伺服器。


5.彈出錯誤資訊:
A plugin (SublimeCodeIntel) may be making Sublime Text unresponsive by taking too long (0.020000s) in its on_modified callback.

This message can be disabled via the detect_slow_plugins setting


解決方案:開啟preference->setting_user
添加
“detect_slow_plugins”: false
這樣以後就不會彈出類似提示了


6.彈出錯誤資訊:
Error trying to parse settings: No data in ~/Library/Application Support/Sublime Text 2/Packages/User/JavaScript.sublime-settings:1:1


Stack Overflow的回答是:Most likely you or something has created an empty file in your User config directory.

The config files must be valid JSON. The file in the question is empty and is not JSON.

Try deleting the file or get a fixed version from somewhere (not sure for what the file is being used for)

最有可能你或者在您的使用者配置目錄中建立一個空檔案。

設定檔必須是有效JSON。 問題檔案是空的,不是JSON。

試著從某個地方刪除檔案或得到一個固定的版本

2016/4/26 sublime text 2 版本 遇到的問題及解決方案

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.