Jwosty
Jwosty

Reputation: 3644

MonoDevelop reset F# interactive pad

Simple question: Is there a way to reset the F# interactive pad in MonoDevelop (not clear it) so that it starts over with a fresh session? And if so, how?

Upvotes: 1

Views: 604

Answers (1)

Tomas Petricek
Tomas Petricek

Reputation: 243061

I think there is no button for doing that (i.e. context menu item as in Visual Studio), but you can reset the session by typing the #q command:

> #q;;
Session termination detected. Press Enter to restart.

If you then pres "Enter", you'll get a fresh F# Interactive session. Also, if F# Interactive gets stuck in an infinite loop, there is no button to kill it (I think) but you can kill it from a task manager and then you can restart it using "Enter".

Upvotes: 4

Related Questions