ArrayList auto complete

已回答

Hi guys:

When i type "Arr + tab", Intellj will auto-complete with  "ArrayList" instead of ArrayList<>. The diamond symbol is missing. I double check the project sdk is using JDK 1.8,  8 lambda. 

Any of you know how to fix this? 

 

 

Cheers

0

Please provide the use case, don't you need to specify the type? If you are completing after new, the diamond will be inserted automatically.

0

请先登录再写评论。