You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, October 30th 2008, 4:48pm

Kdevelop C++ auto code completion

Hey all, I am very new to using Kdevelop, as you can see this is my first post, and I have a very basic question. I did a search for the answer but I can't find a how-to on this topic. I have been using eclipse for a while and it had many features I like that I have heard Kdevelop has but it, unlike Kdevelop, would crash every time I wanted to debug a simple program.

A main feature I would like to use is auto code completion. When coding in Eclipse, if I were to type "Class::" where "Class" was the name of a class I created, a window would pop up with all of the options I had to type there. How do I get this feature to work in Kdevelop? I have gone into Project Options and turned on Automatic Code Completion but I think I must be missing a step because it is not working yet.

I know this question wasn't included in the topic, but also I was wanting to know where I could configure what all of the code template keywords did, for example, in a template $NAMESPACEBEG$ would format a namespace in this way:

Source code

1
namespace "user defined name"{


but I would like to configure it to format slightly different:

Source code

1
2
namespace "user defined name"
{


Where do I go to change this a bit to my own personal liking?

Thanks a lot for a quick response.