11# swift-format
22
33` swift-format ` provides the formatting technology for
4- [ SourceKit-LSP] ( https://github.com/apple /sourcekit-lsp ) and the building
4+ [ SourceKit-LSP] ( https://github.com/swiftlang /sourcekit-lsp ) and the building
55blocks for doing code formatting transformations.
66
77This package can be used as a [ command line tool] ( #command-line-usage )
@@ -18,7 +18,7 @@ invoked via an [API](#api-usage).
1818### Swift 5.8 and later
1919
2020As of Swift 5.8, swift-format depends on the version of
21- [ SwiftSyntax] ( https://github.com/apple /swift-syntax ) whose parser has been
21+ [ SwiftSyntax] ( https://github.com/swiftlang /swift-syntax ) whose parser has been
2222rewritten in Swift and no longer has dependencies on libraries in the
2323Swift toolchain.
2424
@@ -34,7 +34,7 @@ SwiftSyntax; the 5.8 release of swift-format is `508.0.0`, not `0.50800.0`.
3434### Swift 5.7 and earlier
3535
3636` swift-format ` versions 0.50700.0 and earlier depend on versions of
37- [ SwiftSyntax] ( https://github.com/apple /swift-syntax ) that used a standalone
37+ [ SwiftSyntax] ( https://github.com/swiftlang /swift-syntax ) that used a standalone
3838parsing library distributed as part of the Swift toolchain. When using these
3939versions, you should check out and build ` swift-format ` from the release
4040tag or branch that is compatible with the version of Swift you are using.
@@ -74,7 +74,7 @@ Install `swift-format` using the following commands:
7474
7575``` sh
7676VERSION=510.1.0 # replace this with the version you need
77- git clone https://github.com/apple /swift-format.git
77+ git clone https://github.com/swiftlang /swift-format.git
7878cd swift-format
7979git checkout " tags/$VERSION "
8080swift build -c release
0 commit comments