A way to automatically organize #imports in Xcode

后端 未结 9 1738
眼角桃花
眼角桃花 2021-01-30 20:38

I love the \"Organize Imports\" command in Eclipse to implicitly add and remove classes imported into a source file (as in Java or ActionScript).

Is there a command in X

9条回答
  •  没有蜡笔的小新
    2021-01-30 21:00

    I made a small Xcode plugin to sort the headers and remove duplicates of the file with a shortcut, you can check it out! - https://github.com/insanoid/CleanHeaders-Xcode

提交回复
热议问题