User forums > Help

Code completion?

(1/2) > >>

tulsoba:
It seems that code completion only works when using std:: and for functions that have been declared.

But why does it not work for previous declared variables?

int myinteger = 44;

normally in this case you would type:

myint

followed by ctrl+space

which gives myinteger.

Likewise it could also be nice if the dot operator also gave a list of available functions:

std::string mystring = "abs"

abs.

but that does not work either!

Will any of this be implemented in a future release?

raph:
It is already working.
1.) Be sure to use a current nightly build (not rc2)
2.) You have to create a project first

tulsoba:
nightly builds are under construction:

http://www.codeblocks.org/nightly/

First I tried this link:

http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_Ubuntu6.xx.deb

but I get a timeout each time I try to download. Then I found a link to a Ubuntu 7.04 version in this post:

http://forums.codeblocks.org/index.php/topic,5681.0.html

reply #4 which I have installed. I have made sure to make a project for my files, but I still can only get code completion when typing std::

magisu:
you should use the nightly builds in the forum, not there.

tulsoba:
The only place I can found a version to download is from the forum with the snapshots:

A recent development snapshot which can be found here (recommended).
http://forums.codeblocks.org/index.php?board=20.0

That group is also called the nightly builds:

Code::Blocks > User forums > Nightly builds

but I still cannot download from the link:
http://prdownload.berlios.de/codeblocks/CB_20070419_rev3876_Ubuntu6.xx.deb

have tried for two days now, but just get a timeout after some time.

But as I said the same post contains a version for Ubuntu 7.04
http://www.savefile.com/projects/808471604

which I have downloaded (where code completion only works when using std::).


Navigation

[0] Message Index

[#] Next page

Go to full version