New and Updated Keyboard Shortcuts

Posts about Eclipse or Flex Builder 3 keyboard shortcuts are pretty easy to find. Here’s some inside info on keyboard shortcuts that are new and/or updated in Flash Builder 4. As usual, replace CTRL with CMD on Mac.

  • Updated CTRL + SHIFT + G, Find All References
    Find all references to the selected identifier. Works in ActionScript and MXML editors. In FB4, the shortcut now works from files in the Package Explorer.
  • Updated CTRL + SHIFT + T, Open Type
    Opens the Open Type dialog to quickly find classes and interfaces in the current project. In FB4, the shortcut now works when the Package Explorer is the active view.
  • Updated CTRL + SHIFT + O, Organize Imports
    Sorts imports and removes unused imports. In FB4, this shortcut now organizes imports in MXML Script blocks.
  • New CTRL + \ and CTRL + SHIFT + \, Next and Previous State
    Flex 4 states visualization in the MXML editor is new in FB4. These actions are also in the navigate menu. This allows you to gray-out code that isn’t in a particular state. See my article on the Flex Developer Center for more information.
  • New CTRL + I, Correct Indentation
    When writing code indentation is applied automatically after a newline. When pasting code, indentation is automatically corrected. However, there are some cases where indentation isn’t right (e.g. a downloaded file) and you want to fix it manually. You can press CTRL + I to correct indentation on the current line or if you have a text selection, indentation will be fixed for all the lines selected.
  • New CTRL + ALT + H, Call Hierarchy (exception, this is not CMD on Mac)
    Opens the Call Hierarchy view. Displays all functions that call and/or reference the selected identifier.
  • CTRL + 3, Quick Access
    Quick Access is by far the most useful Eclipse shortcut. It displays a pop-up dialog that allows you to search all available commands in the current context. If you don’t know if a command exists, or if it’s buried deep in a preference page, use Quick Access to find it. For example, if you type “sdk” you can jump to the Installed Flex SDKs preference page. If you type “asdoc”, you can quickly activate the ASDoc view.
Share on Facebook