Awesome
⚡️ Swift Format
Swift Formatter for Sublime Text
- Uses
swiftformat
- Format on Save
- Fast Formatting
- Inline Syntax Error Popup
- Auto Scroll to the point parsing error occurred
- Generate
.swiftformat
from editing project or file path
- You can specify multiple candidate paths of
.swiftformat
<img src="https://user-images.githubusercontent.com/10491362/87870544-01507d00-c9e4-11ea-9fa1-1f7eb4b5bb20.gif" style="display: block; width: 100%;" />
Install
Available via Package Control
- Install
swiftformat
Package Control: Install Package
- Install
Swift Format
- Linux users: Specify absolute path to
swiftformat
in Settings.
Commands
Format
Generate .swiftformat from Current File Path
- Generate
.swiftformat
inferred from current file path.
Generate .swiftformat from Current Project
- Generate
.swiftformat
inferred from current project.