Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Karetski/Snowonder

🔮 Magical import declarations formatter for Xcode
https://github.com/Karetski/Snowonder

formatter import objective-c snowonder sort swift xcode xcode-extension xcode-plugin

Last synced: 3 months ago
JSON representation

🔮 Magical import declarations formatter for Xcode

Awesome Lists containing this project

README

        

![Header](https://raw.githubusercontent.com/Karetski/Snowonder/master/Resources/ReadmeHeader.png)

**Snowonder** is Xcode Extension that adds some convenient formatting operations for Import Declarations. This extension is created with latest stable Swift release and fully open source. Snowonder is based on official Apple's **XcodeKit** which supports only **Xcode** of versions **8 and higher**. If you're looking for a Snowonder that is compatible with **Xcode 7.3** version please check [legacy](https://github.com/Karetski/Snowonder/blob/legacy/README.md) branch.

**Important!** 🌟 If you've experienced some trouble using Snowonder, please submit an issue with a description. This is the simpliest way to make the project better.

[![Build Status](https://travis-ci.org/Karetski/Snowonder.svg)](https://travis-ci.org/Karetski/Snowonder)

## Features

- [x] Adding Import Declarations from anywhere in code
- [x] Import Declarations categorization
- [x] Alphabetical sorting of Import Declarations in scope of category
- [x] Duplicated Import Declarations filtering
- [x] Both **Swift** and **Objective-C** programming languages support
- [ ] Load config from JSON. *Implemented in **config** branch, but stopped working after Xcode 10 release. Check [#27](https://github.com/Karetski/Snowonder/issues/27)*
- [ ] Command Line Interface (CLI)

## Installation

1. Clone this repo and build **Snowonder** target via Xcode to get the app
2. Close Xcode if it's currently running
3. Put **Snowonder.app** into **Applications** folder and run it
4. Click **Enable Extension** button
5. Enable **Snowonder** in opened window. *See screenshot below*
![Enables](https://raw.githubusercontent.com/Karetski/Snowonder/master/Resources/SnowonderEnabled.png)
6. Launch Xcode and check if Editor > Snowonder Extension is available

## Usage

After installation you will be able to format import declarations on any file by selecting Editor > Snowonder Extension > Format Import Declarations or you can just simply setup shoutcut for this command.

## Updating

To update Snowonder just replace the old **Snowonder.app** with updated verson.

## Uninstallation

To uninstall just put **Snowonder.app** into **Trash**.

## License

Released under the MIT License. See [LICENSE.md](https://github.com/Karetski/Snowonder/blob/master/LICENSE.md).