Skip to content

Latest commit

 

History

History
79 lines (53 loc) · 2.89 KB

README.md

File metadata and controls

79 lines (53 loc) · 2.89 KB

Logo

Fesh

Fesh on nuget.org code size license

Fesh is a Scripting Editor for F# on Windows.

Screenshot

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.

How to install

Standalone

Just download the from Releases. to any location, unblock and run the Fesh.exe.

Or build from source with:

dotnet build FeshStandalone.fsproj

for Hosting in another App

use the nuget package Fesh. or, to build the Fesh nuget package run:

dotnet build FeshHosting.fsproj

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.

Release notes

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