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

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

  • 相关阅读:
    P4556 [Vani有约会]雨天的尾巴
    [模拟赛20180809] 旅程
    【jzoj3464】秀姿势
    【noip2013】火柴排队
    做运动
    【noip2013】花匠
    【noip2016】愤怒的小鸟
    【bzoj4326】【noip2015】运输计划
    作业二:个人编程项目——编写一个能自动生成小学四则运算题目的程序
    自我介绍
  • 原文地址:https://www.cnblogs.com/pthlp/p/5522869.html
Copyright © 2020-2023  润新知