Why does the C and C ++ IDE tool support what's available for managed platforms?

If you used any decent java or .net IDEs, you can see a lot of features that they provide that either do not exist in the c / C ++ IDE, or exist in a much more limited form.

I think of features like:

  • Code completion
  • Syntax errors (and compilation errors without the need for compilation)
  • Refactoring
  • Debugging (the amount of information that the debugger can show you about objects)
  • Research and analysis of the code (hierarchy of view types that calls this function, etc.)

What is the main feature of managed languages ​​that allows them to provide this (as best as possible) excellent tool support?

+5
source share
6 answers

C ++ is an extremely complex language for parsing. For parsers that handle it successfully (compilers), they are too slow and not flexible enough to support IDE-style code support. Unlike the compiler, in the IDE, the parser must be very fast and be able to process syntactically incorrect code. So far, no one has managed to do this, because people with the skills necessary for this are focused exclusively on real compilers.

Visual Studio 2010 has an updated IntelliSense C ++ engine. It took them many, many years to do this, but it has improved significantly.

+11
source

, C ++, , , () Java. , .

, C/++ , .

, C/++ , , .

+5

c/++-, vim, IDE, . .

: , vim - .

+4

++, , , , .

Visual Studio, , , ( 32- ), ( 2010), ++.

+2

open source -, NetBeans C/++ , , , , C/++.

+1

IDE - , . .

-2
source

All Articles