Header menu logo FSharp.Analyzers.SDK

Configuring for the IDE

Visual Studio Code

In order to configure analyzers for VSCode, you will need to update your project's .vscode/settings.json file or your user settings. You should need the settings shown below.

{
  "FSharp.enableAnalyzers": true,
  "FSharp.analyzersPath": ["path/to/analyzers/directory"]
}

📓 Note: Issue created here regarding analyzers & SDK mismatches in the logs

After saving your new settings, make sure to restart VSCode. Once VSCode restarts, you should be able to test and see if the analyzers are working by opening a F# file in your workspace and entering the following code

Analyzers Inline Warning

Next

Type something to start searching.