vknabel / vscode-swiftformat

SwiftFormat for VS Code
https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swiftformat
MIT License
43 stars 8 forks source link

configuration: allow specifying the path to `swift-format`. #33

Closed compnerd closed 9 months ago

compnerd commented 9 months ago

This allows the user to specify the location of swift-format rather than trying to assume that it should be the one that is found via Path.

vknabel commented 9 months ago

Hi @compnerd. From the code I've seen, I am a bit confused what you are trying to accomplish. The code portion only tries to compile swift format if it exists.

Setting swiftformat.path should already work as expected. If it doesn't feel free to open an issue.