Customize the workbench

You can customize the workbench to suit your individual development needs. For example, you can customize how items appear in the main toolbar, create keyboard shortcuts, or alter the fonts and colors of the user interface.

Display other workbench views

In addition to the editors and views associated with Flash Builder’s default development, debugging, and profiling perspectives, the workbench contains other views. These optional views are categorized by type and are associated with distinct workbench functionality or with specific Eclipse plug-ins.

To access views that are not already displayed with a perspective and add them to the workbench, select Window > Show View > Other.

These views include the Tasks, Bookmarks, and Search views that help you streamline the application development process.

After you add a view to the current perspective, you can save that view as part of the perspective. For more information, see Customize a perspective.

You can also create fast views to provide quick access to views that you use often. For more information, see Create and work with fast views.

Bookmarks view

The Bookmarks view is used to manage the bookmarks that you add to specific lines of code or to resources. As in a web browser, bookmarks are used as a convenience for tracking noteworthy items. Selecting a bookmark locates and displays it in the workbench.

Search view

The Search view is displayed automatically when you search the resources in the workspace. You can use it to define and recall previous searches and to filter the list of search results.

Rearrange the main toolbar

Flash Builder lets you rearrange sections of the main toolbar. Sections of the main toolbar are divided by a space.

  1. Ensure that the toolbar is unlocked. From the context menu for the toolbar, deselect Lock the Toolbars.

  2. Move the pointer over the vertical line “handle” that is on the left side of the toolbar section you want to rearrange.

  3. Click the handle and drag the section left, right, up, or down. Release the mouse button to place the section in the new location.

    To prevent accidental changes, lock the toolbar again from the toolbar context menu.

Change keyboard shortcuts

  1. Open the Preferences dialog and select General > Keys.

  2. In the View screen of the Keys dialog box, select the command you want to change.

  3. In the Binding field, type the new keyboard shortcut you want to bind to the command.

  4. In the When pop-up menu, select when you want the keyboard shortcut to be active.

  5. Click Apply or OK.

For a list of all keyboard shortcuts, go to Help > Key Assist

Change fonts and colors

By default, the workbench uses the fonts and colors that your computer’s operating system provides. However, you can customize fonts and colors in a number of ways.

  1. Open the Preferences dialog and select General > Appearance > Colors and Fonts.

  2. Expand the Basic, CVS, Debug, Text Compare, or View and Editor Folders categories to locate and select the font and colors to change.

    Note: You can also click Use System Font instead of Change to set the font to a reasonable value that the operating system chooses. For example, in Windows, selecting this option causes Flash Builder to use the font selected in the Windows Display Properties control panel.
  3. Set the font and color preferences as desired.

Control single and double-click behavior

You can control how the workbench responds to single and double-clicks.

  1. Open the Preferences dialog and select General.

  2. In the Open Mode section, make your selections and click OK.

Set workbench preferences

You can set preferences for many aspects of the workbench. For example, you can specify that Flash Builder prompts you for the workspace you want to use at startup, you can select which editor to use when opening certain types of resources, and you can set various options for running and debugging your applications.

Your Flash Builder preferences apply to the current workspace only. You can, however, export your workbench preferences and then import them into another workspace. This may be helpful if you are using multiple workspaces, or if you want to share your workbench preferences with other members of your development team.

You can also set preferences for individual projects within a workspace. For example, you can set separate compiler or debugging options for each of your Flex projects.

Set Flash Builder workbench preferences

  1. Open the Preferences window.

  2. Expand General and select any of the categories of workbench preferences and modify them as needed.

  3. Click OK.