Tuesday 6 August 2013

Coding for the Editor?

Note the title. Not Coding IN the Editor, Coding FOR the Editor.
Alright, I'm sorry. You're used to high-grade, good quality tutorial stuff. This is more of a musing / comment.

I find myself doing same-same stuff all the time - tidying up code so it lines up nicely ( a pretty printer that works, anyone? ). 

It'd be super awesome if the editor had some kind of development framework so you could record macros, and then edit the code those macros created... Kind of like VBScript?

An obvious example would be you paste a list of fields from a data dictionary structure. A popup could come along and ask what the WorkArea field was, and prefix the fields; then all you'd need to do would be populate the fields... saving you literally minutes every time you do it!