A few tight Flex shortcuts

While playing with the new flex beta 2, I ran into some sweet shortcuts. The first is to put a standard function header code on top of a function. Just press the command + shift + d keys at the same time where you want the code placed. Whats really cool about this shortcut is that automatically puts @param and @return statements inside the comments! Remember that this style is readable by ASDoc too, so there are even fewer excuses to not comment your code properly (and yet somehow most of us continue to have this problem).

Comment Insertion Shortcut

The comment inserting function I found by accident, but the debug shortcut I intended to come across. To debug the project, just press the alt + shift + d keys, then press the f key and the app will start debugging. You can press it almost directly after you press the first sequence even though the bottom right menu may or may not show up. I’m not too sure how excited I am at the two separate required key entries, but after using it for a bit it gets faster and more comfortable.

Flex debug shortcut