ArrayList auto complete

Answered

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
1 comment

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

Please sign in to leave a comment.