1
1
# swift-format
2
2
3
3
` 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
5
5
blocks for doing code formatting transformations.
6
6
7
7
This package can be used as a [ command line tool] ( #command-line-usage )
@@ -18,7 +18,7 @@ invoked via an [API](#api-usage).
18
18
### Swift 5.8 and later
19
19
20
20
As 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
22
22
rewritten in Swift and no longer has dependencies on libraries in the
23
23
Swift toolchain.
24
24
@@ -34,7 +34,7 @@ SwiftSyntax; the 5.8 release of swift-format is `508.0.0`, not `0.50800.0`.
34
34
### Swift 5.7 and earlier
35
35
36
36
` 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
38
38
parsing library distributed as part of the Swift toolchain. When using these
39
39
versions, you should check out and build ` swift-format ` from the release
40
40
tag or branch that is compatible with the version of Swift you are using.
@@ -74,7 +74,7 @@ Install `swift-format` using the following commands:
74
74
75
75
``` sh
76
76
VERSION=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
78
78
cd swift-format
79
79
git checkout " tags/$VERSION "
80
80
swift build -c release
0 commit comments