tooling

9 articles

Running JetBrains Rider in WSL 2

Published

Tags

Intro Want to run JetBrains Rider in your WSL environment? I recently navigated this process and want to share my insights. With [WSL2's support for GUI apps](https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps), this is now possible, though not without some hurdles. Download Rider EAP Here's how to start: - Download the `tar` installation file for the Linux [EAP version](https://www.jetbrains.com/rider/nextversion/) in

Unleashing Parallel Processing in Your F# Compiler

Published

Tags

Intro Hey there, let's cut to the chase: the dotnet `7.0.400` SDK release brings some feature flags that can turbocharge your Fcompiler. In this post, I'm shining a spotlight on three of these gems that you absolutely need to give a spin. Setup First things first, you need the latest [SDK](https://dotnet.microsoft.com/en-us/download/dotnet/7.0) (`7.0.400`

Fantomas 6: The Legendary Formatter

Published

Tags

Introduction Early this year we announced our plans for [Fantomas 6](https://github.com/fsprojects/fantomas/issues/2709). We are happy to announce that we have wrapped up the development of version 6 and a preview is now available on [NuGet](https://www.nuget.org/packages/fantomas/6.0.0-alpha-008). What's new? Fantomas 6 is a major release and contains a lot of new features and improvements. In

My F# compiler scripts

Published

Tags

Intro For the last year, I've been working quite extensively in the [dotnet/fsharp](https://github.com/dotnet/fsharp) codebase. I've picked up a couple of habits and created some helper scripts along the way. This is some stuff that works for me and it might be insightful for you. Or not. In this

The oak sleeps in the acorn

Published

Tags

Introduction We launched Fantomas v5 in September, and it was the first version to ship with a custom Fparser and an improved syntax tree. Many view it as a big technical achievement – I know its launch was a point of personal pride. Release party Because version 5 was a big deal, I decided

Say Hello to Fantomas 5

Published

Tags

Introduction **Fantomas 5** is here! The API of v5 is finalized! In this blogpost I will explain how you can migrate to v5 from v4. The latest preview versions are labelled as beta's, meaning **the API is stable**. Please start using these latest versions, as the final product will be very

World domination, part one

Published

Tags

Intro Some time ago, I was able to merge in a [huge refactoring effort](https://github.com/fsprojects/fantomas/pull/2218) into [the next major version of Fantomas](https://github.com/fsprojects/fantomas/issues/2160). The result of these changes make Fantomas **at least twice as fast as the v4 release**. _Before_ ``` BenchmarkDotNet=v0.13.1, OS=ubuntu 20.04 Intel Xeon Platinum 8171M CPU 2.60GHz, 1 CPU, 2 logical and 2

A word on triple-slash comments

Published

Tags

Intro Yesterday, pretty much out of nowhere, [FCS 41.0.3](https://www.nuget.org/packages/FSharp.Compiler.Service/41.0.3) was published on NuGet. I must say, I'm pretty hyped about this release. It contains a few [PRs](https://github.com/dotnet/fsharp/pulls?q=is%3Apr+is%3Aclosed+author%3Anojaf+merged%3A2021-10-30..2022-03-03) that improve the syntax tree and provide more information to work within Fantomas. It also contains some [XML documentation improvements](https://github.com/dotnet/fsharp/pulls?q=is%3Apr+11973+12484+12783) that Alex of the Rider team

Fantomas Daemon

Published

Tags

Intro The Fadvent calendar is a wonderful initiative that inspires the community to create new content in a short period of time. I've been fortunate enough to be part of this for some years now. This year, I had in mind to sit this one out actually. Sometimes, there are just no new