Like most of us, I've always treated my editor and terminal as two separate places, with constant back-and-forth between them. I would write code, switch to a terminal, run a script, scan the output, ...