firefox - 更改 Firefox 开发者工具调试器键绑定(bind)

标签 firefox keyboard-shortcuts firefox-developer-tools

如何更改 Firefox 调试器的步入、跳过、退出键绑定(bind)?

在此找不到任何文档,也找不到 about:config 中的任何内容。

最佳答案

万一它对某人有帮助...

不过,此解决方案仅适用于 Windows,因为它是 Autohotkey脚本。

它改变了键,所以:
F7 ->“进入”F8 ->“跨过”F9 ->“运行”F10 ->“走出去”

#WinActivateForce
#InstallKeybdHook
#Persistent
#HotkeyInterval,100
#NoEnv
SetKeyDelay, –1
SendMode Input

$F7:: 
{
    if WinActive("ahk_classMozillaWindowClass")
    {  
        Send {F11}
        Return
    }
    Send {F7}
    Return
}

$F8:: 
{
    if WinActive("ahk_classMozillaWindowClass")
    {  
        Send {F10}
        Return
    }
    Send {F8}
    Return
}

$F9:: 
{
    if WinActive("ahk_classMozillaWindowClass")
    {  
        Send {F8}
        Return
    }
    Send {F9}
    Return
}

$F10:: 
{
    if WinActive("ahk_classMozillaWindowClass")
    {  
        Send {Shift down}{F11}{Shift up}
        Return
    }
    Send {F10}
    Return
}

我很确定这可以改进(我不是 Autohotkey 专家)。例如,F7 , F8 , F9F10在 Firefox 中, key 将随处更改,而不仅仅是在调试时!

如果有人有改进建议,我很感兴趣。

关于firefox - 更改 Firefox 开发者工具调试器键绑定(bind),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27703884/

相关文章:

Objective-C:聆听键盘快捷键并根据它们采取行动

HTML <template> 在 Firefox 中为空(devtools 和 document.importNode() 之后)

html - Chrome 或 FF 等同于 IE Debugger 的 Css Changes Summary?

firefox - 如何在Firefox DevTools的“检查器”选项卡中进行简单搜索?

javascript - Chrome 不会通过 WebRTC/Peer.js 播放 WebAudio getUserMedia

javascript - 检测 JS 中的所有 Firefox 版本

html - 使用 :after pseudo element after anchor element - browser differences

PyCharm:使用键盘在当前插入符上方或下方添加插入符不起作用

R - 日期和分界线的快捷方式,带# -----

javascript - 防止 YUI 中关键监听器的默认行为