zoukankan      html  css  js  c++  java
  • sublime 修改Xdebug插件快捷键

    最近在用Xdebug插件

    感觉挺好用

    但是快捷键不太舒服,特别是调试下一步的时候,比较麻烦,按键较多;

    所以想DIY下

    但是preferences->package setting ->Xdebug,里面没有快捷键的设置;

    那就去 preferences-> key bindings-default/user 去找Xdebug的设置,全没有……

    最终在C:UsersAdministratorAppDataRoamingSublime Text 3Installed Packages里面的Xdebug Client.sublime-package;

    用压缩软件打开他,找到里面的Default.sublime-keymap;

    打开后看到:

    [
    {"keys": ["ctrl+f8"], "command": "xdebug_breakpoint"},
    {"keys": ["shift+f8"], "command": "xdebug_conditional_breakpoint"},
    {"keys": ["ctrl+shift+f5"], "command": "xdebug_continue", "args": {"command": "run"}},
    {"keys": ["ctrl+shift+f6"], "command": "xdebug_continue", "args": {"command": "step_over"}},
    {"keys": ["ctrl+shift+f7"], "command": "xdebug_continue", "args": {"command": "step_into"}},
    {"keys": ["ctrl+shift+f8"], "command": "xdebug_continue", "args": {"command": "step_out"}},
    {"keys": ["ctrl+shift+f9"], "command": "xdebug_session_start"},
    {"keys": ["ctrl+shift+f10"], "command": "xdebug_session_stop"},
    {"keys": ["ctrl+shift+f11"], "command": "xdebug_layout", "args": {"keymap" : true}}
    ]

    把这些放到 preferences-> key bindings-user 里面;

    改成自己想要的快捷键就行了!

  • 相关阅读:
    php 格利高里函数转化成时间戳
    图片转化成文件流
    下载文件(execl,img 等)
    项目开发流程
    大数据可以采用子查询
    文件上传接口
    多文件ajax 上传
    swoole 安装和简单实用
    jquery 滑动加载
    php实现分享到朋友圈,QQ,微博
  • 原文地址:https://www.cnblogs.com/pthlp/p/5522869.html
Copyright © 2011-2022 走看看