Skip to main content

Blank Lines

The Blank Lines page contains options that allow you to configure the number of blank lines:

  • around:

    • Simple Method
    • Method
    • Property \ Indexer \ Event
    • Interface and Auto-Implemented Property
    • Simple Property \ Indexer \ Event
    • Field
  • around and within:

    • Region
    • Namespace
    • Type

Formatting_BlankLines

You can also configure the number of blank lines before a single line comment.

Formatting_BlankLines

The Excessive Blank Lines group allows you to specify the maximum number of blank lines in your code. Formatting_BlankLines