什么是 Java 开发人员最好的免费 Eclipse 插件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/84799/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the single best free Eclipse plugin for a Java developer
提问by Bill Michell
Some Eclipse plugins are mandated by your environment. The appropriate source code management plugin, for example - and I'm not interested in those.
某些 Eclipse 插件是您的环境所要求的。例如,适当的源代码管理插件 - 我对这些不感兴趣。
Some provide useful enhancements, but in a specific niche. I'm not interested in those.
有些提供了有用的增强功能,但在特定的细分市场中。我对那些不感兴趣。
Some are great, but cost money. I'm not interested in those.
有些很棒,但要花钱。我对那些不感兴趣。
Some were really useful on older versions of Eclipse, but are now part of the core build of the latest Eclipse version (3.4 as I write this). I'm not interested in those.
有些在旧版本的 Eclipse 上非常有用,但现在是最新 Eclipse 版本(我写这篇文章时为 3.4)的核心构建的一部分。我对那些不感兴趣。
I want advice on which plugins every Java SE developer should be installing, one per answer please.
我想要关于每个 Java SE 开发人员应该安装哪些插件的建议,请每个答案一个。
采纳答案by izb
Findbugs saved me doing something silly twice today.
Findbugs 让我今天做了两次傻事。
http://findbugs.sourceforge.net/
http://findbugs.sourceforge.net/
Eclipse update site is: http://findbugs.cs.umd.edu/eclipse/
Eclipse 更新站点是:http: //findbugs.cs.umd.edu/eclipse/
回答by Paul Whelan
回答by Paul Whelan
Subclipse SVN for eclipse Update URL: http://subclipse.tigris.org/update_1.4.x
Eclipse 更新 URL 的 Subclipse SVN:http: //subclipse.tigris.org/update_1.4.x
回答by Bill Michell
Answering my own question with my current favourite, Jadclipse, which works with jad to disassemble class files from third party libraries.
用我目前最喜欢的 Jadclipse 回答我自己的问题,它与 jad 一起从第三方库中反汇编类文件。
回答by Joe Dean
If you use Hibernate then Hibernate Toolsis a must. I really like the ability to write my HQL or JPQL and view the generated SQL real time!
如果您使用 Hibernate,那么Hibernate Tools是必须的。我真的很喜欢能够编写我的 HQL 或 JPQL 并实时查看生成的 SQL!
If you're not using Hibernate I'm guessing your using a database in some form or another. Therefore, I would recommend the Data Tools Platform. In fact, you would be crazy to develop Java apps without using all the plugins provided by the Eclipse GanymedeRelease. It's a great development platform without the headache of getting all the must have plugins synced up and working together.
如果您不使用 Hibernate,我猜您正在使用某种形式的数据库。因此,我会推荐Data Tools Platform。事实上,如果不使用Eclipse GanymedeRelease提供的所有插件,开发 Java 应用程序会很疯狂。这是一个很棒的开发平台,没有让所有必备插件同步并协同工作的麻烦。
回答by Paul Wicks
The Eclipse TPTPcan be incredibly useful for finding the slow spots in code and for anything else that would requiring debugging, profiling, or benchmarking. The only flaw is that it doesn't work on the mac :'(.
在Eclipse的TPTP可用于查找代码慢点和其他任何将需要调试,分析,或基准非常有用的。唯一的缺陷是它在 mac 上不起作用 :'(.
回答by Aleksandar Dimitrov
My answer to this is clearly eclim. It exports Eclipse functionality to Vim, enabling me to use several awesome features of Eclipse, like auto-completion, autobuild and error-markup in the source file (using locations in Vim), auto-formatting, automatic imports, JavaDoc search, Source code Search... blah, I could go on forever. The most important thing is: I don't have to use the suck that is the Eclipse Java Editor (to me, editor quality is always subjective, of course).
我对此的回答显然是eclim。它将 Eclipse 功能导出到 Vim,使我能够使用 Eclipse 的几个很棒的功能,例如源文件中的自动完成、自动构建和错误标记(使用 Vim 中的位置)、自动格式化、自动导入、JavaDoc 搜索、源代码搜索......等等,我可以永远继续下去。最重要的是:我不必使用 Eclipse Java 编辑器(当然,对我来说,编辑器的质量总是主观的)。
Check out the site if you're into Vim, but forced/tempted to use Eclipse for one reason or another.
如果您喜欢 Vim,但出于某种原因被迫/想使用 Eclipse,请查看该站点。
回答by billjamesdev
Seems like you can't really answer this question without having a focus for your development in Eclipse. I guess everyone needs a build and dependency system, so maybe Maven tools will win?
如果不专注于您在 Eclipse 中的开发,您似乎无法真正回答这个问题。我想每个人都需要一个构建和依赖系统,所以也许 Maven 工具会赢?
- http://m2eclipse.codehaus.org/<-- nice for managing your projects pom.xml
- http://code.google.com/p/q4e/<--- nice for managing your Maven repositories from Eclipse
- http://m2eclipse.codehaus.org/<-- 很适合管理你的项目 pom.xml
- http://code.google.com/p/q4e/<--- 非常适合从 Eclipse 管理您的 Maven 存储库
回答by billjamesdev
I do really like the Andrei Loskutov's plugins:
我真的很喜欢 Andrei Loskutov 的插件:
回答by Stu Thompson
Eclipse Metrics Feature(update site). The blurb:
Eclipse Metrics Feature(更新站点)。简介:
This Eclipse plugin calculates various metrics for your code during build cycles and warns you, via the Problems view, of ‘range violations' for each metric. This allows you to stay continuously aware of the health of your code base. You may also export the metrics to HTML for public display or to CSV format for further analysis.
这个 Eclipse 插件会在构建周期内为您的代码计算各种指标,并通过问题视图警告您每个指标的“范围违规”。这使您可以持续了解代码库的健康状况。您还可以将指标导出为 HTML 以供公开显示或导出为 CSV 格式以供进一步分析。
- Recalculation of metrics during every build
- Export of metrics to CSV or HTML
- Visual ‘dashboard' with HTML export
- Supported metrics are:
- McCabe's Cyclomatic Complexity
- Efferent Couplings
- Lack of Cohesion in Methods
- Lines Of Code in Method
- Number Of Fields
- Number Of Levels
- Number Of Parameters
- Number Of Statements
- Weighted Methods Per Class
- 在每次构建期间重新计算指标
- 将指标导出为 CSV 或 HTML
- 带有 HTML 导出的可视化“仪表板”
- 支持的指标有:
- McCabe 的圈复杂度
- 传出耦合
- 方法缺乏凝聚力
- 方法中的代码行
- 字段数
- 级别数
- 参数数量
- 语句数
- 每类加权方法
(actually, I love FindBugs more, but this project is second.)
(实际上,我更喜欢 FindBugs,但这个项目是第二个。)