google / google/google-java-format

Spring Tool Suite not picking up the plugin

未关闭
#297 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Eclipse
主要语言
Java
星标
6.2k
派生
937
平均合并
6 分钟
30 天内合并 PR
3

描述

Using latest version (3.9.5.RELEASE)
Build Id: 201807031753
Platform: Eclipse Photon (4.8.0)

I copy the google-java-format-eclipse-plugin_1.6.0.jar file into dropins directory, restart STS, but still don't see the google-java-format option under Preferences -> Java -> Code Style -> Formatter.

When I use the previous version:
Version: 3.9.4.RELEASE
Build Id: 201804120921
Platform: Eclipse Oxygen.3a (4.7.3a)

And follow the same install, I do see the option.

Even when I took the 3.9.4 STS and updated it to 3.9.5 (updates parts of it but not the Eclipse platform):
Version: 3.9.5.RELEASE
Build Id: 201807031734
Platform: Eclipse Oxygen.3a (4.7.3a)

And follow the same install, I still do see the option.

Is the plugin supported by Eclipse Photon 4.8.0? Or is there any way to troubleshoot?

贡献指南

打开贡献指南

调研方向

在使用 Eclipse Photon 4.8.0 的 STS 3.9.5 上,于 dropins 目录中使用 google-java-format-eclipse-plugin_1.6.0.jar 重现安装,然后将其与 Eclipse Oxygen 上的 STS 3.9.4 进行比较。检查 Formatter 是否显示在 Preferences -> Java -> Code Style -> Formatter 下。完成标准是确定 Photon 兼容性问题,或确认受支持的平台,并记录故障排查结果。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。