google / google/google-java-format

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

オープン
#973 コメント 5 件 リアクション 16 件 担当者 0 名 GitHub で見る
IntelliJ
主要言語
Java
スター
6.2k
フォーク
937
平均マージ
6分
マージ済み PR(30日)
3

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。