Eclipse 是最好的 Java IDE 吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/152691/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 08:58:29  来源:igfitidea点击:

Is Eclipse the best IDE for Java?

javaeclipseide

提问by

Is Eclipse the best IDEfor Java?

Eclipse 是IDEJava的最佳选择吗?

If not, is there something better?

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

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

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

回答by Ken

Eclipse! It can be slow at times and uses a lot of memory but it works well.

蚀!它有时可能很慢并且使用大量内存,但它运行良好。

回答by Flint

This is subjective... I find it to be a good tool.

这是主观的......我发现它是一个很好的工具。

It depends what kind of development you're doing - for EJB stuff, many folk would favour Netbeans. It also depends how much you want to spend - I assume you're talking about free IDEs?

这取决于你在做什么类型的开发——对于 EJB 的东西,很多人会喜欢 Netbeans。这也取决于你想花多少钱 - 我假设你在谈论免费的 IDE?

回答by GustyWind

IntelliJ is good one but its not free!!Then NetBeans is also a good option.Also if you are IBM suite WSAD is good

IntelliJ 不错,但它不是免费的!!那么 NetBeans 也是一个不错的选择。另外,如果您是 IBM 套件,WSAD 也不错

回答by Rayne

In my opinion if you got the resources to use, then go with eclipse. NetBeans which is awesome like eclipse is another best option, these are the only 2 I've ever used (loved, needed, wanted)

在我看来,如果您有可用的资源,请使用 eclipse。NetBeans 和 eclipse 一样棒,是另一个最佳选择,这是我唯一使用过的 2 个(喜欢、需要、想要)

Eclipse is hands down the most popular, and for good reason!

Eclipse 无疑是最受欢迎的,这是有充分理由的!

Hope this helps.

希望这可以帮助。

回答by Josh Smeaton

Agreeing with the others. Netbeans is a pretty good IDE which also caters for other languages (PHP, Ruby, C/C++) if you're prone to using any of those. Then you get the added benefit of knowing your way around the IDE when deciding to pick up a new language.

同意其他人的意见。Netbeans 是一个非常好的 IDE,如果您倾向于使用其他语言(PHP、Ruby、C/C++),它也适用于其中任何一种。然后,在决定选择一门新语言时,您会获得了解 IDE 的额外好处。

To be fair however, I haven't had much time with the eclipse IDE.

然而,公平地说,我没有太多时间使用 Eclipse IDE。

回答by Martin B?gelund

It is often said that there are better IDE's for various languages (eg Java) than Eclipse.

人们常说,对于各种语言(例如 Java),有比 Eclipse 更好的 IDE。

The power of Eclipse is that it's basically the same IDE for manylanguages, meaning that if you know you'll have to code in several programming languages (Java, C++, Python) it's a huge advantage that you only have to learn one IDE: Eclipse.

Eclipse 的强大之处在于它对于许多语言来说基本上是相同的 IDE ,这意味着如果您知道必须使用多种编程语言(Java、C++、Python)进行编码,那么您只需学习一种 IDE,这是一个巨大的优势:蚀。

回答by Tim Visher

Let me just start out by saying that Eclipse is a fantasticIDE 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 是适用于 Java 和许多其他语言的出色IDE。它的插件架构和可扩展性是难以匹敌的,而且免费的事实对于较小的团队或预算紧张的团队来说是一个巨大的优势。

A few things that I hateabout 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 reallygood 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, nothinglike 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 中的给定特性,通过浏览它的文档却发现它一开始就完全是垃圾。
  • 尽管项目规模很大,但我发现社区非常缺乏和/或令人困惑,以至于难以参与。我已经尝试过多次获得有关特定主题或插件的帮助,但只发送给 3 或 4不同的新闻组都指向另一个新闻组或只是简单地不响应。这可能非常令人沮丧,因为我使用的较小的开源产品非常适合回答我的问题。也许这只是社区规模的一个函数。
  • 如果您需要超出其发行版之一的捆绑功能(例如,捆绑了 WTP 之类的东西的 Eclipse for Java EE Developers 发行版)的功能,我发现额外插件的安装过程非常痛苦。我不知道为什么他们不能让这个过程更简单(或者我可能只是在家里的 Mac 上被宠坏了,不知道它在“真实”世界中到底有多糟糕)但如果我不仅仅是不成功,通常需要几个小时才能安装新插件。这应该是他们在 3.4 中的目标之一(使新项目的安装更简单);如果他们成功了,我不知道。
  • 非常缺乏书籍和实际教程形式的文档。我想要一个像 Eclipse 这样密集且功能丰富的东西的主演练;上面写着:“嘿,您知道此功能吗?它如何真正提高您的工作效率?”。据我所知,存在这样的东西。如果你想了解 Eclipse,你有一个选择,坐下来玩它(字面意思是玩它,而不仅仅是查看一个功能并阅读它的文档,因为它可能不存在或不存在)错误的)。

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.

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

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 anyonewould 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 Eclipseis a highly recommended version that I've seen all over the net that is really veryaffordable (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.

我对其他 IDE 或 Eclipse 的其他发行版没有足够的经验(我已经多次看到 RAD 工作;我不敢相信有人会为此付出代价)来评论它们,但在很大程度上,我对 Eclipse 感到非常满意。我从多个地方听到的一个提示是,如果您希望 Eclipse 没有直接安装带来的很多麻烦,请使用付费发行版。我的 Eclipse是我在网上看到的强烈推荐的版本,它真的非常实惠(我最后一次听说,发行版 50 美元加上一年的免费升级)。如果您有预算并需要附加功能,我会选择类似的东西。

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

无论如何,我已经尽量详细说明了。我希望这对您的搜索有所帮助并祝您好运!:)

回答by Darron

Eclipse was the first IDE to move me off of XEmacs. However, when my employer offered to buy me a Intellij IDEA license if I wanted one it only took 3 days with an evaluation copy to convince me to go for it.

Eclipse 是第一个让我离开 XEmacs 的 IDE。但是,当我的雇主提出要为我购买 Intellij IDEA 许可证(如果我想要)时,仅用了 3 天的评估副本就说服我去做了。

It seems like so many small things are just nicer.

似乎很多小东西都更好。

回答by Brian Knoblauch

I'd have to vote for Netbeans as the best one currently. Eclipse is decent, but right now Netbeans is better.

我必须投票支持 Netbeans 作为目前最好的一个。Eclipse 不错,但现在 Netbeans 更好。

回答by warsze

This is not really an answer, just an anecdote. I worked with guys who used emacs heavily loaded with macros and color coded. Crazy! Why do that when there are so many good IDEs out there?

这不是真正的答案,只是一个轶事。我和那些使用大量宏和颜色编码的 emacs 的人一起工作。疯狂的!既然有这么多好的 IDE,为什么还要这样做呢?