[dream wish] tree-view for class-list

Request a new command, feature, or improvement

Moderator: MSandro

Post Reply
MSandro
Posts: 156
Joined: Jul 26th, '17, 21:12

[dream wish] tree-view for class-list

Post by MSandro » Sep 22nd, '17, 08:55

When a project grows large, to manage a large amount of classes it would be better to use a tree-structure instead of an normal list to manage the classes.

SimpleSi
Posts: 327
Joined: Jul 2nd, '17, 13:47

Re: [dream wish] tree-view for class-list

Post by SimpleSi » Sep 22nd, '17, 10:29

Not seeing how a tree structure applies to classes

Have you got a example project that would show the idea?

MSandro
Posts: 156
Joined: Jul 26th, '17, 21:12

Re: [dream wish] tree-view for class-list

Post by MSandro » Sep 22nd, '17, 14:39

I mean something like this:
Tree-Structure-VisualStudion.PNG
Instead of:
list-classes.PNG
list-classes.PNG (11.22 KiB) Viewed 1075 times
To heave more control over your class structure in huge projects, also maybe it can display the scripts/methods in the class to directly jump to this script.

SimpleSi
Posts: 327
Joined: Jul 2nd, '17, 13:47

Re: [dream wish] tree-view for class-list

Post by SimpleSi » Sep 22nd, '17, 15:07

How would GP know which classes are to be children/parents of other classes?

How do you create/assign a class to be a child of another class?

JohnM
Posts: 367
Joined: Sep 11th, '15, 14:42

Re: [dream wish] tree-view for class-list

Post by JohnM » Oct 31st, '17, 17:10

Unlike Free Pascal (the language used by the Lazarus library you mentioned), GP does not have subclasses, so GP classes don't form a natural tree structure.

However, you are right that GP needs a better way to organize classes for larger projects such as the one you are working on, perhaps using some sort of nested folders.

Thanks for sharing this dream/wish.

Post Reply