google / google/google-java-format

google-java-format doesn't work in intellij idea,when i upgrad to jdk 21 with enable preview feature!~

Đang mở
#973 5 bình luận 16 reaction 0 người được giao Xem trên GitHub
IntelliJ
Ngôn ngữ chính
Java
Star
6.2k
Fork
937
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.