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 里面;

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

  • 相关阅读:
    装饰
    统一软件开发过程之2:用例文本书写
    统一软件开发过程之1:创建领域模型
    工厂方法
    volatile
    中介者
    建造者
    C#委托,事件与回调函数
    控件资源嵌入
    装饰
  • 原文地址:https://www.cnblogs.com/pthlp/p/5522869.html
Copyright © 2011-2022 走看看