google / google/google-java-format
google-java-format doesn't work in intellij idea,when i upgrad to jdk 21 with enable preview feature!~
Offen
IntelliJ
- Vorherrschende Sprache
- Java
- Sterne
- 6.2k
- Forks
- 937
- Ø Merge
- 6 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.