一、下载ctags

http://download.csdn.net/detail/xujunabc999/9604934

二、安装ctags和codebeautifier插件:

1)按ctrl+shift+p,打开install package
2)搜索ctags进行插件安装;
3)搜索php codebeautifier进行插件安装。

三、配置快捷键

配置在sublime中使用ctrl+左键单击函数跳转、ctrl+右键单击跳回函数调用位置
复制以下代码到preferences->package settings->ctags->mouse bindings-user

[
    {
        "button": "button1",
        "count": 1,
        "press_command": "drag_select",
        "modifiers": ["ctrl"],
        "command": "navigate_to_definition"
    },
    {
        "button": "button2",
        "count": 1,
        "modifiers": ["ctrl"],
        "command": "jump_prev"
    }
]

四、运行ctags.exe

1)拷贝ctags.ext到项目根目录
2)在项目根目录打开cmd运行“ctags -r -f .tags”,将生成.tags文件

以上就是sublimetext3配置php函数追踪定位插件的详细内容,更多关于sublimetext3配置php插件的资料请关注www.887551.com其它相关文章!