Java 8 code is automatically converted to some other format in intellij
已回答
I have this annoying issue that I am facing for a couple of days.
Whenever I write a code in Java 8 in Intellij, it automatically gets converted to some other format(Maybe java 11).
Below is the example :
Actual Code :
for (Attribute attribute : attributeList) { System.out.println(""); }
Converted Code :
for val attribute : attributeList { System.out.println(""); }
I don't know how to get rid of it. Can someone please help.
请先登录再写评论。
Hello,
Please tell what IntelliJ IDEA version do you use? Do you have any plugins installed like i.e. Advanced Java Folding? Thank you
You were right. I had Advanced Java Folding installed. Now my problem is solved. Thanks a ton.
Thank you for confirming it works now!:)