Code::Blocks Forums
User forums => Help => Topic started by: tulsoba on April 22, 2007, 09:04:39 pm
-
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?
-
It is already working.
1.) Be sure to use a current nightly build (not rc2)
2.) You have to create a project first
-
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::
-
you should use the nightly builds in the forum, not there.
-
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::).
-
The problem is, that berlios the server is currently down.
That's why there weren't any new nightlies for three days :(
-
Ok but should this version:
http://www.savefile.com/projects/808471604
not work correct?
-
Ok the link now works:
http://prdownload.berlios.de/codeblocks/CB_20070419_rev3876_Ubuntu6.xx.deb
but after installing code completion still not works for "." operator or when pressing Ctrl+space. It still only works when I type std::. But maybe it will be repaired in a future release, until then I will use eclipse CDT.