Search Field

From FirebugWiki

Jump to: navigation, search
Search Field

The Search Field is used for finding expressions inside the currently active panel. It is placed on the upper right side of the Firebug window.

To use it you can simply click into it. There's also the possibility to use a shortcut (default: Ctrl+Shift+K resp. ⌘+Shift+K on Mac OS).

When the given expression is found inside the panel contents the panel automatically scrolls to the match (if needed) and the match is highlighted. By hitting Enter you can jump to the next appearance of the entered search string. If there are no matches for the search string, the Search Field's background turns red to clearly indicate this.

[edit] Special Features

Inside the Script Panel the Search Field also offers the possibility to go to a specific line. Therefore you just need to enter a hash sign (#) plus the line number. Starting from Firebug 1.7 you can also use the shortcut Ctrl+L (⌘+L on Mac OS), which automatically adds the hash sign for you and sets the focus to the Search Field, so you just have to enter the line number. The panel immediatelly jumps to the given line without the need to hit Enter.

[edit] Options

Depending on the panel there are different options available for your search:

Option Available in Description
Force Case Sensitive All panels Enables case sensitivity while searching
Multiple Files CSS Panel, Script Panel Specifies whether to search the entered search string in all avaible files or just in the currently selected one
Use Regular Expression CSS Panel, Script Panel, Net Panel Specifies whether the entered search string shall be interpreted as regular expression
Response Bodies Net Panel Enables searching inside the response bodies of the different Net Panel requests
Personal tools