ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
参考:http://blog.csdn.net/misakaqunianxiatian/article/details/51171718 http://www.imooc.com/article/1466 不要下中文版,很坑, sublime3官网下载:http://www.sublimetext.com/3 注册码:Sublime Text3 3143 注册码,亲测可用! —– BEGIN LICENSE —– TwitterInc 200 User License EA7E-890007 1D77F72E 390CDD93 4DCBA022 FAF60790 61AA12C0 A37081C5 D0316412 4584D136 94D7F7D4 95BC8C1C 527DA828 560BB037 D1EDDD8C AE7B379F 50C9D69D B35179EF 2FE898C4 8E4277A8 555CE714 E1FB0E43 D5D52613 C3D12E98 BC49967F 7652EED2 9D2D2E61 67610860 6D338B72 5CF95C69 E36B85CC 84991F19 7575D828 470A92AB —— END LICENSE —— 安装包控制(packet control):在菜单栏找到view----show console打开控制台,输入下面的代码,回车。 等待几秒,packet control就安装好了。(如果不是从官网下载的sublime,很可能会出现packet control安装失败 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()) 如果安装了packet control,在preference菜单里能看到packet control的选项: 选择preference----packet control,然后输入install packges,回车,调出安装插件的输入框。 Emmet:提升HTML+CSS的编写效率 HTML5:HTML5语法支持 SublimeCodeIntel:代码提示功能,比如在class内输入$this->,则会提示出class内的方法或属性 jQuery:jquery语法支持。 DocBlockr:快速注释代码,比如写一个function,在function上一行输入/**,按tab键直接注释。 utf8:用于转换为utf-8编码 tag:格式化HTML代码 sublimeLinter:语法错误提示,如果想提示PHP语法错误,还需要安装sublimeLinter-php,安装后,打开preference----packet Settings------sublimeLinter-----Settings User,修改php.exe的位置即可,比如D盘下的php文件夹下有php.exe: preferences/key binding: [ {"keys": ["ctrl+0"], "command": "xdebug_breakpoint"}, {"keys": ["shift+f8"], "command": "xdebug_conditional_breakpoint"}, {"keys": ["ctrl+1"], "command": "xdebug_continue", "args": {"command": "run"}}, {"keys": ["ctrl+2"], "command": "xdebug_continue", "args": {"command": "step_over"}}, {"keys": ["ctrl+3"], "command": "xdebug_continue", "args": {"command": "step_into"}}, {"keys": ["ctrl+4"], "command": "xdebug_continue", "args": {"command": "step_out"}}, {"keys": ["ctrl+5"], "command": "xdebug_session_start"}, {"keys": ["ctrl+6"], "command": "xdebug_session_stop"}, {"keys": ["ctrl+7"], "command": "xdebug_layout", "args": {"keymap" : true}} ] 修改调试展示信息: Tools/xdebug/setting-user: { "max_children": 150, "max_depth": 10, "close_on_stop": true, }