I've been using FlashDevelop for a while now. As Actionscript editors go it's great, but it's also 100% free which sweetens the deal even more. It does everything I need it to; creates projects, organises files and code hints comprehensively. In a word, it rocks. But yesterday I was introduced to something in FlashDevelop that I'd never seen before. The king of all shortcuts:
CTRL - SHIFT - 1
How I've lived without this shortcut before I don't know. I feel like a fool for not discovering it earlier. It does absolutely everything...
- Place your cursor next to a class variable, hit the king and you get a little pop-up menu offering to create you getters and setters.
- Written a variable inside a function and now want to make it into a class variable? Place your cursor, hit the king and you'll be offered to "Promote to class member". It will then declare the variable at the top and correct your function accordingly.
- Need a new function? Type the function name, press the king, "Generate function". Done.
- Need a new class? Type the name, king, "create class", done.
This shortcut literally does absolutely everything from declaring variables to generating functions. I keep discovering even more things all the time. It's such a timesaver. Truly the ultimate multi-purpose shortcut.