Archive for March 28th, 2009

28
Mar

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