News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Problem with Code-Completion in 1.0-rc2

Started by surfmasta, January 22, 2006, 12:29:07 AM

Previous topic - Next topic

surfmasta

Hi,

i've installed Codeblocks 1.0-rc2 on my gentoo and it works fine so far.
I tried out the code-completion, but can't get it to work. I made a new project and inserted a file with this content:

#include <stdio.h>

struct Position
{
   int x;
   int y;
};

int main() {
    struct Position var;
    var.x = 2;
    var.y = 5;  // Here i want a code-completion when i'm typing var. , but nothing happens :-(
    printf("%d + %d = %d\n", var.x, var.y, var.x + var.y);
    return 0;
}

Why it doesn't work? Is it possible too to get a autohint-feature when i'm typing printf( ?
I checked "follow local includes", "follow global includes", "parse preprocessor directives" in the parser-tab and enabled all code-completion things in the code-completion-tab. In "manage plugins" code-completion is checked.

Michael

Hello,

Code completion is still WIP :). You might want to search in the forum for helpful topics/posts.

Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

oBFusCATed

Quote from: Michael on January 22, 2006, 02:33:25 PM
Hello,

Code completion is still WIP :). You might want to search in the forum for helpful topics/posts.

Michael

Or you can use the codeblocks_svn ebuild from here: http://bugs.gentoo.org/show_bug.cgi?id=89533#c23
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]