// home

Latest Post

Tokenizing ActionScript 3 for fun and profit

Be careful what you wish for.  Seriously.  Back in university, I thought compilers and programming languages were the coolest things ever.  Well, at least in the Computer Science department.  And for the last few years, I’ve been working on tooling for ActionScript 3 focusing on, as luck would have it, languages and compilers.  While AS3 might [...]

Asides

  • Let's say you've just pasted in a snippet of code, or loaded a file that is missing imports.  When you compile, you get errors and you're stuck importing each definition by hand.  Flex Builder provides a bit of a hidden feature here to help you import your missing types:  next to each type that is missing, press control-space at the end of the missing definition. Flex Builder will put the import in automatically. (more...) #
  • A feature forever undocumented in Flex Builder is the ability to jump directly to matching braces.  To use it, simply place your cursor to the left on an { or the right of an } and press Ctrl/Cmd+shift+P.  For the JDT nerds out there, it's the same key command.  Enjoy! #