1. Home /
  2. Option Reference /
  3. Wrapping

csharp_max_array_initializer_elements_on_line

Chop an array initializer carrying more than this many elements.

Values

Value Notes
<integer> Any integer.

Default: (not set)

Conformance

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

This option accepts a freeform value. No canned example is generated.

csharp_max_array_initializer_elements_on_line = <value>
		
Previous
Wrapping
Next
Blank Lines
  • View as Markdown
  • Edit this page
On this page
  • Values
  • Conformance
  • 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
    • 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
  • Known limitations
  • Benchmarks
    • Churn