Plugin like scratch for running code?

I think it would be really useful if there was a plugin like scratch in which you could write and run code.

I quite often find myself wanting to write or prototype small bits of code, which if it's longer than a few lines is a bit awkward doing in the interpreter.

Something like scratch would be perfect to write a bit of code to test something quickly in a temporary file.

does anything like this exist?
4 comments
Comment actions Permalink
Have you tried to use the "Execute selection in console" action together with Scratch? I guess this should give you most of the workflow that you need.
0
Comment actions Permalink
I guess this would work, however there would be none of the benefits of the inspections, syntax highlighting and everything else.

Where can I find the "Execute selection in console" action?
0
Comment actions Permalink
You can find it in the editor context menu.
0
Comment actions Permalink
It doesn't appear to be there?

Screen shot 2012-12-10 at 14.20.15.png
0

Please sign in to leave a comment.