Skip to content

nikok/Swimat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swimat

Build Status Alcatraz compatible Awesome

An Xcode plug-in to format your Swift code.

Preview

Installation

There are two ways to install:

  • Use Alcatraz to install and manage plug-ins.
  • Clone this repo, build and restart Xcode.

If you encounter any issues you can uninstall it by removing the ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Swimat.xcplugin folder.

Usage

In the menu open [Edit] -> [Swimat] -> [Format] or press hot-key (Command+Option+Shift+L).

Configuration

There are preferences in the [Edit] -> [Swimat] menu.

  • Indent type (tab, 2 space, 3 space, 4 space)
  • Auto format when Save or Build
  • Indent empty lines
  • Remove/Force/Ignore line breaks before opening braces

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Jintin/Swimat.

License

The module is available as open source under the terms of the MIT License.

About

An Xcode formatter plug-in to format your swift code.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%