SublimeText報錯:python
今天打開運行了一段時間的sublime text2,發現報了一個錯,錯誤以下 web
一, ui
A plugin (sublimelint_plugin) may be making Sublime Text unresponsive by taking too long (1.020662s) in its on_load callback.lua
This message can be disabled via the detect_slow_plugins global setting。url
解決辦法以下:spa
打開preference->setting_user.net
添加rest
「detect_slow_plugins」: falsecode
這樣之後就不會彈出相似提示了orm
二,提示:quick_cocos2dx_root:
能夠把Preferences->Package Settings->QuickXDev->Settings – Default的內容複製到其中再改。User的內容會覆蓋Default下的設置。
{ "quick_cocos2dx_root": "你的quick-cocos2d-x目錄", "template_attr": { "author": "Your Name" } } |
{
"quick_cocos2dx_root":"D:/Lua/quick2.5plus",
"luac_path": "luac"
}
三,SublimeText安裝Package Control:
經過快捷鍵:Ctrl+~打開控制檯輸入界面,複製如下python代碼到輸入框中,回車,重啓SublimeText便可完成安裝。
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'