Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does NetBeans facilitate code-completion for C++? If yes then what are the shortcuts to use it?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

Yes, it does.

You'll need C++ version of NetBeans or you'll need to download the C/C++ plug-in from plug-ins menu.

I can't remember all shortcuts since I haven't used in some time, but CTRL+SPACE is the one I used used the most.

Once you start typing code, you'll get menus under each keyword you start typing. Arrows and CRTL+SPACE are used to select available options.

share|improve this answer
    
I have installed C++ plugin for NetBeans. but CTRL+SPACE doe something else in Ubuntu. Do you think that there even exists auto-completion feature for C++ –  Akhil Sep 19 '10 at 19:50
    
I have used it on Solaris, so I know it is there for sure. I could have misremembered CTRL+SPACE. I'll boot Ubuntu and try it out now. –  AndrejaKo Sep 19 '10 at 20:58
1  
@Akhil It is CTRL+SPACE. Take a look at this pdf. According to my settings, that key changes keyboard layout in Ubuntu. You could try changing setting so that they do not conflict. Go to tools->options->keymap and type code in the search field. You'll get a list of all code completion settings there. –  AndrejaKo Sep 19 '10 at 21:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.