google / google/google-java-format
google-java-format doesn't work in intellij idea,when i upgrad to jdk 21 with enable preview feature!~
Ouverte
IntelliJ
- Langage dominant
- Java
- Étoiles
- 6.2k
- Forks
- 937
- Merge moyen
- 6 min
- PR mergées (30 j)
- 3
Description
My code use some preview feature, such as string template.
the code likes below
```java
throw new IllegalArgumentException(STR."place:\{placeOrg.getName()},\{yearMonth}");
```
the error message is below
```
google-java-format failed. Does SchedulingAutomateFacade.java have syntax errors?
```
I worked with IntelliJ IDEA 2023.2.2
Does anyone can help me to solve this problem?
Thanks
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.