nus-cs2103-AY1819S2 / forum

CS2103/T discussion forum
6 stars 1 forks source link

Tips for preventing auto-grouping of import statements in Intellij #27

Open WeiTangLau opened 5 years ago

WeiTangLau commented 5 years ago

I found out that and few of my friends and myself are facing the problem of auto-grouping of import statements from the same package with '*'. Refer below for the tips:

Go to Settings (Ctrl – Alt – S) -> Editor -> Code Style -> Java. Under the imports tab, enter a high value, e.g. 999, for “Class count to use import with ‘*’.

Cheers!