vscode-swiftformat
vscode-swiftformat copied to clipboard
SwiftFormat for VS Code
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...
Receiving following error. SwiftFormat failed. error: Cannot combine stdin with other file inputs. 
I have swift 5.9 and swiftformat 0.52.7 installed but when I use the format option in VS Code it deletes all source code   
Currently this extension reads the editor setting for the indentation and passes it to swiftformat. This behaviour might make sense if no indentation rules were provided in the config and...
In rare cases building activating the extension might fail.
Currently, any `Package.swift` manifest is assumed to potentially belong to `SwiftFormat`, and is built. This causes unnecessary building and creation of .build directories. Filter to only do this for the...
When the 'Enter' key is pressed, format the previous line because the user has usually moved to a new empty line. This is the most common scenario. Also, format only...
Hi, I'm getting prompts asking to grant permissions to unrelated folders when saving a file located in: `/Users/david/src/swift/UnitConversions/UnitConversions/ContentView.swift` I saw that [nicklockwood/SwiftFormat](https://github.com/nicklockwood/SwiftFormat)'s repo has a warning: >WARNING: swiftformat . will...
fixes #44 Steps to reproduce: 1. Close vscode 2. Go to your system settings' privacy and security 3. remove vscode in files and folders, and full access to your volume...
The vscode-swiftformat extension is causing SPM invocations due to [this code](https://github.com/vknabel/vscode-swiftformat/blob/1981730be4e11aefef4a0ebb7b5ae21974c18c1a/src/extension.ts#L49), in our repo that is using CMake as the build system on Windows, but still has Packages.swift files for...