GithubHelp home page GithubHelp logo

yongjunshen / cleanheaders-xcode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from insanoid/cleanheaders-xcode

0.0 1.0 0.0 460 KB

A Xcode Source Editor Extension to sort your header imports and remove duplicates, similar to iSort.

Home Page: https://github.com/insanoid/CleanHeaders-Xcode

License: MIT License

Objective-C 100.00%

cleanheaders-xcode's Introduction

CleanHeaders

An Xcode plug-in to format your import headers in a systematic manner. It simply removes duplicates, spaces and sorts them alphabetically making it much more easier to read and avoid duplicate imports. Works with @imports, #include, #import and import.

Preview

Usage

Usage

Select the option from Editor > Clean Headers > Sort Headers. You can add shortcuts from Xcode preferences.

Please run sudo /usr/libexec/xpccachectl and restart your Mac before running the extension if you are on macOS 10.11 El Capitan.

TODO/Limitations

  • Missing tests

Support for Alcatraz (Deprecated)

Install the older version v1.0.0.

Alternatively you can also clone the release, build and run CleanHeaders, restart Xcode.

Credits

I am using some helper functions to deal with the filtering out source text fromxTextHandler-objc, thanks for the awesome class.

cleanheaders-xcode's People

Contributors

halechan avatar insanoid avatar readmecritic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.