google / google/google-java-format

Before commit reformatting option in IntelliJ does invoke plugin

未關閉
#1,070 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
IntelliJ
主要語言
Java
星號
6.2k
分支
936
平均合併
6 分鐘
30 天內合併 PR
3

描述

The same issue is mentioned there
https://github.com/google/google-java-format/issues/228

I use the plugin google-java-format and want to execute formatting before committing. I enabled the Reformat Code and Optimize Imports parameters in the commit settings, but nothing happened.

My setup is:
IntelliJ @ IC-233.14475.28
google-java-format plugin @ 1.19.2.0

貢獻指南

開啟貢獻指南

研究方向

使用啟用 Reformat Code 和 Optimize Imports 提交選項的 IntelliJ IC-233.14475.28 以及 google-java-format 外掛程式 1.19.2.0 重現此行為。將行為和脈絡與 issue 228 進行比較,然後追蹤 IntelliJ 提交整合。完成的標準是在提交前執行格式化和匯入最佳化。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。