~/talk

Formatting F# Code

Talkat JetBrains .NET Days Online 2020 · 2020-05-13..05-14· [dotnet, open-source]
slides:none on file

Fantomas reformats F# by turning source into FSharp.Compiler.Service AST plus tokenizer trivia, producing writer events and a new string; it supports merging up to eight combinations of ASTs for different #defines and preserves comments via token-to-trivia mapping. The project ships as a NuGet DLL and CLI, integrates into Rider through the ReSharper backend, provides an online issue repro tool, and can generate code by emitting formatted ASTs. Version 4 adds configurable style options (example: multi-line block brackets on same column) and commercial sponsorship funds one day/week of maintenance.

AI-written summary · about

  1. 0:00Introduction
  2. 8:07Formatting in action
  3. 10:30Multiple defines
  4. 12:39Settings
  5. 21:30Fantomas in Rider
  6. 29:43How I got involved in Fantomas and OSS
  7. 51:50Closing thoughts
  8. 53:21Questions and Answers
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.