28
Mar
09

Finally… Flex Builder shortcut cheat sheet for Mac OS

I was looking for a quick reference or cheat sheet card to print that includes all the shortcuts that are available for Mac OS and although I found many for PC there is nothing for Mac, so I created one myself.

All the available shortcuts are split into different categories and include the most useful shortcuts that exist. The complete list of the entire shortcut list is available using the key assist (Command+Shift+L).

You can download a one page PDF version from here and print to place it next to your desk or keep this page on your bookmark for future reference. In case I forget any important ones please feel free to drop a line.

Category

Type

Shortcut

Comments

Add Comments

Shift+Command+D

 

Comment Selected Code

Command+/

History

Backward History

Command+[

 

Forward History

Command+]

File

Build All

Command+B

 

Save

Command + S

 

Close

Command+W

 

Close All

Command+Shift+W

 

New Menu

Option + Command + N

 

New File

Command + N

 

Compile and Run

Shift + Command + F11

Edit text

Copy

Command+C

 

Copy Selected Lines Above

Option+Command+ Up Arrow

 

Copy Selected Lines Below

Option+Command+ Down Arrow

 

Paste

Command + V

 

Cut

Command+X

 

Delete

Delete

 

Delete Line

Command+Delete

 

Delete Next Word

Option+Small Delete

 

Delete Previous Word

Option+Large Delete

 

Delete to the end of the line

Shift+Command+Small delete

 

Redo

Command + Y

 

Insert line above

Command + Shift + Enter

 

Move selected lines Up

Option + Up Arrow

 

Move selected lines down

Option + Down Arrow

 

Duplicate lines

Command + Option + Arrow down

 

Optimize imports

Command + Shift + O

 

Select all

Command + A

 

Select Line end

Shift + Command + right arrow

 

Select Next word

Shift + Command + right arrow

 

Select Previous word

Shift + Command + left arrow

 

Select Text End

Shift + Page down

 

Select Text Start

Shift + Page up

 

Select everything to the left

Command + Shift + left arrow

 

Select everything to the right

Command + Shift + right arrow

 

Last edit location

Control + Q

 

To Lower case

Shift + Command + Y

 

To Upper case

Shift + Command + X

 

Toggle block comment

Shift + Command + C

 

Toggle breakpoint

Shift + Command + B

 

Word completion

Control + Space

 

Undo

Control + Z

Search/Find

Find all declaration – select expression first.

Command + G

 

Find all References in Workspace – select expression first.

Shift + Command + G

 

Find next – select expression first

Command + K

 

Find Previous

Shift + Command + K

 

Find Text in Workspace

Option + Command + G

 

Find and Replace

Command + F

 

File Search

Command + Shift + F

 

Goto definition – Step into

F3 or Command + Enter

 

Go to Line number

Command + L

 

Go to matching bracket

Command + Shift + P

 

Line end

Command + Right arrow

 

Line start

Command + Left arrow

 

Open resource

Command + Shift + R

 

Open class types window

Command + Shift + T

 

Previous/Next word

Option + right arrow/left arrow

Views/Editors

Maximize view

Command + M

 

Next Editor

Command + F6

 

Previous Editor

Shift + Command + F6

 

Next Prospective

Command + F8

 

Previous Prospective

Shift + Command + F8

 

Previous View

Shift + Command + F7

 

Next View

Command + F7

 

Dynamic Help

Command + Shift + ?

 

Properties

Option + Enter

 

Quick access

Command + 3

 

Quick Switch Editor

Command + E

 

Refresh

F5

 

Show Key assist

Command + Shift + L

 

Ruler Context Menu

Command + F10

 

Show system menu

Shift + Command + F10

 

Switch to Editor

Shift + Command + E


10 Responses to “Finally… Flex Builder shortcut cheat sheet for Mac OS”


  1. 1 Steve Heintz Mar 28th, 2009 at 6:42 pm

    Great list

    We’re thinking a lot about keyboard shortcuts these days. Are there any on the FB list that don’t make sense to you… don’t align well with other Adobe tools you use, or don’t align well to expected system behavior?

    -Steven Heintz
    Adobe

  2. 2 Myo Mar 29th, 2009 at 11:58 am

    I couldn’t find very useful command Ctrl O (give you a quick outline of the current file) in the list.

    For SteveH, it would really be nice if we can consistently use Command or Ctrl key. For example on windows, we can use Ctrl Shift R for resources and Ctrl O for outline view. On Mac, for resource we need to switch Ctrl to Command, but not for outline view.

    All and all, this is a good list. Another tip is you can use Command Shift L to have a glance all the shortcut inside Eclipse.

    Cheers,
    Myo (http://myot.ca)

  3. 3 elad.ny Mar 30th, 2009 at 10:58 am

    I did noticed that some shortcuts collide (many related to the F1-F12 keys) with the Mac OS and some are just not applicable to Flex, unfortunately I didn’t keep track of the shortcuts that didn’t work.

    In general I think that Flex Builder have gone a long way and improved the experience in Eclipse, but it is not yet as rich as some of the other plugins such as the Java plugin or Aptana.

    Here’s couple of additional improvement I suggest:

    1. I think that in Flex 4 it would be nice to add the unit testing shortcuts, I have used the FlexUnit plugin that was added to Gumbo, it would be nice to have “Run FlexUnit test unit”.

    2. I often create automated ant task and include the option to add a header templates like this:

    /*

    Copyright (c) 2009 Company, Inc., All Rights Reserved

    @author AuthorName
    @contact EmailAddress
    @project ProjectName

    @internal

    */

    It would be great to be able to create templates for each ActionScript class that we create in Flex.

    3. One shortcut that do come in my mind that I would change is the shortcut for “Debug and run Flex/AIR application” - would be nice to match to Flash Professional :)

    Although we can change them ourselves in Eclipse, it would be nice to have that “out of the box” with these settings.

  4. 4 Mark Fitzpatrick Apr 27th, 2009 at 11:49 am

    Very Nice. Thanks! For some shortcuts the command key doesn’t work (Dynamic Help)… don’t know why and others it worked fine (Compile and Run). No biggie… just having the list hand is a bonus.

  5. 5 Dissertation Writing Service Aug 25th, 2009 at 2:23 am

    I find this information very useful. Great work! We study this article on the regular basis :-). And we recommend this to every body.

  6. 6 Nancy Nguyen Sep 17th, 2009 at 2:02 pm

    I am so glad you put this list together! I have been searching for a list like this and the only ones that i come across are for PC’s.

    BTW- to take a screen shot is
    Command shift 4
    then move your mouse to take your picture

  7. 7 Nicolás Parziale Nov 11th, 2009 at 11:55 am

    Thank you very much for this post.

  1. 1 soon™ » Blog Archive » Flex Builder Tips & Tricks Pingback on Mar 28th, 2009 at 11:30 pm
  2. 2 Powerflasher Blog » Lesenswert Pingback on Jul 30th, 2009 at 5:52 am
  3. 3 Flash Builder & CS4 Keyboard Shortcut Cheat Sheets | DestroyYourComputer.com | Blog - Interactive Design Agency Pingback on Oct 4th, 2009 at 11:43 am