Keyboard and Mouse Shortcuts

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Replaced template by tables)
(Updated Command Line shortcuts)
(15 intermediate revisions not shown)
Line 1: Line 1:
Complete reference of the quickest ways to get things done in Firebug. You can also use duvet-dayz [http://duvet-dayz.com/firebug-cheatsheet/ Firebug Cheatsheet].
Complete reference of the quickest ways to get things done in Firebug. You can also use duvet-dayz [http://duvet-dayz.com/firebug-cheatsheet/ Firebug Cheatsheet].
 +
 +
You can change some of the shortcuts via ''[[Firebug Menu]] > Customize Shortcuts''.
See also [http://getfirebug.com/wiki/index.php/Accessibility#Key_Binding_Mechanism Keyboard shortcut re-binding]
See also [http://getfirebug.com/wiki/index.php/Accessibility#Key_Binding_Mechanism Keyboard shortcut re-binding]
Line 7: Line 9:
! style="width:30%;" | Description || style="width:20%;" | Window, Linux || style="width:20%;" | Mac OS || style="width:30%;" | Hint
! style="width:30%;" | Description || style="width:20%;" | Window, Linux || style="width:20%;" | Mac OS || style="width:30%;" | Hint
|-
|-
-
| Help || F1 || F1 || Starting from Firebug 1.7
+
| Help || F1 || F1 || Since Firebug 1.7
|-
|-
-
| Command History || Ctrl+H || ⌘+H || Starting from Firebug 1.7
+
| Command History || Ctrl+H || ⌘+H || Since Firebug 1.7
|-
|-
| Open Firebug Panel || F12 || F12 ||  
| Open Firebug Panel || F12 || F12 ||  
|-
|-
| Close Firebug Panel || F12 || F12 ||  
| Close Firebug Panel || F12 || F12 ||  
 +
|-
 +
| Deactivate Firebug || Shift+F12 || Shift+F12 ||
|-
|-
| Open Firebug in window || Ctrl+F12 || ⌘+F12 ||  
| Open Firebug in window || Ctrl+F12 || ⌘+F12 ||  
Line 19: Line 23:
| Switch to previous Panel || Ctrl+` || Ctrl+` ||  
| Switch to previous Panel || Ctrl+` || Ctrl+` ||  
|-
|-
-
| Focus Command Line || Ctrl+Shift+L || ⌘+Shift+L ||  
+
| Toggle [[Command Line|Command Line Popup]] || Ctrl+Shift+L || ⌘+Shift+L ||  
|-
|-
-
| Focus Search Box || Ctrl+Shift+K || ⌘+Shift+K ||
+
| Close [[Command Line|Command Line Popup]] || Esc || Esc ||
 +
|-
 +
| Focus Search Field || Ctrl+F || ⌘+F || Since Firebug 1.9.0, previously Ctrl/⌘+Shift+K
|-
|-
| Toggle Inspect Mode || Ctrl+Shift+C || ⌘+Shift+C ||  
| Toggle Inspect Mode || Ctrl+Shift+C || ⌘+Shift+C ||  
|-
|-
| Toggle JavaScript Profiler || Ctrl+Shift+P || ⌘+Shift+P ||  
| Toggle JavaScript Profiler || Ctrl+Shift+P || ⌘+Shift+P ||  
 +
|-
 +
| Customize Shortcuts || Ctrl+Shift+Alt+B || ⌘+Shift+Alt+B ||
|-
|-
| Re-execute last command || Ctrl+Shift+E || Ctrl+Shift+E ||  
| Re-execute last command || Ctrl+Shift+E || Ctrl+Shift+E ||  
|-
|-
-
| Increase text size || Ctrl+Alt++ or Ctrl+Alt+Mousewheel Up || ⌘+Shift++ or ⌘+Shift+Mousewheel up || Starting from Firebug 1.7.1
+
| Toggle [[Break On ...]] || Ctrl+Alt+B || ⌘+Alt+B || Since Firebug 1.10.0
 +
|-
 +
| Increase text size || Ctrl++ or Ctrl+Alt+Mousewheel up || ⌘++ or ⌘+Alt+Mousewheel up || Since Firebug 1.9.0, previously Ctrl/⌘+Alt++
|-
|-
-
| Decrease text size || Ctrl+Alt+- or Ctrl+Alt+Mousewheel Down || ⌘+Shift+- or ⌘+Shift+Mousewheel down || Starting from Firebug 1.7.1
+
| Decrease text size || Ctrl+- or Ctrl+Alt+Mousewheel down || ⌘+- or ⌘+Alt+Mousewheel down || Since Firebug 1.9.0, previously Ctrl/⌘+Alt+-
|-
|-
-
| Reset text size || Ctrl+Shift+Numpad 0 or Ctrl+Shift+Middle click || ⌘+Shift+Numpad 0 or ⌘+Shift+Middle click || Starting from Firebug 1.7.1
+
| Reset text size || Ctrl+0 or Ctrl+Alt+Middle click || ⌘+0 or ⌘+Alt+Middle click || Since Firebug 1.9.0, previously Ctrl/⌘+Shift+Numpad 0
|}
|}
Line 41: Line 51:
! style="width:30%;" | Description || style="width:20%;" | Window, Linux || style="width:20%;" | Mac OS || style="width:30%;" | Hint
! style="width:30%;" | Description || style="width:20%;" | Window, Linux || style="width:20%;" | Mac OS || style="width:30%;" | Hint
|-
|-
-
| Auto-complete next property || Tab || Tab ||  
+
| Focus [[Command Line]] || Ctrl+Shift+L || ⌘+Shift+L ||  
|-
|-
-
| Auto-complete previous property || Shift+Tab || Shift+Tab ||  
+
| Auto-complete property || Tab, Right Arrow or Return || Tab, Right Arrow or Return ||
 +
|-
 +
| Switch between completions || Up or Down Arrow || Up or Down Arrow ||
 +
|-
 +
| Cancel auto-completion || Escape || Escape ||  
|-
|-
| Execute || Return || Return ||  
| Execute || Return || Return ||  
|-
|-
-
| Inspect result || Shift+Return || Shift+Return ||  
+
| Inspect result in appropriate panel || Shift+Return || Shift+Return || See [[inspect]]
|-
|-
-
| Open result's context menu || Ctrl+Return || ⌘+Return ||  
+
| Show Completion List Popup || Ctrl+Space || ⌘+Space || Since Firebug 1.10.0
 +
|-
 +
| Select previous suggestion in Completion List Popup / <br/>Select previous command in history || Up || Up ||
 +
|-
 +
| Select next suggestion in Completion List Popup / <br/>Select next command in history || Down || Down ||
 +
|-
 +
| Select suggestion three positions above/below in Completion List Popup || Mouse wheel up/down || Mouse wheel up/down || Since Firebug 1.10.0
 +
|-
 +
| Select suggestion on the previous page in Completion List Popup || Page Up || Page Up || Since Firebug 1.10.0
 +
|-
 +
| Select suggestion on the next page in Completion List Popup || Page Down || Page Down || Since Firebug 1.10.0
 +
|-
 +
| Select first suggestion in Completion List Popup || Home || Home || Since Firebug 1.10.0
 +
|-
 +
| Select last suggestion in Completion List Popup || End || End || Since Firebug 1.10.0
|}
|}
Line 58: Line 86:
| Execute || Ctrl+Return || &#8984;+Return ||  
| Execute || Ctrl+Return || &#8984;+Return ||  
|}
|}
-
 
== HTML Panel ==
== HTML Panel ==
Line 111: Line 138:
| Edit value || Click on value || Click on value ||  
| Edit value || Click on value || Click on value ||  
|}
|}
-
 
=== Layout Editing ===
=== Layout Editing ===
Line 170: Line 196:
| Advance to previous Field || Shift+Tab || Shift+Tab ||  
| Advance to previous Field || Shift+Tab || Shift+Tab ||  
|-
|-
-
| Increase number by one || Up || Up ||  
+
| Increase number by 0.1|| Ctrl+Up || &#8984;+Up || Since Firebug 1.8
|-
|-
-
| Decrease number by one || Down || Down ||  
+
| Decrease number by 0.1 || Ctrl+Down || &#8984;+Down || Since Firebug 1.8
|-
|-
-
| Increase number by ten || Page Up || Page Up ||  
+
| Increase number by 1 || Up || Up ||  
|-
|-
-
| Decrease number by ten || Page Down || Page Down ||  
+
| Decrease number by 1 || Down || Down ||
 +
|-
 +
| Increase number by 10 || Shift+Up, Page Up || Shift+Up, Page Up || Since Firebug 1.8, previously just Page Up
 +
|-
 +
| Decrease number by 10 || Shift+Up, Page Down || Shift+Up, Page Down || Since Firebug 1.8, previously just Page Down
|-
|-
| Auto-complete next keyword || Up || Up ||  
| Auto-complete next keyword || Up || Up ||  
Line 186: Line 216:
{| class="light" style="width:100%; vertical-align:top;"
{| class="light" style="width:100%; vertical-align:top;"
! style="width:30%;" | Description || style="width:20%;" | Window, Linux || style="width:20%;" | Mac OS || style="width:30%;" | Hint
! style="width:30%;" | Description || style="width:20%;" | Window, Linux || style="width:20%;" | Mac OS || style="width:30%;" | Hint
 +
|-
 +
| Rerun || Shift+F8 || Shift+F8 || Since Firebug 1.9.0
|-
|-
| Continue || F8 || F8 ||  
| Continue || F8 || F8 ||  
-
|-
 
-
| &nbsp; || Ctrl+/ || &#8984;+/ ||
 
|-
|-
| Step Over || F10 || F10 ||  
| Step Over || F10 || F10 ||  
-
|-
 
-
| &nbsp; || Ctrl+' || &#8984;+' ||
 
|-
|-
| Step Into || F11 || F11 ||  
| Step Into || F11 || F11 ||  
-
|-
 
-
| &nbsp; || Ctrl+; || &#8984;+; ||
 
|-
|-
| Step Out || Shift+F11 || Shift+F11 ||  
| Step Out || Shift+F11 || Shift+F11 ||  
-
|-
 
-
| &nbsp; || Ctrl+Shift+; || &#8984;+Shift+; ||
 
|-
|-
| Toggle breakpoint || Click on line number || Click on line number ||  
| Toggle breakpoint || Click on line number || Click on line number ||  
Line 209: Line 233:
| Edit breakpoint condition || Right-Click on line number || Right-Click on line number ||  
| Edit breakpoint condition || Right-Click on line number || Right-Click on line number ||  
|-
|-
-
| Run to line || Middle-Click on line number || Middle-Click on line number ||  
+
| Run to line || Middle-Click on line number, Ctrl+Click on line number || Middle-Click on line number, &#8984;+Click on line number ||  
-
|-
+
-
| &nbsp; || Ctrl+Click on line number || &#8984;+Click on line number ||  
+
|-
|-
| Next function on stack || Ctrl+. || Ctrl+. ||  
| Next function on stack || Ctrl+. || Ctrl+. ||  
Line 220: Line 242:
|-
|-
| Focus Watch Side Panel || Ctrl+Shift+N || &#8984;+Shift+N ||  
| Focus Watch Side Panel || Ctrl+Shift+N || &#8984;+Shift+N ||  
 +
|-
 +
| Go to line number || Ctrl+L || &#8984;+L ||
|}
|}
Line 230: Line 254:
| Cancel editing || Esc || Esc ||  
| Cancel editing || Esc || Esc ||  
|-
|-
-
| Auto-complete next property || Tab || Tab ||  
+
| Auto-complete property || Tab || Tab || Since Firebug 1.10; behaves like the command line
-
|-
+
-
| Auto-complete previous property || Shift+Tab || Shift+Tab ||
+
|}
|}
Line 240: Line 262:
|-
|-
| Edit property || Double-Click on empty space || Double-Click on empty space ||  
| Edit property || Double-Click on empty space || Double-Click on empty space ||  
 +
|-
 +
| Finish editing || Return || Return ||
 +
|-
 +
| Cancel editing || Esc || Esc ||
|-
|-
| Next object in path || Ctrl+. || Ctrl+. ||  
| Next object in path || Ctrl+. || Ctrl+. ||  

Revision as of 12:39, 17 July 2012

Complete reference of the quickest ways to get things done in Firebug. You can also use duvet-dayz Firebug Cheatsheet.

You can change some of the shortcuts via Firebug Menu > Customize Shortcuts.

See also Keyboard shortcut re-binding

Contents

Global

Description Window, Linux Mac OS Hint
Help F1 F1 Since Firebug 1.7
Command History Ctrl+H ⌘+H Since Firebug 1.7
Open Firebug Panel F12 F12
Close Firebug Panel F12 F12
Deactivate Firebug Shift+F12 Shift+F12
Open Firebug in window Ctrl+F12 ⌘+F12
Switch to previous Panel Ctrl+` Ctrl+`
Toggle Command Line Popup Ctrl+Shift+L ⌘+Shift+L
Close Command Line Popup Esc Esc
Focus Search Field Ctrl+F ⌘+F Since Firebug 1.9.0, previously Ctrl/⌘+Shift+K
Toggle Inspect Mode Ctrl+Shift+C ⌘+Shift+C
Toggle JavaScript Profiler Ctrl+Shift+P ⌘+Shift+P
Customize Shortcuts Ctrl+Shift+Alt+B ⌘+Shift+Alt+B
Re-execute last command Ctrl+Shift+E Ctrl+Shift+E
Toggle Break On ... Ctrl+Alt+B ⌘+Alt+B Since Firebug 1.10.0
Increase text size Ctrl++ or Ctrl+Alt+Mousewheel up ⌘++ or ⌘+Alt+Mousewheel up Since Firebug 1.9.0, previously Ctrl/⌘+Alt++
Decrease text size Ctrl+- or Ctrl+Alt+Mousewheel down ⌘+- or ⌘+Alt+Mousewheel down Since Firebug 1.9.0, previously Ctrl/⌘+Alt+-
Reset text size Ctrl+0 or Ctrl+Alt+Middle click ⌘+0 or ⌘+Alt+Middle click Since Firebug 1.9.0, previously Ctrl/⌘+Shift+Numpad 0

Console Panel

Command Line

Description Window, Linux Mac OS Hint
Focus Command Line Ctrl+Shift+L ⌘+Shift+L
Auto-complete property Tab, Right Arrow or Return Tab, Right Arrow or Return
Switch between completions Up or Down Arrow Up or Down Arrow
Cancel auto-completion Escape Escape
Execute Return Return
Inspect result in appropriate panel Shift+Return Shift+Return See inspect
Show Completion List Popup Ctrl+Space ⌘+Space Since Firebug 1.10.0
Select previous suggestion in Completion List Popup /
Select previous command in history
Up Up
Select next suggestion in Completion List Popup /
Select next command in history
Down Down
Select suggestion three positions above/below in Completion List Popup Mouse wheel up/down Mouse wheel up/down Since Firebug 1.10.0
Select suggestion on the previous page in Completion List Popup Page Up Page Up Since Firebug 1.10.0
Select suggestion on the next page in Completion List Popup Page Down Page Down Since Firebug 1.10.0
Select first suggestion in Completion List Popup Home Home Since Firebug 1.10.0
Select last suggestion in Completion List Popup End End Since Firebug 1.10.0

Command Editor

Description Window, Linux Mac OS Hint
Execute Ctrl+Return ⌘+Return

HTML Panel

Description Window, Linux Mac OS Hint
Edit attribute Click on name or value Click on name or value
Edit text node Click on text Click on text
Edit element Double-Click tag name Double-Click tag name
Next node in path Ctrl+. Ctrl+.
Previous node in path Ctrl+, Ctrl+,

HTML Editor

Description Window, Linux Mac OS Hint
Finish editing Return Return
Cancel editing Esc Esc
Advance to next field Tab Tab
Advance to previous field Shift+Tab Shift+Tab

HTML Inspect Mode

Description Window, Linux Mac OS Hint
Inspect Element Ctrl+Shift+C ⌘+Shift+C
Cancel inspection Esc Esc
  Ctrl+Shift+C ⌘+Shift+C
Inspect parent Ctrl+Up ⌘+Up
Inspect child Ctrl+Down ⌘+Down
Toggle Quick Info Box Ctrl+Shift+I ⌘+Shift+I

Layout Side Panel

Description Window, Linux Mac OS Hint
Edit value Click on value Click on value

Layout Editing

Description Window, Linux Mac OS Hint
Finish editing Return Return
Cancel editing Esc Esc
Advance to next field Tab Tab
Advance to previous field Shift+Tab Shift+Tab
Increase number by one Up Up
Decrease number by one Down Down
Increase number by ten Page Up Page Up
Decrease number by ten Page Down Page Down

DOM Side Panel

Description Window, Linux Mac OS Hint
Finish editing Return Return
Cancel editing Esc Esc
Auto-complete next property Tab Tab
Auto-complete previous property Shift+Tab Shift+Tab

CSS Panel

Description Window, Linux Mac OS Hint
Edit property Click on property Click on property
Insert new property Double-Click on white-space Double-Click on white-space
Focus CSS Location Menu Ctrl+Space ⌘+Shift+Space

CSS Editing

Description Window, Linux Mac OS Hint
Finish editing Return Return
Cancel editing Esc Esc
Advance to next Field Tab Tab
Advance to previous Field Shift+Tab Shift+Tab
Increase number by 0.1 Ctrl+Up ⌘+Up Since Firebug 1.8
Decrease number by 0.1 Ctrl+Down ⌘+Down Since Firebug 1.8
Increase number by 1 Up Up
Decrease number by 1 Down Down
Increase number by 10 Shift+Up, Page Up Shift+Up, Page Up Since Firebug 1.8, previously just Page Up
Decrease number by 10 Shift+Up, Page Down Shift+Up, Page Down Since Firebug 1.8, previously just Page Down
Auto-complete next keyword Up Up
Auto-complete previous keyword Down Down

Script Panel

Description Window, Linux Mac OS Hint
Rerun Shift+F8 Shift+F8 Since Firebug 1.9.0
Continue F8 F8
Step Over F10 F10
Step Into F11 F11
Step Out Shift+F11 Shift+F11
Toggle breakpoint Click on line number Click on line number
Disable breakpoint Shift+Click on line number Shift+Click on line number
Edit breakpoint condition Right-Click on line number Right-Click on line number
Run to line Middle-Click on line number, Ctrl+Click on line number Middle-Click on line number, ⌘+Click on line number
Next function on stack Ctrl+. Ctrl+.
Previous function on stack Ctrl+, Ctrl+,
Focus Scripts Location Menu Ctrl+Space ⌘+Shift+Space
Focus Watch Side Panel Ctrl+Shift+N ⌘+Shift+N
Go to line number Ctrl+L ⌘+L

Watch Side Panel

Description Window, Linux Mac OS Hint
Finish editing Return Return
Cancel editing Esc Esc
Auto-complete property Tab Tab Since Firebug 1.10; behaves like the command line

DOM Panel

Description Window, Linux Mac OS Hint
Edit property Double-Click on empty space Double-Click on empty space
Finish editing Return Return
Cancel editing Esc Esc
Next object in path Ctrl+. Ctrl+.
Previous object in path Ctrl+, Ctrl+,
Personal tools