https://openjdk.java.net/jeps/394
idea version: 2021.3.2 (Ultimate Edition)
plugin version: 1.15.0.0
JDK version: Amazon corretto 17.0.2
the reformat doesn't work, if has the code below:
if (a instanceof String str) {
System.out.println(str)
}
the reformat will work, if I delete any code with "Pattern Matching for instanceof" operator
https://openjdk.java.net/jeps/394
idea version: 2021.3.2 (Ultimate Edition)
plugin version: 1.15.0.0
JDK version: Amazon corretto 17.0.2
the reformat doesn't work, if has the code below:
the reformat will work, if I delete any code with "Pattern Matching for instanceof" operator