google / google/google-java-format

IntelliJ plugin not working

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

説明

# Summary

Following the [instructions](https://github.com/google/google-java-format/blob/master/README.md#intellij-android-studio-and-other-jetbrains-ides), I'm unable to get the formatter plugin to work.

# Details

I've completed all steps in the instructions:
1. Installed plugin
2. Enabled the plugin in "Settings -> Other Settings -> google-java-format Settings":
![image](https://github.com/user-attachments/assets/138c0e4b-34e4-43a0-adcf-1749706b7335)

3. Updated the configs in "Help > Edit Custom VM Options...":
![image](https://github.com/user-attachments/assets/cf199c81-7e10-40a7-8a9b-c46f52e91bd8)
4. Restarted the IDE

But I still get the following error when attempting to run "Reformat code" command:
![image](https://github.com/user-attachments/assets/d73257fa-bb1a-4ac4-952a-191c3e8f1aa0)

## Environment
- Plugin version: 1.22.0.0
![image](https://github.com/user-attachments/assets/56a3eb43-d702-4a01-8c8d-eb98d669f682)

- IntelliJ version: IntelliJ IDEA 2024.1.3 (Ultimate Edition)

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

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

評価

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

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

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