Is there a reference for fsi.commands?

99 Views Asked by At

I'm trying to quiet down the F# Interactive terminal in VS Code. In my search I ran into commands such as fsi.ShowDeclarationVariables <- false, but I haven't found documentation of all such commands available. Can anyone point me in the right direction?

Thanks.

1

There are 1 best solutions below

0
Tomas Petricek On

There is some documentation for the members of the fsi object available in the F# docs. This is a bit tricky to find, because fsi is a value of type InteractiveSession and so you need to look for the type, rather than just for fsi value.

It is also worth noting that, in addition to using reflection to see the members, you can also see all members if you type fsi followed by . (at least in Visual Studio) and the names of the members are fairly descriptive (though figuring out the details is a bit fiddly sometimes).

I'm not sure if the documentation is complete, but the docs are hosted on GitHub and anyone can contribute to improve them and add examples.

Related Questions in F#