Proper REPL support for F# in VS Code! Uses FsiX as backend.
You can create either VS Code's repl window, or saveable notebook window. Both of them, support these features:
- Autocompletion, syntax and error highlightning right in the input box. All of these features use your current REPL's state as a context.
.fsprojand.sln/.slnxsupport.- Hot reloading! If you havent changed type signature of your functions, there is no need to recompile your code, relaunch or reevaluate everything - FsiX will patch even already running code.
- Inline Async, Task and any other computation expressions. FsiX will rewrite code like
let! res = doSmthAsync()into synchronous code, so debugging async code is way easier now.
- You need .NET 10.0 SDK installed.
- Extension also needs FsiX.Daemon, but it will try to install it automatically.
Currently there is only one setting:
fsixNotebook.settings.fsixCommand: Provide custom command to run FsiX.
- Inline async expressions are marked as errors by intellisense. Will be fixed soon!
- Even if extension gives fsix context regarding currently openned file, auto-opening of modules is still not perfect.
Enjoy!