Adobe Flex 3 Help

Code editing keyboard shortcuts

The following table contains a list of keyboard shortcuts that are useful when editing code.

For a complete list of available keyboard shortcuts, see Accessing keyboard shortcuts. For information about editing existing or creating new keyboard shortcuts, see Changing keyboard shortcuts.

Name

Keyboard shortcut

Description

Switch between Source and Design mode

Control+`(Left Quote)

Switches between the MXML editor's Source and Design modes.

Go to Documentation (Flex Builder plug-in)

Find in API Reference

(Flex Builder stand-alone)

Shift+F2

When you edit MXML or ActionScript, selecting a language element and pressing Shift+F2 displays language reference Help for the selected element. For more information, see Getting help while writing code.

Context-sensitive Help

F1 (Windows)

Command+Shift+/ (Mac OS)

Displays context-sensitive Help for the currently selected workbench element (editor, view, dialog box, and so on). For more information, see Using the Flex Builder help system.

Add Block Comment

Control+Shift+C (Windows)

Command+Shift+C (Mac OS)

Adds block comment formatting to the currently selected lines of code or adds a comment at the insertion point. For more information, see Adding comments and comment blocks.

Add CDATA

Control+Shift+D (Windows)

Command+Shift+D (Mac OS)

Adds a CDATA statement at the insertion point so that you can add ActionScript to an MXML document.

Find Matching Bracket

Control+Shift+P (Windows)

Command+Shift+P (Mac OS)

Moves the cursor to the matching bracket of the selected code statement.

Content Assist

Control+Space (Windows)

Command+Shift+Space (Mac OS)

Displays code hinting. For more information, see Using Content Assist.

Find All Declarations in Workspace

Control+G (Windows)

Command+G (Mac OS)

 

Finds declarations in your code base. See Finding references and refactoring code.

Find All References in Workspace

Control+Shift+G (Windows)

Command+Shift+G (Mac OS)

Finds references to identifiers in your code base. See Finding references and refactoring code

Go to Definition

F3

Open the source of an external code definition. For more information, see Opening code definitions.

Go to Line

Control+L (Windows)

Command+L (Mac OS)

Displays the Go to Line dialog box where you can enter a line number and navigate to it in the editor.

Last Edit Location

Control+Q (Windows)

Control+Q (Mac OS)

Highlights the last edited line of code.

Mark Occurrences

 

Marks every occurrence of the selected item in code.

Organize Imports

Control+Shift+O (Windows)

Command+Shift+O (Mac OS)

When editing ActionScript, using this keyboard shortcut alphabetizes any import statements contained in the document. For more information, see Organizing import statements.

Open Type

Control+Shift+T (Windows)

Command+Shift+T (Mac OS)

Quickly browse all class types. For more information, see Browsing and opening class types.

Open Resource

Control+Shift+R (Windows)

Command+Shift+R (Mac OS)

Displays the Open Resource dialog box where you can quickly search for and open a resource in the editor.

Quick Outline

Control+O (Windows and Mac OS)

 

Displays the Outline view in Quick mode in the editor. For more information, see Using Quick Outline view in the editor.