Eclipse 是 Java 的最佳 IDE 吗?

2022-01-20 00:00:00 ide java eclipse

Eclipse 是 Java 的最佳 IDE 吗?

Is Eclipse the best IDE for Java?

如果没有,还有更好的吗?

If not, is there something better?

我想知道并可能尝试一下.谢谢.

I want to know and possibly try it out. Thanks.

推荐答案

首先让我说 Eclipse 是一个适用于 Java 和许多其他语言的出色 IDE.它的插件架构和可扩展性难以与之匹敌,而且它是免费的,这对于小型团队或预算紧张的团队来说是一个巨大的优势.

Let me just start out by saying that Eclipse is a fantastic IDE for Java and many other languages. Its plugin architecture and its extensibility are hard to rival and the fact that it's free is a huge plus for smaller teams or tight budgets.

我讨厌关于 Eclipse 的几件事.

A few things that I hate about Eclipse.

  • 确实缺乏文档.我不知道这些东西是谁写的,但如果它不只是完全丢失,那它就是不完整的.如果它不是不完整的,那么它就是完全错误的.我浪费了很多宝贵的时间来尝试使用 Eclipse 中的给定功能,但我浏览了它的文档却发现它一开始就是垃圾.
  • 尽管项目规模庞大,但我发现社区非常缺乏和/或令人困惑,难以参与.我曾多次尝试获得有关特定主题或插件的帮助,但最终被发送到3 或 4 个不同的新闻组都指向另一个新闻组,或者只是简单地不响应.这可能非常令人沮丧,因为我使用的更小的开源产品真的很适合回答我的问题.也许这只是社区规模的一个函数.
  • 如果您需要超出其中一个发行版捆绑功能的功能(例如,捆绑了 WTP 之类的东西的 Eclipse for Java EE Developers 发行版),我发现额外插件的安装过程非常痛苦/em>.我不知道为什么他们不能让这个过程更简单(或者我只是在家里的 Mac 上被宠坏了,不知道它在现实"世界中到底有多糟糕)但如果我不仅不成功,通常需要几个小时才能安装新插件.这应该是他们在 3.4 中的目标之一(使新项目的安装更简单);如果他们成功了,我不知道.
  • 书籍和实际教程形式的文档非常缺乏.我想要一个像 Eclipse 这样密集且功能丰富的东西的主演练;上面写着嘿,你知道这个功能以及它如何真正让你更有效率吗?".据我发现,没有这样的存在.如果你想弄清楚 Eclipse,你有一个选择,坐下来玩它(字面意思是玩它,而不仅仅是看到一个特性然后去阅读它的文档,因为它可能不存在或者是错误).
  • The documentation is really lacking. I don't know who writes the stuff, but if it's not just flatly missing, it's incomplete. If it's not incomplete, then it's just flat out wrong. I have wasted many precious hours trying to use a given feature in Eclipse by walking through its documentation only to discover that it was all trash to begin with.
  • Despite the size of the project, I have found the community to be very lacking and/or confusing enough to be hard to participate in. I have tried several times to get help on a particular subject or plugin only to be sent to 3 or 4 different newsgroups who all point to the other newsgroup or just plain don't respond. This can be very frustrating, as much smaller open source products that I use are really good about answering questions I have. Perhaps it's simply a function of the size of the community.
  • If you need functionality beyond the bundled functionality of one of their distros (for instance, the Eclipse for Java EE Developers distro which bundles things like the WTP), I have found the installation process for extra plugins excruciatingly painful. I don't know why they can't make that process simpler (or maybe I'm just spoiled on my Mac at home and don't know how bad it really is out in the 'real' world) but if I'm not just unsuccessful, oftentimes it's a process of multiple hours to get a new plugin installed. This was supposedly one of their goals in 3.4 (to make installation of new projects simpler); if they succeeded, I can't tell.
  • Documentation in the form of books and actual tutorials is sorely lacking. I want a master walkthrough for something as dense and feature-rich as Eclipse; something that says, 'hey, did you know about this feature and how it can really make you more productive?'. As far as I've found, nothing like that exists. If you want to figure out Eclipse, you've got one option, sit down and play with it (literally play with it, not just see a feature and go and read the documentation for it, because that probably doesn't exist or is wrong).

尽管有这些东西,Eclipse 确实是一个很棒的 IDE.它的重构工具工作得非常好.Javadoc 的处理工作完美.我们对 IDE 的所有期望都是它们的(代码完成、模板、与各种 SCMS 的集成、与构建系统的集成).它的代码格式化和清理工具非常强大.我发现它的构建系统运行良好且直观.我认为这些才是它真正建立声誉的基础.

Despite these things, Eclipse really is a great IDE. Its refactoring tooling works tremendously well. The handling of Javadoc works perfectly. All of features we've come to expect of an IDE are their (code completion, templates, integration with various SCMSs, integration with build systems). Its code formatting and cleanup tools are very powerful. I find its build system to work well and intuitively. I think these are the things upon which its reputation is really built.

我对其他 IDE 或其他 Eclipse 发行版没有足够的经验(我已经多次看到 RAD 在工作;我无法相信任何人会支付他们的费用'重新收费)对它们发表评论,但我对 Eclipse 大部分时间都很满意.我从多个地方听到的一个提示是,如果您希望 Eclipse 没有直接安装带来的很多麻烦,请选择付费发行版.My Eclipse 是我在网上看到的一个强烈推荐的版本,它真的非常/em> 负担得起(我上次听说,发行版 50 美元,外加一年免费升级).如果您有预算并且需要附加功能,我会选择类似的.

I don't have enough experience with other IDEs or with other distros of Eclipse (I've seen RAD at work quite a few times; I can't believe anyone would pay what they're charging for that) to comment on them, but I've been quite happy with Eclipse for the most part. One tip I have heard from multiple places is that if you want Eclipse without a lot of the hassle that can come with its straight install, go with a for-pay distro of it. My Eclipse is a highly recommended version that I've seen all over the net that is really very affordable (last I heard, $50 for the distro plus a year of free upgrades). If you have the budget and need the added functionality, I'd go with something like that.

无论如何,我已经尽力做到详细.我希望这对您的搜索有所帮助并祝您好运!:)

Anyway, I've tried to be as detailed as I can. I hope this helps and good luck on your search! :)

相关文章