IDE Insight

From RAD Studio

Go Up to Search Menu

Search > IDE Insight

IDE Insight: Search box and Results window
IDE Insight: Search box and Results window

You can also open the IDE Insight search box by pressing either F6 or Ctrl+. (that is, Ctrl+period).

The IDE Insight feature provides a search box, located on the upper-right corner of the IDE, that you can use to perform a filtered incremental search through the elements of the IDE (in specific categories. As you write your search terms in the search box, a window pops up displaying matching IDE elements, grouped by category).

Using IDE Insight you can find and immediately invoke or open any of a number of items derived from your current context. See also Finding Items Using IDE Insight.

IDE Insight Search Box

The IDE Insight search box displays your search string as you type, while the pop-up window displays all the matching items in every category that contains matching items.

You can enter multiple search terms. For example, 'abc' matches items that contain 'abc' anywhere, and 'abc def' matches any item that contains both 'abc' and 'def'.

You can use simple wildcards: * and ? have the standard Windows file-system wildcard meanings. Regular expressions are not used.

You can press Esc to take the focus out of the IDE Insight search box, if the search box is empty. When you take the focus out of the IDE Insight search box, the focus goes back to the control that had the focus before the IDE Insight search box took it.

When the search box has text and you need to do a new search, focus the search box and the text will be selected so you can overwrite it.

No Matches Found

If no items match the search string, IDE Insight displays the No Matches Found dialog.

If the search box contains text, the dialog displays No results for... and Try another keyword or check spelling.

If the search box is empty, the dialog displays No results and Type to search the entire IDE.

IDE Insight Pop-up Window

IDE Insight displays a pop-up window when there are matching items for the string that you type in the search box. The pop-up window shows as many matching items as fit on your screen.

You can navigate the displayed items using the Up and Down arrow keys. You can use the Page Up and Page Down keys to navigate to the first and last items, respectively.

IDE Insight groups matching items by category. The category is displayed right-aligned next to the first matching item. Additional matching items in the same category are displayed below the first matching item.

As you type the name of an item in the search field, only the categories that contain matching items are displayed.

IDE Insight Customization

Tools > Options > User Interface > IDE Insight

This page allows you to select your preferred IDE Insight experience.

Item Description

Interface Style

Specifies the interface that IDE Insight uses.

The available options are:

  • Classic - Use the search control hosted in the IDE title bar: Uses the search control in the IDE title bar.
  • Modern - Use the embedded search interface: Uses the embedded IDE Insight search interface.

Popup Location

Specifies where IDE Insight displays the search interface when the Modern - Use the embedded search interface option is selected.

The available options are:

  • Title Bar Search: Opens the search interface from the IDE title bar.
  • Centered in Active Editor: Opens the search interface centered in the active editor.

Enable Transparency

Enables transparency for the IDE Insight interface.

Categories in IDE Insight

IDE Insight can search in the following categories of IDE elements (your current context determines the categories that are displayed):

Category Description When You Select an Item

Code templates

Lists the matching code templates that are available (the Code Editor must be active).

Inserts the selected code template at the cursor position in the editor.

Commands (listed in alphabetical order without menu names)

Lists the matching menu commands that are available based on your current context in the IDE.

Performs the selected command.

Component Palette

Lists the matching components that are currently available on the Tool Palette and its alternative form, the Component Toolbar (the Form Designer must be active).

Drops the selected component onto the currently selected component of the Form Designer.

Components

Lists all matching components on the current form (the Form Designer must be active.)

Activates the selected component.

Project Options

Lists matching pages and individual options in Project > Options for both Delphi and C++Builder.

Opens either the selected page or the page containing the selected option on the Project > Options dialog box for the active project.

Desktop SpeedSettings

Lists matching names of default and saved desktop layouts.

Loads the selected desktop speedsettings.

Files

Lists matching source files in all open projects.

Opens the selected file in the editor (see View > Units)

Forms

Lists forms and data modules (in all open projects) whose names match the search string.

Opens the selected form/data module in the Form Designer (see View > Forms).

New Items

Lists the matching Gallery items that are available based on your current IDE context (see File > New > Other).

Opens the selected Gallery item, such as Multi-Device Application.

Object Inspector

Lists matching object properties that are currently displayed in the Object Inspector.

Selects the property in the Object Inspector for editing.

Open Files

Lists matching files that are currently open in the editor.

Activates the selected editor tab.

Projects

Lists matching projects that are currently open in the Projects Window.

Activates the selected project.

Preferences

Lists matching pages in the Tools > Options dialog box.

Opens the selected page.

Recent Files

Lists matching files that were recently open in the Code Editor.

Re-opens the selected file.

Recent Projects

Lists matching projects and project groups that were recently open in the IDE.

Closes the current project group and opens the selected project or group.


If the Form Designer is visible in the IDE, IDE Insight lists components that match the search string. Similarly, if the Code Editor is visible, IDE Insight includes live template items.

Note:
The IDE Insight pop-up window immediately closes if you click anywhere outside the pop-up window.

See Also