JetBrains Fleet 1.13 Help

Inspect and fix C# code

In the smart mode, each file that you open in the editor is analyzed on the fly with hundreds of code inspections:

  • Status indicator in the top-right corner displays the number of code issues detected in the file. You can hover the mouse to see how many issues of different severity levels are found.

  • All detected issues are underlined with different colors according to the severity level of the corresponding inspection. For example, red means error (the code will likely not compile), yellow means warning (a compiler warning or suboptimal code), grey means suggestion (an improvement suggestion that can be safely ignored).

  • Markers on the scrollbar show relative positions of issues within the file, which help navigate code issues in large files.

JetBrains Fleet: Code inspection in the editor

To see why a part of code is underlined as a code issue, hover the mouse over the highlighting:

JetBrains Fleet: Code issue description in C#

To go to the next/previous issue in the file, press ⌘E/⌘⇧E.

For most of the detected issues, there are one or more quick-fixes. To see available fixes, press ⌥↵, then select the desired fix and press .

JetBrains Fleet: Apply quick fixes with Alt+Enter
Last modified: 20 September 2022