Rapid prototyping is arguably one of the most efficient ways to test new designs and I believe this to hold true for programming too.
I am looking for a tool similar to Matlab where one can execute some C# code while you type. The Immediate Window is almost ideal, but is naturally only usable when debugging.
Is there a way to use the Immediate Window (or a similar tool) without having to switch into debugging mode?
UPDATE:
After some more googling I found:
Ctrl + Alt + N (Run Code) is a shortcut provided by the "Code Runner" extension you installed while Ctrl + F5 (Run Without Debugging) is a shortcut provided by VS Code by default. Both shortcuts run the code without debugging and they have the same function.
The Immediate window evaluates expressions by building and using the currently selected project. To display the Immediate window, open a project for editing, and then choose Debug > Windows > Immediate or press Ctrl+Alt+I. You can also enter Debug.
Press Alt+F11 (hold Alt key, then press F11 key) from anywhere in Excel. The Visual Basic Editor window will open. (Mac version is Fn+Alt+F11) Pressing Ctrl+G opens the Immediate Window and places the text cursor in it.
The Immediate window is used to debug and evaluate expressions, execute statements, print variable values, and so forth. It allows you to enter expressions to be evaluated or executed by the development language during debugging.
Try LinqPad, it rocks ! It is made to test Linq queries but it ends being the best environment to try any kind of C# code ever made.
http://www.linqpad.net/
It is free but need to be activated (paid) to support intellisense.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With