Command Line

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Added the Command Editor to the description and wrote the Command Line with initials according to the Firebug Terminology)
m
Line 1: Line 1:
The Command Line appears along the bottom of the [[Console Panel]] (small)[[File:ConsoleCommandLineSmall.PNG|thumb|400px|Small Command Line‎]]  
The Command Line appears along the bottom of the [[Console Panel]] (small)[[File:ConsoleCommandLineSmall.PNG|thumb|400px|Small Command Line‎]]  
-
or as Command Editor in the Side Panel on the right (large)[[File:ConsoleCommandLineLarge.PNG‎|thumb|400px|Large Command Line]]. The red arrow in the lower right corner toggles between small and large.  
+
or as Command Editor in the Side Panel on the right (large)[[File:ConsoleCommandLineLarge.PNG‎|thumb|400px|Large Command Line (Command Editor)]]. The red arrow in the lower right corner toggles between small and large.  
The small Command Line supports auto-completion using the Tab key. For example, typing 'w' followed by Tab repeatedly will cycle through all global variables starting with the letter 'w'.
The small Command Line supports auto-completion using the Tab key. For example, typing 'w' followed by Tab repeatedly will cycle through all global variables starting with the letter 'w'.

Revision as of 19:51, 5 June 2010

The Command Line appears along the bottom of the Console Panel (small)
Small Command Line‎
or as Command Editor in the Side Panel on the right (large)
Large Command Line (Command Editor)
. The red arrow in the lower right corner toggles between small and large.

The small Command Line supports auto-completion using the Tab key. For example, typing 'w' followed by Tab repeatedly will cycle through all global variables starting with the letter 'w'.

In general the Command Line evaluates whatever expression you type in. It can be a single variable or a complete Javascript program. The evaluation is done by passing the Command Line text into the page, calling eval() on it and passing back the result.

The Command Line also supports the Command Line API, a set of special purpose commands.

Personal tools