Alex Rivera | Logout

As of 2011: Netbeans 7 or Eclipse Indigo for C++?

Asked 2011-07-06T15:58:06.863
20

This is basically a duplicate of: Netbeans or Eclipse for C++?

But, that question as 3+ years old, and a lot has changed since then.

I have a large code base with a custom (but Makefile based) build system. The areas I am specifically wondering about include:

  1. Syntax highlighting
  2. Code navigation.
  3. Code hints.
  4. "ReSharper style" code helpers.
  5. Documentation integration.
  6. Debugger UI and features.

Has anyone had the chance to evaluate both Netbeans and Eclipse?

EDIT: As a followup question, are any of the Netbeans users here concerned with its future given Oracle's recent bad history with "open" efforts? (Open Solaris, MySQL, Open Office)

Thank you

Edit
Report

2 Answers

11

I cannot comment on eclipse, but on netbeans 7 I will say things that are very important for me and that work fine so far:

  • code completion, go to declarations
  • pkg-config automatic include management for parsing

stuff that sometimes works and sometimes don't

  • find usages, sometimes it might fail to find usages in other open projects
  • debugger sometimes gets confused with unittest-cpp macros and it will not go on the appropiate line

stuff that are not yet working and i care deeply:

  • C++0x syntax highlighting (auto, lambdas, enum class, variadic templates, none of them are recognized by the built-in parser)

stuff that is not quite working but i could not care less:

  • git integration. I enjoy using git from command-line so this is a non-issue

in all, the IDE is very usable. I hope to have a chance to try out latest cdt on Indigo Eclipse, but so far i haven't that much of a real reason to investigate

answered 2011-07-11T02:23:39.983
0

One particular issue that causes me quite a lot of grief with Netbeans 7.0 is that it tends to want to work with utf8 files, and not all of out c++ projects are utf8. It will issue a warning about opening such a file, and if you do open it, will corrupt said file, which is a pain.

I've not found out how to properly make netbeans handle this. Apparently the encoding can be changed, but for the entire project. So presumably changing it to us-acii would stop this problem, although non ascii characters wouldn't display properly.

answered 2011-07-18T16:20:52.307

Your Answer