[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: Applied [HEAD] w/some small ammendments Re: [cdt-patch] Code completion - first round
|
----- Original Message -----
From: "John Camelon" <jcamelon@xxxxxxxxxx>
> Bogdan has promised to address the one failure in
> AutomatedIntegrationSuite with the addition of the new code-completion
> reworking within the next 15 minutes.
>
> QNX-ers, give this a try and let Hoda know if there are any problems.
Hey Hoda, John, Bogdan,
Nice work! I was looking through the code and it looks great. The bad
news
is that I can't seem to get it working. Neither the search nor the code
completion
is working for me. (Note, I've never been able to get the search working
yet).
Essentially I have a single file (at the bottom) and I can trace through
the code
completion stuff and I see it calling into the search and it doesn't come
back with
any result. I've enabled the new indexer and disabled the old CTags and
somewhere
in the search I get no results.
I'm sure this is operator error ... but I need a hand tracking that down.
Thanks,
Thomas
--- Source code ----
#include <stdlib.h>
#include <stdio.h>
#define MYMACRO(x, y) x = y
#define MYNEWMACRO(y, x) y = x
/**
* This function does really cool stuff..
*/
void afunction(int x, int y, int z) {
}
int
a1function(int a,
int b,
int c) {
return 0;
}
int
a2function(int d, int e)
{
return 0;
}
int bfunction(int x, int y) {
return x + y;
}
int bbfunction() {
return 0;
}
int main(int argc, char *argv[]) {
int member;
printf("Welcome to the Momentics IDE\n");
for(member = 0; member < 10; member++) {
printf("I have %d \n", member);
fflush(stdout);
}
af<CODE COMPLETE HERE>
return EXIT_SUCCESS;
}