FlexBuilder / Eclipse keyboard shortcuts that will change your life

by

  • Control + O = Open an outline of functions within the current class to jump to.
  • Command + Shift + T = Jump to a type (class or interface). Only works when an .as or .mxml file is open.
  • Command + Shift + R = Jump to a resource. Includes classes and any other files (such as XML files)
  • Command + L = Jump to a line number
  • Command + Shift + C = Wrap / Unwrap selected text in a block comment (/* */)
  • Command + Shift + / = Comment / uncomment the selected line using  an inline comment (//)
  • Command + Shift + D = Add ASDoc style comment
  • Command + D = Delete the selected text
  • Command + UP = Move the selected up
  • Command + DOWN = Move the selected text down
  • Command + Option + UP or DOWN = Duplicate the selected text above or below the selected line
  • Command + X = Make selected text ALL CAPS
  • Command + Y = Make selected text all lowercase
  • Command + Shift + R = Rename selected element (using refactor)
  • Command + M = Maximize / Minimize current view
  • Control + Tab = Jump to an open file editor
  • Command + Shift + L = Keyboard command list. Press it again to edit commands.
  • Command + F = Find / Replace dialog.
  • Command + Shift + G = Find any references to the selected element within your project
  • Command + Click or F3 = Jump to the definition of the selected element
  • Command + J = Find within document. Type the word you want to find then use up and down to skip between instances. Press ESC to cancel.
  • Command + Shift + P = Jump to matching bracket. e.g. jump from } to {
  • Control + H = Search (rather than find) allows you to search within the entire workspace.
  • Tab / Shift + Tab = Indent / Un-indent selected text.
  • Command + Option + Left / Right = Jumps to the location of the previous / next edit without undoing your change.
Tagged , , , , , , , , ,
  • Erik

    I am not sure if it’s the same on the Mac, but the following are nice aswell:

    Command + E = Switch between open editor (or tab)
    Command + K = Jump to next occurrence of selected text

    Greetz Erik

  • http://yourpalmark.com Mark Walters

    Command + Shift + F = Find / Replace through entire project or working set.
    Command + Shift + K = Jump to previous occurrence of selected text

  • http://yourpalmark.com Mark Walters

    Noticed a couple of differences running through all of the commands, not sure if its just me or if the following are the correct shortcuts:

    Command + / = Comment / uncomment the selected line using an inline comment (//)
    Option + UP = Move the selected line up
    Option + DOWN = Move the selected line down
    Command + Shift + X = Make selected text ALL CAPS
    Command + Shift + Y = Make selected text all lowercase
    Command + Shift + F = Search (rather than find) allows you to search within the entire workspace

    … and the following are the correct descriptions:

    Command + Shift + D = Add ASDoc style comment in .as file and CDATA tags in .mxml file
    Command + D = Delete the text on the selected line

  • http://dropchop.tumblr.com Guy

    Any idea how to Fold / UnFold the current function?

    How about folding / unfolding all functions?

    (at least on my machine, the keyboard shortcuts for these – cmd + numpad / do not work)

    I would love some help…

  • http://onedayitwillmake.com onedayitwillmake

    Could you make an attached printable text file or whatever out of this posting.

    It’s pretty great, I know you could copy paste (and i have), but i think it would benefit others plus if you have new additions.

  • http://mimswright.com Mims H Wright

    I’ve seen a couple of changes in Gumbo, most notably COMMAND + O instead of CONTROL + O to see a list of definitions.

  • Pingback: RBLAB » Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 5 – Keyboard Shortcuts - Blog of Riccardo Bartoli on Flash and Actionscript

  • http://davidengineer.com david torres

    Really cool stuff, thanks for the post! I found a few differences in the windows platform (have to use it at work!) … here’s the list of shortcuts for windows:

    • Control + O = Open an outline of functions within the current class to jump to.
    • Control + Shift + T = Jump to a type (class or interface). Only works when an .as or .mxml file is open.
    • Control + Shift + R = Jump to a resource. Includes classes and any other files (such as XML files)
    • Control + L = Jump to a line number
    • Control + Shift + C = Wrap / Unwrap selected text in a block comment (/* */)
    • Control + / = Comment / uncomment the selected line using an inline comment (//)
    • Control + Shift + D = Add ASDoc style comment
    • Control + D = Delete the selected text
    • Alt + UP = Move the selected up
    • Alt + DOWN = Move the selected text down
    • Control + Alt + UP or DOWN = Duplicate the selected text above or below the selected line
    • Control + Shift + X = Make selected text ALL CAPS
    • Control + Shift + Y = Make selected text all lowercase
    • Control + Alt + R = Rename selected element (using refactor)
    • Control + M = Maximize / Minimize current view
    • Control + Tab = Jump to an open file editor
    • Control + Shift + L = Keyboard command list. Press it again to edit commands.
    • Control + F = Find / Replace dialog.
    • Control + Shift + G = Find any references to the selected element within your project
    • Control + Click or F3 = Jump to the definition of the selected element
    • Control + J = Find within document. Type the word you want to find then use up and down to skip between instances. Press ESC to cancel.
    • Control + Shift + P = Jump to matching bracket. e.g. jump from } to {
    • Control + H = Search (rather than find) allows you to search within the entire workspace.
    • Tab / Shift + Tab = Indent / Un-indent selected text.
    • Alt + Left / Right = Jumps to the location of the previous / next edit without undoing your change.
    • Control + E = Switch between open editor (or tab)
    • Control + K = Jump to next occurrence of selected text

  • Garry Schafer

    I’m curious – I’ve got both but in FB tab autocompletes, but in eclipse it seems to actually tab away.. how to fix that?