NO

Author Topic: Just a few wishes.. (for christmas)  (Read 6075 times)

kobold

  • Guest
Just a few wishes.. (for christmas)
« 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.

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: Just a few wishes.. (for christmas)
« Reply #1 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:
best regards
 Alex ;)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
Re: Just a few wishes.. (for christmas)
« Reply #2 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
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

kobold

  • Guest
Just a few wishes.. (for christmas)
« Reply #3 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.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Just a few wishes.. (for christmas)
« Reply #4 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
/Pelle

Offline John Z

  • Member
  • *
  • Posts: 790
Re: Just a few wishes.. (for christmas)
« Reply #5 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

Offline John Z

  • Member
  • *
  • Posts: 790
Re: Just a few wishes.. (for christmas)
« Reply #6 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