Blogger Information
Blog 5
fans 0
comment 0
visits 8012
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Sublime Text 配置
kfzphp项目问题解决方案
Original
837 people have browsed it

第一步:

安装sublime,但不启动sublime,在目录下创建Data文件夹

第二步:

添加下面一行到hosts文件,目的是屏蔽掉Sublime对激活码的验证

第三步:

输入注册码

—— 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 ——

第四步:

按(ctrl + ~) 输入以下代码,安装Package 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())

第五步:

ConvertToUTF8        功能:文件转码成utf-8
Sublime CodeIntel    代码自动提示
CodeFormatter      代码格式化
CTags           函数查找
Emmet              编码快捷键,前端必备
TortoiseSVN        TortoiseSVN客户端
DocBlockr          生成优美注释
ColorPicker        调色板
FileDiffs           强大的比较代码不同工具
ChineseLocalizations  汉化

第六步

{
    "caret_style": "phase",
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    "font_face": "Consolas",
    "font_size": 10.5,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "line_padding_bottom": 3,
    "line_padding_top": 3,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true,
    "update_check": false
}

第七步


修改注释配置

{
"jsdocs_extra_tags": ["@author Wally","@since {{date}}"]
}


修改格式化配置

"php_path": "D:/phpStudy/php/php-5.6.27-nts/php.exe",


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post