JetBrains Rider 2023.1 Help

Languages and frameworks: F#

JetBrains Rider supports developing and running F# source code. You can create and open F# projects that target the full .NET framework and .NET Core.

Enable the F# Support plugin

This functionality relies on the F# Support plugin, which is bundled and enabled in JetBrains Rider by default. If the relevant features aren't available, make sure that you didn't disable the plugin.

  1. Press Ctrl+Alt+S to open the IDE settings and select Plugins.

  2. Open the Installed tab, find the F# Support plugin, and select the checkbox next to the plugin name.

You can learn more about the latest F# features in the release notes of the F# plugin.

Mixed-language C# and F# solutions are supported as well. JetBrains Rider can resolve references and use types from C# to F# and vice-versa without requiring projects to be (re)built. Code completion and navigation in a C# project detect the changes made in F# code even without requiring the F# project to be rebuilt. You still need to build a C# project first to make it work the other way around.

Rider recognizes and provides coding assistance for .fs, .fsi .fsx files. F# files can be identified by the Icon F# file icon.

F# support includes:

Prerequisites

Make sure that all SDKs required for projects in your solution, including F# SDK, are installed:

JetBrains Rider natively supports projects that use NuGet, however if your F# project uses Paket instead of NuGet, run the build.cmd file (build.sh for macOS/Linux) located in the project directory before opening the solution.

JetBrains Rider automatically disables its NuGet restore step when such a project is loaded.

Last modified: 24 November 2022