Fesh is a Scripting Editor for F# on Windows.
It is based on the excellent AvalonEdit. The editor supports F# 8.0 and has modern IDE features like semantic syntax highlighting, type-info and autocomplete. Unlike a typical F# REPL this editor has the input and the output in two separate windows. Just like Don Syme always wanted it to be. By hosting FSharp.Compiler.Service in the same process the Editor can easily be hosted in other apps to create an embedded application scripting tool. This was in fact the primary motivation for creating this editor. I have used it for scripting in Rhino3D professionally since 2017. Initially I used the Tsunami F# editor see my talk on Louvre Abu Dhabi. But it is no longer available.
For hosting there is the nuget package Fesh. See hosting examples Fesh.Rhino and Fesh.Revit.
Just download the from Releases. to any location, unblock and run the Fesh.exe.
Or build from source with:
dotnet build FeshStandalone.fsproj
use the nuget package Fesh. or, to build the Fesh nuget package run:
dotnet build FeshHosting.fsproj
Initial static syntax highlighting is done via AvalonEdit's regex based highlighting. See SyntaxHighlightingFSharp.xshd. The F# Compiler Service. Provides additional semantic highlighting.
Auto complete works on enter and dot, also in middle of a word.
The type info includes the inferred signature. All of the xml docs and information about the containing assembly
The statusbar at the bottom shows compiler error count, click on it to scroll to the first error.
Selected text is highlighted in both code and output window. The count is shown in the status bar.
0.11.1
- fix expiry date
0.11.0
- fix VisualLine not collapsed crash
0.10.0
- enable DefaultCode in host settings
0.9.0
- first public release