Fesh 0.10.0
See the version list below for details.
dotnet add package Fesh --version 0.10.0
NuGet\Install-Package Fesh -Version 0.10.0
<PackageReference Include="Fesh" Version="0.10.0" />
paket add Fesh --version 0.10.0
#r "nuget: Fesh, 0.10.0"
// Install Fesh as a Cake Addin #addin nuget:?package=Fesh&version=0.10.0 // Install Fesh as a Cake Tool #tool nuget:?package=Fesh&version=0.10.0
Fesh
Fesh is a Scripting Editor for F# on Windows.
It is based on the excellent <a href="https://github.com/goswinr/AvalonEditB" target="_blank">AvalonEdit</a>. 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 <a href="https://www.nuget.org/packages/FSharp.Compiler.Service/43.8.300" target="_blank">FSharp.Compiler.Service</a> 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 see my talk on Louvre Abu Dhabi. For hosting there is the nuget package Fesh. See hosting examples Fesh.Rhino and Fesh.Revit.
Features
Syntax Highlighting
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
Auto complete works on enter and dot, also in middle of a word.
Type info
The type info includes the inferred signature. All of the xml docs and information about the containing assembly
Status bar
The statusbar at the bottom shows compiler error count, click on it to scroll to the first error.
Selection highlighting
Selected text is highlighted in both code and output window. The count is shown in the status bar.
How to build
For the standalone version just build the FeshStandalone.fsproj project:
Release notes
0.10.0
- enable DefaultCode in host settings
0.9.0
- first public release
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0-windows7.0 is compatible. net8.0-windows was computed. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- AvalonLog (>= 0.13.0)
- Fittings (>= 0.6.0)
- FSharp.Compiler.Service (>= 43.8.300)
- FSharp.Core (>= 8.0.300)
-
net7.0-windows7.0
- AvalonLog (>= 0.13.0)
- Fittings (>= 0.6.0)
- FSharp.Compiler.Service (>= 43.8.300)
- FSharp.Core (>= 8.0.300)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- enable DefaultCode in host settings