Just a few wishes.. (for christmas)

Started by kobold, December 03, 2005, 10:51:22 AM

Previous topic - Next topic

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.

AlexN

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:
best regards
Alex ;)

frankie

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
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

kobold

Yes i could write an add in... i could do so much... *dream*

QuoteFrom 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.

Pelle

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
/Pelle

John Z

Quote from: kobold on December 05, 2005, 08:59:19 PM
Yes i could write an add in... i could do so much... *dream*

QuoteFrom 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

John Z

Quote from: Pelle on December 06, 2005, 10:23:39 AM

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