Skip to content

Format selection seems to be broken with "--source-line-breaks" option #1008

@JHag6694

Description

@JHag6694

Hello

Testing release 23.0.8, it seems that in some cases, formatting using "Format selection" is broken when using "--source-line-breaks".
Additional information;

  • No problem with 23.0.7
  • No problem found with "--preserve-line-breaks"
  • Once "Format selection" request failed, next "Format document" request will also failed

With

[Error - 12:35:38] Request textDocument/rangeFormatting failed.
 Message: 
 Code: -32603 

See :
FormatSelection

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions