Flex Tip - Tidy up.
Sometimes when you get stuck into development and get into the ‘zone’ you can end up putting a lot of code down in a relatively short period of time. You’ll occasionally need to tidy this up and re-arrange some stuff.
Flex Builder has some useful shortcuts build in to assist here.
shft + ctrl + O will clean up your import statements, cleaning out duplicates and sorting alphabetically for you.
Moving lines of code around is a snap too.
A single line can be moved by placing the cursor on that line and then pressing alt plus the up or down arrow keys. To move a block, highlight it first and use the same keys.
Tags: flex tips