Difference between revisions of "Code::Completion Rewrite"

From Code::Blocks
Line 11: Line 11:
 
=== Current Data Model ===
 
=== Current Data Model ===
 
Also to appear at some near date.
 
Also to appear at some near date.
 +
 +
== More complex cases of C::C usage ==
 +
 +
Here we can put some more comples examples of c++ code where C::C may fail. Symbols that may be hard to find should be marked in bold
 +
 +
=== 1: Fetching type of operator call ===
 +
 +
#include <string>
 +
using namespace std;
 +
 +
int main(int,char**)
 +
{
 +
    ( string("first") + "second" + "third" ) . '''c_str'''();
 +
    return 0;
 +
}

Revision as of 12:16, 11 March 2008

Background

The current Code::Completion plug-in has some flaws, and is currently development frozen. The current plug-in lacks full support for:

  1. function and class templates
  2. default arguments in some cases
  3. some of the more complicated c++ mucky business

Current Effort

Current Specification

To appear at some near date.

Current Data Model

Also to appear at some near date.

More complex cases of C::C usage

Here we can put some more comples examples of c++ code where C::C may fail. Symbols that may be hard to find should be marked in bold

1: Fetching type of operator call

#include <string>
using namespace std;

int main(int,char**)
{
    ( string("first") + "second" + "third" ) . c_str();
    return 0;
}