markohlebar / Import
- понедельник, 10 октября 2016 г. в 03:13:43
Swift
Xcode extension for adding imports from anywhere in the code ☝️
Xcode extension for adding imports from anywhere in the code
Because sometimes you are on 300th line of code and scrolling up just to add an import is a waste of time. This was built to replace Peckham, as decided to drop support for Xcode plugins in Xcode 8.
sudo /usr/libexec/xpccachectl
⌘ + ctrl + P
binding -> System Preferences... -> Extensions -> All -> Enable Import
Editor -> Import -> ☝️
is there Import uses Xcode's autocomplete, this works best when written inside a function / a method
import MODULE_NAME
(#import "HEADER_NAME.h"
in Obj-C) as you normally would⌘ + ctrl + P
or alternatively Editor -> Import -> ☝️
MIT, see LICENSE