Skip to content

Commit e519d46

Browse files
authored
Change instructions of how to run swift-format
Running swift-format from the toolchain does not require building swift-format and also runs swift-format in release mode, which is faster.
1 parent 1bc5e9b commit e519d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ SourceKit-LSP is formatted using [swift-format](http://github.com/swiftlang/swif
113113
114114
To format your changes run the formatter using the following command
115115
```bash
116-
swift package format-source-code
116+
swift format -ipr .
117117
```
118118
119119
If you are developing SourceKit-LSP in VS Code, you can also run the *Run swift-format* task from *Tasks: Run tasks* in the command palette.

0 commit comments

Comments
 (0)