nus-cs2103-AY1819S2 / forum

CS2103/T discussion forum
6 stars 1 forks source link

Travis doesn't like the order of my import statements #51

Open PhilipPhil opened 5 years ago

PhilipPhil commented 5 years ago

Travis doesn't like the order of my import statements. I press ctrl, alt, o but it doesn't like the order that java automatically returns. I was wondering how I could fix this.

PhilipPhil commented 5 years ago

travis sucks

fterh commented 5 years ago

Go see your Travis build log. It literally tells you how to fix it.

qjqqyy commented 5 years ago

You might want to look at the relevant section of the AB4 developer guide.

PhilipPhil commented 5 years ago

travis sucks

fterh commented 5 years ago

rm travis.yml then 😂

Edit: just kidding lol please don't do that :)

PhilipPhil commented 5 years ago

Okay I'm not going to copy past the import statement in the correct order every time I make a change. How can I set my intelij so that after pressing CTRL, ALT, O it will automatically go to the right order .

halcyoneee commented 5 years ago

You might want to look at the relevant section of the AB4 developer guide.

Have you followed this guide? If you did it should auto import in the correct order unless it falls under the import all other imports

PhilipPhil commented 5 years ago

I imported the addressbook check style but it just makes my import statements red and does not put them in the correct order. If I change the order intellij just put's them back.