customize chrome developer tool javascript debugger keyboard shortcuts?

后端 未结 10 994
野趣味
野趣味 2020-12-05 06:02

I can\'t believe that neither a Google or SO search has turned up a definitive answer or even much discussion for this, but:

Is it possible to edit/customize keyboar

10条回答
  •  借酒劲吻你
    2020-12-05 06:59

    Inspired by @jcollum's answer, here is yet another Karabiner private.xml definition, this one implementing the specific Eclipse key bindings in the original question. See also keyboard shortcut toggling answer on apple.stackexchange.com.

    
    
      
        Custom via private.xml
    
        
          ChromeLike
          com.google.Chrome
          com.vivaldi.Vivaldi
          org.epichrome.app.
        
        
          Remap debugger keys in Chrome (Eclipse)
          Change consumer keys to function keys matching Eclipse shortcuts
          private.app_chromelike_switch_consumer_to_eclipse_debugger
          ChromeLike
          __KeyToKey__ ConsumerKeyCode::KEYBOARDLIGHT_LOW,  ModifierFlag::NONE, KeyCode::F11 
          __KeyToKey__ ConsumerKeyCode::KEYBOARDLIGHT_HIGH, ModifierFlag::NONE, KeyCode::F10 
          __KeyToKey__ ConsumerKeyCode::MUSIC_PREV, ModifierFlag::NONE, KeyCode::F11, ModifierFlag::SHIFT_L 
          __KeyToKey__ ConsumerKeyCode::MUSIC_PLAY, ModifierFlag::NONE, KeyCode::F8 
        
    
      
    
    

提交回复
热议问题