Page 1 of 1

c/c++ IDE autocomplete issue

Posted: Tue Oct 04, 2011 7:33 pm
by Badhan
hello guys,
i am working on Netbeans IDE 6.9.1 for a OsDev project for learning purpose.
The Source codes are in C/C++ mainly. I am using couple of Makefiles as well.

The problem which i am facing is:
when i create a Netbean project by existing source files, i do not get the Code auto complete facility. That means, i dont get any suggestions from IDE.

i give you an example:
When i Type like: myclass->
After this Arrow , i wish to see all members of this class. There is nothing like a pop-up menu, where i can choose any function/member variable.

I hope, you understand what i mean.

But, if i generate a Project by Netbeans Templates, i have these facilities.

I am curious to know, if this happened to someone else too.
Can someone recommend me for any good IDE.
my platform is:
Ubuntu 9.10
Source codes: C/C++/As
with Existing Source Files

Re: c/c++ IDE autocomplete issue

Posted: Tue Oct 04, 2011 7:37 pm
by Love4Boobies
Have you tried the NetBeans documentation? I know this is the General Programming subforum but it would make much more sense to seek help in the NetBeans community than here if you want to get your problem solved.

Re: c/c++ IDE autocomplete issue

Posted: Tue Oct 04, 2011 7:40 pm
by NickJohnson
Have you tried asking on a NetBeans forum of some sort first?

I don't know much about NetBeans (I use gvim and xterm,) but it seems like the way in which you imported your source files didn't properly register them with the IDE. Try looking for specific instructions on how to import existing files into a project, if you haven't already. I've found most IDEs (well, Eclipse anyway) pretty confusing and blackbox-y when it comes to tracking files, and it is often easy to screw up when importing stuff.

Re: c/c++ IDE autocomplete issue

Posted: Tue Oct 04, 2011 7:46 pm
by Badhan
You are right, i would have think about it to search for this specific problem in Netbeans Docus/forum.

I tried some other IDEs including CodeBlocks, Eclipse. But they were not as comfortable for me as netbeans.

thank you for tips. I am giving search for this.

Re: c/c++ IDE autocomplete issue

Posted: Tue Oct 04, 2011 8:32 pm
by brandonhill7
Have you tried Ctrl-Space? That is supposed to bring up the auto complete dialog.

Re: c/c++ IDE autocomplete issue

Posted: Tue Oct 04, 2011 9:13 pm
by Badhan
brandonhill7 wrote:Have you tried Ctrl-Space?
Yes, i have tried. But it didnt work for me.

I recently solved this problem by creating my project folder in the NetbeansProject Directory.
/home/NetbeansProjects/..

The problems seems to be by CodeAssistant/codemanager or whateva..
But, doing that solved it.