Netbeans 7 vs Eclipse 3.6 for Java、git 和 vim

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

Netbeans 7 vs Eclipse 3.6 for Java, git and vim

javaeclipsegitvimnetbeans

提问by Marcus Maxwell

Both of them have a lot of features and are very popular, but which is better?

两者都有很多特点,也很受欢迎,但哪个更好呢?

To reduce subjective answers, please answer this points:

为减少主观回答,请回答以下几点:

  1. Code Refactoring.

  2. Unit testing, debugging.

  3. Git support.

  4. Vim support.(available plugins and their quality, eclim, jVi).

  5. Easy of use(theme support, formatting, configuration, other plugins).

  6. Maven and Ant support.

  7. Web development(glassfish, groove, grails, spring).

  8. Desktop app development.(swing, gwt, swt).

  9. Mobile development(Android support and other platforms)

  10. Game development(which engines have better support, for example Jmonkey uses Netbeans).

  11. Bonus question: Support of other languages Python, PHP, C++ and.

  1. 代码重构。

  2. 单元测试,调试。

  3. 支持 Git。

  4. Vim 支持。(可用插件及其质量、eclim、jVi)。

  5. 易于使用(主题支持、格式、配置、其他插件)。

  6. Maven 和 Ant 支持。

  7. Web 开发(glassfish、groove、grails、spring)。

  8. 桌面应用程序开发。(swing、gwt、swt)。

  9. 移动开发(Android支持等平台)

  10. 游戏开发(哪些引擎支持比较好,比如Jmonkey使用Netbeans)。

  11. 额外问题:支持其他语言 Python、PHP、C++ 和。

For every point that IDE does well, you can give it +1, so in the end:

对于IDE做得好的每一点,你可以给它+1,所以最后:

Netbeans 8

网豆8

Eclipse 7

日食 7

Conclusion: Which one is better overall and which you would choose for:

结论:总体而言哪个更好,您会选择哪个:

  1. Desktop development.
  2. Web development.
  1. 桌面开发。
  2. Web开发。

Additional question:

补充问题:

Which IDE is being used in major companies?(Google uses eclipse, Oracle use Netbeans)

各大公司都在用哪个IDE?(Google用eclipse,Oracle用Netbeans)

回答by Jesper

Note, these are largely my personal opinions; don't take everything too literally.

请注意,这些主要是我的个人意见;不要把一切都看得太字面。

Eclipse, NetBeans and also IntelliJ IDEA are all very good and capable IDEs. In the end, it doesn't really matter which one you choose; they are all more than good enough for serious professional software development for Java SE and Java EE. I've used all three.

Eclipse、NetBeans 和 IntelliJ IDEA 都是非常优秀且功能强大的 IDE。最后,你选择哪一个并不重要;它们对于 Java SE 和 Java EE 的专业软件开发来说已经足够好了。我三个都用过。

IDEA was tradionally known as the IDE with the best refactoring tools, but the current versions of Eclipse and NetBeans also have very good refactoring tools.

IDEA 传统上被称为具有最佳重构工具的 IDE,但当前版本的 Eclipse 和 NetBeans 也有非常好的重构工具。

IDEA has built-in Git support. Don't know about Eclipse and NetBeans.

IDEA 具有内置的 Git 支持。不知道 Eclipse 和 NetBeans。

NetBeans and IDEA have very good built-in Maven support. For Eclipse, you need a plug-in (for example m2eclipse) and in my experience it's not as well integrated as in NetBeans and IDEA.

NetBeans 和 IDEA 具有非常好的内置 Maven 支持。对于 Eclipse,您需要一个插件(例如 m2eclipse),根据我的经验,它的集成度不如 NetBeans 和 IDEA。

When you get the Java EE package of NetBeans, you get a bundled Glassfish server with it, which is very easy to use. I'm sure that with Eclipse and IDEA you can configure them to use Glassfish too, but it's undoubtedly going to be a little more work to setup than with NetBeans.

当您获得 NetBeans 的 Java EE 包时,您将获得一个捆绑的 Glassfish 服务器,它非常易于使用。我敢肯定,使用 Eclipse 和 IDEA,您也可以将它们配置为使用 Glassfish,但与使用 NetBeans 相比,设置起来毫无疑问会多一些。

NetBeans has a great Swing GUI builder. Eclipse doesn't have a built-in GUI builder, but you can get Google WindowBuilder Prowhich supports Swing, SWT and GWT.

NetBeans 有一个很棒的 Swing GUI 构建器。Eclipse 没有内置的 GUI 构建器,但您可以获得支持 Swing、SWT 和 GWT 的Google WindowBuilder Pro

The official Android SDK etc. comes with a set of Eclipse tools. IDEA also has support for Android development, but I don't know how good it is.

Android SDK 等官方自带一套Eclipse 工具。IDEA也有对Android开发的支持,但不知道好不好。

Last time I tried, the support for other languages than Java (for example, JavaScript) was better in NetBeans than in Eclipse.

上次我尝试时,NetBeans 中对 Java 以外的其他语言(例如 JavaScript)的支持比 Eclipse 更好。

As far as I know, Eclipse is still the number one most used Java IDE, but NetBeans and IDEA are also very popular.

据我所知,Eclipse 仍然是使用最多的 Java IDE,但 NetBeans 和 IDEA 也很受欢迎。

For Scala development, IDEA has the best support at the moment in my opinion. The Scala team is working on an Eclipse-based IDE for Scala, but in my experience it is less stable than IDEA's Scala support. For NetBeans, there is a Scala plug-in but only one person seems to be working on it; last time I used it, it was buggy, slow and had memory leaks.

对于 Scala 开发,目前我认为 IDEA 有最好的支持。Scala 团队正在为 Scala 开发基于 Eclipse 的 IDE,但根据我的经验,它不如 IDEA 的 Scala 支持稳定。对于 NetBeans,有一个 Scala 插件,但似乎只有一个人在开发它;我上次使用它时,它有问题,速度慢并且有内存泄漏。