Saturday, March 13, 2010

Eclipse - Flash Builder 4 Shortcuts

Probably much of you power eclipse users know this already but I thought to revisit and write some command keyboard shortcuts that are very useful for me. Some of you may discover something that you were missing. Ok here we go.

CTR+3
  • easy navigate to all IDE features
  • you can type whatever you want eg ("Generate getters", "Toggle ASDoc Comments", "Whitespace", "Join lines" etc)
  • play around it and see that how cool this is
CTRL+SHIFT+R
  • Opens Resources (all files inside your projects can be found with this)
CTRL+SHIFT+T
  • Opens Types
  • supports CamelCase (eg. you can type AB and this will find all classes which have AsomethingBsomething)
CTRL+O
  • Quick Outline (gives you fast overview of the class with all of its members)
CTRL+ALT+H
  • Open Hierarchy - easily see from where are your methods called
  • stop on a method name and play around
  • works inside Flex SDK as well!!!
CTRL+I
  • Correct Indentation - select a portion or complete file and press CTRL+I
CTRL+Q
  • Go to last edit
CTRL+E
  • List open editors
CTRL+TAB, CTRL+SHIFT+TAB, CTRL+PgUp, CTRL+PgDn
  • Shuffle through open editors
ALT+Up/Down, CTRL+ALT+Up/Down
  • move/copy line up or down
CTRL+Up/Down
  • Move editor up/down
CTRL+D
  • delete current line
CTRL+ALT+R
  • Refactor method or variable

And at last to show all available keys at the moment press CTRL+SHIFT+L.