Skip to content

Experimental indentation doesn't work for multiline strings #444

@30350n

Description

@30350n

Formatter input:

[
  ''
     foo
    bar
  ''
]

Expected output (with indentation = "FourSpaces"):

[
    ''
         foo
        bar
    ''
]

Actual output (with indentation = "FourSpaces"):

[
    ''
       foo
      bar
    ''
]

Expected output (with indentation = "Tabs", -> symbolize tabs):

[
->''
->-> foo
->->bar
->''
]

Actual output (with indentation = "Tabs"):

[
->''
->   foo
->  bar
->''
]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions