News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Does "auto-complete" available in Code::Blocks?

Started by clarkyzl, July 08, 2010, 03:52:02 AM

Previous topic - Next topic

clarkyzl

Hi, I am a ubuntu user. I use Code::Blocks to write wxWidgets programs.
I hava found a problem: when I write wxWidgtes programs, "auto-complete" is not available.
Does "auto-complete" available in Code::Blocks?

ollydbg

Quotewhen I write wxWidgtes programs, "auto-complete" is not available.
It works Ok, so, you need to give more information (sample code or other things)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

clarkyzl

Quote from: ollydbg on July 08, 2010, 04:02:05 AM
Quotewhen I write wxWidgtes programs, "auto-complete" is not available.
It works Ok, so, you need to give more information (sample code or other things)

For example, code like this

wxMenuBar* MenuBar1 = new wxMenuBar();
MenuBar1->// Here, there is no hint for any member functions.

ollydbg

It works ok.

See:



I'm not sure what's the problem you have. The only guess is : Did you install the wxWidgets library correctly???
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

blueshake

what version of cb do you use?  codeblock8.02 can not do this/
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

clarkyzl

Quote from: blueshake on July 08, 2010, 04:58:06 AM
what version of cb do you use?  codeblock8.02 can not do this/
Yeah, You are right, I am using a codeblocks8.02. I think my wxWidgets intalled correctly.

clarkyzl

Quote from: ollydbg on July 08, 2010, 04:21:38 AM
It works ok.

See:



I'm not sure what's the problem you have. The only guess is : Did you install the wxWidgets library correctly???

well, I think it's a problem of previous version

MIH1406

Quote from: blueshake on July 08, 2010, 04:58:06 AM
what version of cb do you use?  codeblock8.02 can not do this/

Why it cannot? Is there a plugin for that?

MortenMacFly

Quote from: MIH1406 on September 02, 2010, 02:30:43 AM
Why it cannot? Is there a plugin for that?
This version of C::B (08/02) is really old. That time the CC plugin was unable to handle this condition, most likely.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

eoneuk

#9
I am having the same problem regarding wx auto-complete. Wx projects compile, link,  and run just fine.

All other (classes, STL, etc.) auto-complete OK.

Using Windows XP Pro  SP3    Code::Blocks SVN 6508

Would appreciate some direction in resolving this.

Ed