Ok, but then what imports are loaded in it? if you want to do some LINQ should the Newtonsoft dependencies be loaded?
What if you want to use System.IO to see some attributes on a file, ok thats more to load.
How do we define whats loaded and what isn’t. We cannot load everything and the two I gave are not default.
Furthermore, working with complex objects stops becoming feasible, significantly limiting what this could be used for if you did hypothetically make a code sandbox and have it always running.
This would be extremely limited or grossly complex to use and set up to accomodate all the scenarios I gave (which are simple ones).
Running an empty workflow with a breakpoint is hardly any work and solves this, and otherwise you can ask a GPT or there are code sandbox tools around that are web based that can help.
I do not see a valid use case for this to be built in Studio personally.