Pelles C forum

Pelles C => Feature requests => Topic started by: kobold on December 03, 2005, 10:51:22 AM

Title: Just a few wishes.. (for christmas)
Post by: kobold on December 03, 2005, 10:51:22 AM
... why not include a line counter? Several comilers are showing how many lines my code has - PellesC not. It is not really important, but informative.

... why not a 'function tree' function, where i can see which function calls which other function(s)? (For those people who hate drawing plans of their programs like me)

Thats all till now.
Title: Re: Just a few wishes.. (for christmas)
Post by: AlexN on December 05, 2005, 08:17:01 AM
Quote from: "kobold"
... why not include a line counter? Several comilers are showing how many lines my code has - PellesC not. It is not really important, but informative.

... why not a 'function tree' function, where i can see which function calls which other function(s)? (For those people who hate drawing plans of their programs like me)

Thats all till now.


This sounds like problems you can easily solve by writing an addin. :twisted:
Title: Re: Just a few wishes.. (for christmas)
Post by: frankie on December 05, 2005, 10:07:51 AM
Quote from: "kobold"
... why not include a line counter? Several comilers are showing how many lines my code has - PellesC not. It is not really important, but informative.


From main menu Source --> View linenumbers
Title: Just a few wishes.. (for christmas)
Post by: kobold on December 05, 2005, 08:59:19 PM
Yes i could write an add in... i could do so much... *dream*

Quote
From main menu Source --> View linenumbers


Is on, but thats not that what i mean. I would like to know the number of lines (without blanks, comments) of the whole project (every *.c file in it) together.
Title: Re: Just a few wishes.. (for christmas)
Post by: Pelle on December 06, 2005, 10:23:39 AM
Quote from: "kobold"
... why not include a line counter? Several comilers are showing how many lines my code has - PellesC not. It is not really important, but informative.

Source code metrics, cyclomatic complexity, and stuff like that, can sometimes be useful - but I don't think it's generally useful enough to be part of the "core" package. It should probably be implemented as an add-in. It has been an idea for a long time, but other things have been (so far) more important...

Quote from: "kobold"

... why not a 'function tree' function, where i can see which function calls which other function(s)? (For those people who hate drawing plans of their programs like me)

Also useful, and probably also as an add-in. Drawing the tree, especially a large one, isn't exactly trivial...

Pelle
Title: Re: Just a few wishes.. (for christmas)
Post by: John Z on May 23, 2021, 05:52:22 PM
Yes i could write an add in... i could do so much... *dream*

Quote
From main menu Source --> View linenumbers

Is on, but thats not that what i mean. I would like to know the number of lines (without blanks, comments) of the whole project (every *.c file in it) together.

Here you go - do you still participate in the forum?
https://forum.pellesc.de/index.php?topic=10092.msg34402#msg34402
Title: Re: Just a few wishes.. (for christmas)
Post by: John Z on June 24, 2021, 02:25:12 PM

Quote from: kobold
... why not a 'function tree' function, where i can see which function calls which other function(s)? (For those people who hate drawing plans of their programs like me)
Also useful, and probably also as an add-in. Drawing the tree, especially a large one, isn't exactly trivial...

Pelle

Line Count add-in will show the " which (user)function calls which other (user)function(s)" in a treeview like fashion.

John Z