JetBrains Rider 2022.3 Help

Code Inspection in F#

JetBrains Rider's code analysis in F# is provided by the F# Compiler Service. Nevertheless, the key code analysis features supported in C# and VB.NET (except for quick-fixes) are also available in F#. For detailed information on these features, refer to the Code Analysis section where you'll also find useful keyboard shortcuts.

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.

Code inspection

The analysis is performed by applying code inspections to the current document or in any specified scope.

JetBrains Rider: Highlighting F# error

Solution-Wide Analysis

JetBrains Rider not only analyzes errors in the current file, but also inspects the whole solution taking the dependencies between files into account.

JetBrains Rider: Errors in solution
Open the All Soluiton Files tab of the Problems window Alt+6 to view the results of analysis.
JetBrains Rider: Errors in solution. F#
For more information, see Solution-wide analysis.

Inspect This

Inspect This is a shortcut to several powerful analysis features that allow you to see how values and method calls flow through your code. The list of available features depends on the current context.

JetBrains Rider: 'Inspect This' in F#
For more information, see Call tracking and Value tracking.

Last modified: 24 November 2022