Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ Swimat Public
forked from Jintin/Swimat

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

Notifications You must be signed in to change notification settings

stdoho/Swimat

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%

AltStyle によって変換されたページ (->オリジナル) /