WTH Can't I use something like the template editor when trying to add templates into automations?

Having a template editor when creating automations/scripts would make that much easier. It could also show the current calculated value.