Skip to content

Formatting not working on Windows #694

Closed
@tomwyr

Description

@tomwyr

The formatting does not seem to work properly when compiled on Windows. The compilation went smoothly, however, when used as CLI as well as together with vscode formatter, the behavior is incorrect:

  • Running swift-format command from bash/powershell hangs without any output and never completes.
  • Running Format document With with apple-swift-format empties content of the editor the formatting is run on.

Tested on

  • Windows 11 (10.0.22631 Build 22631)
  • Swift 5.9.2
  • swift-format 509.0.0
  • apple-swift-format 1.4.3

Metadata

Metadata

Assignees

No one assigned

    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