FlexBuilder / Eclipse keyboard shortcuts that will change your life

  • 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.

About Mims H Wright

http://dispatchevent.org/wp-content/avatars/animemims.gif
This entry was posted in Flex, Tips, Tricks, and Hacks and tagged , , , , , , , , , . Bookmark the permalink.

9 Responses to FlexBuilder / Eclipse keyboard shortcuts that will change your life

  1. Erik says:

    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

  2. Mark Walters says:

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

  3. Mark Walters says:

    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

  4. Guy says:

    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…

  5. 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.

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

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

  8. david torres says:

    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

  9. Garry Schafer says:

    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?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

Spam Protection by WP-SpamFree