Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jintin/swimat
An Xcode formatter plug-in to format your swift code.
https://github.com/jintin/swimat
formatter swift swimat xcode xcode-extension xcode-plugin
Last synced: 6 days ago
JSON representation
An Xcode formatter plug-in to format your swift code.
- Host: GitHub
- URL: https://github.com/jintin/swimat
- Owner: Jintin
- License: mit
- Created: 2015-11-12T12:22:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T14:49:26.000Z (about 2 years ago)
- Last Synced: 2025-01-11T15:06:43.832Z (13 days ago)
- Topics: formatter, swift, swimat, xcode, xcode-extension, xcode-plugin
- Language: Swift
- Homepage: https://jintin.github.io/Swimat/
- Size: 3.44 MB
- Stars: 1,651
- Watchers: 34
- Forks: 90
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Swimat
[![Build Status](https://travis-ci.org/Jintin/Swimat.svg?branch=master)](https://travis-ci.org/Jintin/Swimat)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e3a2fb6a6ba34b11836d58cee0668fb9)](https://www.codacy.com/app/Jintin/Swimat?utm_source=github.com&utm_medium=referral&utm_content=Jintin/Swimat&utm_campaign=Badge_Grade)
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/matteocrippa/awesome-swift)[![github](https://img.shields.io/github/release/Jintin/Swimat.svg)](https://github.com/Jintin/Swimat/releases/latest)
[![homebrew-cask](https://img.shields.io/homebrew/v/swimat.svg)](https://caskroom.github.io/)Swimat is an Xcode plug-in to format your Swift code.
## Preview
![](./README/preview.gif)
## Installation
There are three way to install.
1. Install via [homebrew-cask](https://caskroom.github.io/)
```bash
# Homebrew previous version
brew cask install swimat
```
```bash
# Homebrew latest version
brew install --cask swimat
```2. Download the App directly.
3. Clone and archive to Mac App by yourself.
## Usage
**After installation, you should open the `Swimat.app` once to make the functionality works.**
In the Xcode menu click **[Editor] -> [Swimat] -> [Format]** then the current active file will reformat.
You can also create a hot-key in **[Xcode] -> [Preferences..] -> [Key Bindings]**, if you don't have any prefernce you can set as ⌘ + ⇧ + L.
## TroubleShooting
Check [System Preferences] -> [Extensions] -> [Xcode Source Editor] -> [Swimat] is checked. ![](./README/setting.png)
## Contributing
Bug reports and pull requests are welcome on GitHub at .
## License
The module is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).