curb
GitHub
main 3445bb8

Deployment info

Preview build from branch main

  • PR main
  • Branch main
  • Commit 3445bb8
  • Repository nullean/curb
Theme
Contrast
Motion

Type to search.

↑ + ↓ to move Enter to open Esc to close
  • Home
  • Why Curb
  • Getting started
    • Installation
  • Design principles
    • Conformance
    • Conformance divergences
    • Performance
    • Reflow
    • Safety
    • AI coding agents
    • Working with existing tooling
    • Syntax and semantic passes
  • Integrations
    • The build integration
    • Project and solution files
    • F# through Fantomas
    • Razor (experimental)
    • Cleanup
    • Agent instructions
  • Why not X?
    • CSharpier
    • dotnet format
    • Rider / ReSharper
    • EditorConfig analyzers
  • Option Reference
    • Core
    • New Lines
    • Indentation
    • Spacing
    • Wrapping
    • Blank Lines
    • Expression Bodies
    • Usings
    • Modifiers and Braces
    • Trailing Commas
    • Suppression
    • Xml Files
    • Xml Layout
    • Razor
  • Known limitations
  • Benchmarks
    • Churn
  1. Home
  2. Option Reference

Indentation

Controls how deeply Curb indents case labels, case body contents, block contents, and goto labels, and whether brace tokens themselves receive an extra indent level.

csharp_indent_block_contents Indent statements inside a block. Defaults to `true` csharp_indent_braces Indent the brace tokens themselves an extra level. Defaults to `false` csharp_indent_case_contents Indent statements inside a case label. Defaults to `true` csharp_indent_case_contents_when_block Indent a braced case body. csharp_indent_case_contents governs other statements. Defaults to `true` csharp_indent_labels How goto labels are indented. Defaults to `one_less_than_current` csharp_indent_switch_labels Indent case labels inside their switch. Defaults to `true`

No pages match your filter.

Previous New Lines Next Spacing
  • View as Markdown
  • Edit this page