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: 3 months 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: 2024-10-10T13:41:41.473Z (4 months ago)
- Topics: formatter, swift, swimat, xcode, xcode-extension, xcode-plugin
- Language: Swift
- Homepage: https://jintin.github.io/Swimat/
- Size: 3.44 MB
- Stars: 1,649
- Watchers: 34
- Forks: 89
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
- awesome-swift-cn - Swimat - XCode plugin to format Swift code. (Libs / Quality)
- fucking-awesome-swift - Swimat - Xcode plugin to format code. (Libs / Quality)
- open-source-mac-os-apps - Swimat - Swimat is an Xcode plug-in to format your Swift code. ![swift_icon] (Applications / Extensions)
- awesome-swift - Swimat - Xcode plugin to format code. (Libs / Quality)
- awesome-swift - Swimat - An Xcode formatter plug-in to format your swift code. ` 📝 2 months ago ` (Quality [🔝](#readme))
- open-source-mac-os-apps - Swimat - Swimat is an Xcode plug-in to format your Swift code. ![swift_icon] (Applications / Extensions)
- awesome-swift - Swimat - Xcode plugin to format code. (Libs / Quality)
- awesome-swift-macos-apps - Swimat - Swimat is an Xcode plug-in to format your Swift code. (Extensions / Text)
- awesome-swift-macos-apps - Swimat - Swimat is an Xcode plug-in to format your Swift code. (Extensions / Text)
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).