NO

Author Topic: Just a few wishes.. (for christmas)  (Read 3023 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: 383
    • 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: 1702
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

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: 1974
    • 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