markohlebar / Import

Xcode extension for adding imports from anywhere in the code ☝️
MIT License
846 stars 40 forks source link

Sort the import line alphabetically #21

Open harysutanto opened 7 years ago

harysutanto commented 7 years ago

It would be nice if the plugin could insert the new import ... alphabetically. For example we have current import lines:

import CoreGraphics import Foundation import UIKit

if we're to add a new import line like import CoreLocation, it would be like this:

import CoreGraphics import CoreLocation import Foundation import UIKit

markohlebar commented 7 years ago

Hey @harysutanto yeah that makes perfect sense I think. I think we can plan this into the next release :)