wilkinsona / project-generator

3 stars 4 forks source link

Add a way to order imports #7

Open snicoll opened 5 years ago

snicoll commented 5 years ago

This doesn't have to be configurable but since our tests are asserting generated code line by line, the output is sensible as when a particular class was added to the set. It would be nicer if the order was deterministic.

Ideally we want imports to be written in "groups" as we do in our own projects but maybe it doesn't have to go that far.