You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ let package = Package(
47
47
|`swiftformat.enable`|`Bool`|`true`| Whether SwiftFormat should actually do something. |
48
48
|`swiftformat.onlyEnableOnSwiftPMProjects`|`Bool`|`false`| Requires and uses a SwiftFormat as SwiftPM dependency. This will cause the extension to build the Swift package upon first launch. |
49
49
|`swiftformat.onlyEnableWithConfig`|`Bool`|`false`| Only format if config present. |
50
-
|`swiftformat.path`|`[String] or String`|`swiftformat`| The location of the globally installed SwiftFormat (resolved with the current path if only a filename). |
50
+
|`swiftformat.path`|`[String] or String`|`["/usr/bin/env", "swiftformat"]`| The location of the installed SwiftFormat (global/workspace-relative). |
51
51
|`swiftformat.options`|`[String]`|`[]`| Additional [options for SwiftFormat](https://github.com/nicklockwood/SwiftFormat#options). |
52
52
|`swiftformat.configSearchPaths`|`[String]`|`[".swiftformat"]`| Possible paths for SwiftFormat config. |
0 commit comments