Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.36 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.36 KB

⚡️ 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

Install

Available via Package Control

  1. Install swiftformat
  2. Package Control: Install Package
  3. Install Swift Format
  4. Linux users: Specify absolute path to swiftformat in Settings.

Commands

Format

  • Format Current File.

Generate .swiftformat from Current File Path

  • Generate .swiftformat inferred from current file path.

Generate .swiftformat from Current Project

  • Generate .swiftformat inferred from current project.