How to I disable import shortening?

Answered

import java.util.List;

import java.util.ArrayList;

import java.util.Iterator;

import java.util.Comparator;

 

If I add java.util.Collections by refactoring, the import list turns into one line like this:

 

import java.util.*;

 

How can I disable this?

0
1 comment

File > Settings > Editor > Code Style > Java > Imports > "Class count to use import with '*" and "Names count to use static import with '*'"

Set both to 9999 or so.

 

0

Please sign in to leave a comment.