Skip to content

Update README.md to mention that swift-format is included in Xcode 16 #756

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

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ For example, if you are using Xcode 13.3 (Swift 5.6), you will need
## Getting swift-format

If you are mainly interested in using swift-format (rather than developing it),
then you can get swift-format either via [Homebrew](https://brew.sh/) or by checking out the
source and building it.
then you can get it in three different ways:

### Included in Xcode

Xcode 16 and above include swift-format in the toolchain. You can run `swift-format` from anywhere on the system using `swift format` (notice the space instead of dash). To find the path at which `swift-format` is installed, run `xcrun --find swift-format`.

### Installing via Homebrew

Expand Down