vscode-swiftformat
vscode-swiftformat copied to clipboard
SwiftFormat hanging for long time
Sometimes when saving a file I get the following dialog appearing for at least a minute. While this dialog is displayed most operations in VSCode do not work.
The only options I have set are
"swiftformat.path": "/Users/adamfowler/.mint/bin/swiftformat",
"swiftformat.onlyEnableWithConfig": true,
Hi, thanks for your report! When this happened, were you working in a project with a SwiftFormat dependency? Eventually the build process of it might have delayed formatting the file? I’ll definitely have a look on this annoying bug.
No SwiftFormat dependency. I've seen this while working on https://github.com/hummingbird-project/hummingbird and https://github.com/soto-project/soto.
It is intermittent so hard to narrow down.
I've been noticing this too, I have swift format installed with brew. It seemed to start happening after v1.6.4 (so from v1.6.5)