Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting not working on Windows #694

Open
tomwyr opened this issue Feb 26, 2024 · 1 comment
Open

Formatting not working on Windows #694

tomwyr opened this issue Feb 26, 2024 · 1 comment

Comments

@tomwyr
Copy link

tomwyr commented Feb 26, 2024

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
@ahoppen
Copy link
Contributor

ahoppen commented Apr 23, 2024

Tracked in Apple’s issue tracker as rdar://126948386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants