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.

sunil_thaha

Beginner

  • "sunil_thaha" started this thread

Posts: 3

Location: India/Kerala/Cochin

  • Send private message

1

Tuesday, June 28th 2005, 7:37am

Help Please - KDevelop

Hi Gys

I have very recently switched from designer based approach ( coding in the ui.h ) to the sub classing approach. I heard that KDevelop is an excellent editor. If you are using this IDE. could you please explain the code completion feature. I couldnot get any documentaion on this facility. Is this IDE at par with the M$ Visual C++ 's Editor which has intellisense Feature that really boosts our Productivity.
I mean it's easy to code using that M$-IDE.

Thanks in Advance
Live & Let Live

Latem

Beginner

Posts: 31

Location: New Brunswick, Canada

Occupation: Student/Programmer

  • Send private message

2

Wednesday, June 29th 2005, 12:55pm

AFAIK, by defualt I dont think KDevelop has "universal" code completeion like VS where it acts on all the libraries you are using. I think it only acts on your stuff. So if you do

Source code

1
2
QString str;
str.


You will not get a menu for all the QString members.

However lets say you make MyWidget class, and you do:

Source code

1
2
MyWidget widget;
widget.


You will get all the MyWidget members in a dropdown menu. That's how it works for me. Looking at the KDevelop FAQ there seems to be a way to get it to do code completeion for external libraries:

Quoted

How can I enable code completion for external libraries?

When you have any C/C++ project opened, go to menu Project->Project Settings, in Project Options dialog choose C++ Specific tab, then Code Completion tab. Push Add Persistant Class Store button and complete the New Persistant Class Store wizard. After completing the wizard, make sure that the newly created class store is checked in the list of persistant class stores at Code Completion tab.


Hope this helps,

Latem
The march of progress:
C:
printf("%10.2f", x);
C++:
cout << setw(10) << setprecision(2) << showpoint << x;
Java:
java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
formatter.setMinimumFractionDigits(2);
formatter.setMaximumFractionDigits(2);
String s = formatter.format(x);
for (int i = s.length(); i < 10; i++) System.out.print(' ');
System.out.print(s);

sunil_thaha

Beginner

  • "sunil_thaha" started this thread

Posts: 3

Location: India/Kerala/Cochin

  • Send private message

3

Thursday, June 30th 2005, 5:31am

[ Solved ] Help Please - KDevelop

thank u very much Latem
I was looking for a reply like this
Now my KDevelop is working ;)
Live & Let Live