google / google/google-java-format

Plugin doesn't include Profile?

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

描述

So I tried to get the plugin setup in Eclipse (neon 2) today. I tried both 1.3 (as is linked from the main README) and 1.5. With either of them I see the implementation added in `Window > Preferences > Java > Code Style > Formatter > Formatter Implementation`, however there isn't a profile added to the "Active Profile" dropdown (which means Eclipse's profile is left as default).

I opened a java class, autoformatted it, which used the google formatting (great). However, when I then added a new line it included a tab along with the spaces, when I press tab it actually tabs (vs. inserting spaces as indicated in the style)...

Also note when 1.5 is installed the implementation dropdown still shows 1.4.

貢獻指南

開啟貢獻指南

研究方向

在 Eclipse Neon 2 中使用 README 中連結的 plugin 版本重現設定,並檢查 Formatter Implementation 和 Active Profile 設定。驗證遺失的設定檔、混合定位點行為和版本標籤;當 plugin 提供預期的設定檔,並正確回報已安裝的實作版本時,即表示完成。

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

評估

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

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

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