User forums > Using Code::Blocks

One question

(1/4) > >>

vso:
There are one thing In Borland Builder and Microsoft MVS: when you press ctrl+space you see little helps as a list, and there are all variables and functions and others from your file and all includes in you file. Is there that thing in Code::Blocks? When I press ctrl+space in Code::Blocks I see the list but there are only local variables, but there are not identifiers declared in includes(headers)... My english is bad, and if you can understrand me, please answer maximum simply.

Biplab:
In short, Yes! It's called Code Completion in Code::Blocks.  :)

I use MSVC05 and I can assure you, it's code-completion is not perfect. It throws a lot of unnecessary informations. In Code::Blocks, this is quite clear.

You should see identifiers, declared in headers in C::B, too if you've included appropriate header. Also try to use latest nightlies, as devs are improving it further.  :)

vso:
for example I write in c::b in console app. that code:


--- Code: ---#include <stdio.h>
#include <conio.h>

int main()
{
int a;

return 0;
}
--- End code ---

and when I press ctrl+space when cursor stay after "int a", I see in the list only:

variable       a : int
function      main() : int

but I want to see all declarations from stdio.h and conio.h. What can I do for kill this problem? The same code in Borland Builder - I see list consists of many-many declares...

Biplab:
Type in few characters first and then press Ctrl+Space. E.g., to write system, type sy and then press Ctrl+Space; you'll get the options.

vso:
not working.
Or that code for example

#include <stdio.h>

int main()
{
   int a;
   scanf("%d",&a);
   return 0;
}


it's compiling without any prolems. But when I type sc (for find scanf) and press ctrlspace the list does not appear, and when i do right click on "scanf" and chooze find declaration c::b say that "not found: scanf".

Navigation

[0] Message Index

[#] Next page

Go to full version