some suggestions

Ralf Gerlich Ralf.Gerlich at t-online.de
Sun Jul 4 07:19:06 UTC 1999


Hi!

I'm now using the CVS snapshot from 30.06.1999. Great work! Up to now it
runs flawlessly!

I've got some suggestions to add in the classview and in the generation
of member functions and member variables.

1.
What about implementing folders for the CV? I don't mean folders where
to put the classes in but folders in the classes where to put the
functions and variables in. These could be built out of subsequent
member functions and variables in one public, protected or private
block, e.g.

class xyz {
public: // constructors
	xyz();
	xyz(char* text=0);
	~xyz();
public: // access functions
	char* getText();
	void setText(char* text=0);
protected: // variables
	char* myText;
};

Would become

xyz
+constructors
 +xyz()
 +xyz(char* text=0)
 +~xyz()
+access functions
 +getText()
 +setText(char* text=0)
+variables
 +myText

The other way round you could add functions or variables to one of those
folders and the members would be added to the end or the beginning of
the specific block.

I don't know how much information the parser can provide so this is
possible but you'll know best what can be done and what not.

2.
It would be good if the new members weren't always creating a new
public, protected or private block. Also they should be added to the end
of the always existing blocks but that's actually an issue of taste.

Ciao,
Ralf



More information about the KDevelop mailing list