Is there a way to restart FSI in Visual Studio?

f#, fsi, visual-studio

Solution

Right click in the F# interactive window, and select `Reset Interactive Session`.

`Cancel Interactive Evaluation` should also work for you if you just want to cancel the current running function but to keep previous results.

Problem

I'm learning F#, and keep accidentally writing infinitely recursive functions.. When I call these in F# Interactive (FSI) through Visual Studio (2010 or 2012), I can't find a way to get out of it other than to restart Visual Studio. Is there any other - ideally faster - way out?

Original source