Hacker News new | ask | show | jobs
by kabdib 3628 days ago
The MPW Shell (the Macintosh Programmer's Workshop) had a feature like this; every editor window was also a shell command window. You could select some text and run it as a shell command.

I regularly included build steps as comments in the first few lines of C and Pascal sources. No makefile necessary.

You could also arrange for code to run on actions like 'cd' (to set up environments, for instance; your editor window could become a context of readily selectable commands based on the directory you were in).

Oh, and 1987.