c/c++ IDE autocomplete issue

Programming, for all ages and all languages.
Post Reply
Badhan
Posts: 9
Joined: Mon Sep 05, 2011 9:15 am

c/c++ IDE autocomplete issue

Post 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
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: c/c++ IDE autocomplete issue

Post 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.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
NickJohnson
Member
Member
Posts: 1249
Joined: Tue Mar 24, 2009 8:11 pm
Location: Sunnyvale, California

Re: c/c++ IDE autocomplete issue

Post 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.
Badhan
Posts: 9
Joined: Mon Sep 05, 2011 9:15 am

Re: c/c++ IDE autocomplete issue

Post 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.
brandonhill7
Posts: 4
Joined: Tue Oct 04, 2011 4:15 pm

Re: c/c++ IDE autocomplete issue

Post by brandonhill7 »

Have you tried Ctrl-Space? That is supposed to bring up the auto complete dialog.
Badhan
Posts: 9
Joined: Mon Sep 05, 2011 9:15 am

Re: c/c++ IDE autocomplete issue

Post 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.
Post Reply