NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
A tool to generate code comments.
Veteran

Joined: 30 Nov 2006
Posts: 186
Reply with quote
It would be nice to have a tool that could step through the code and insert blocks of comments for each function.

Including putting in the parameters and return values.
Of course it will not be able to write a description of the function, but I find it hard to remember the syntax of the comments, so any automatic help would be very nice for a future PHPEd.
View user's profileFind all posts by hgrSend private message


Joined: 04 Aug 2004
Posts: 13
Reply with quote
I second this.
At this time, I create an autocorrection for this.

When I type sp_fc, it autoreplaces it with a comment block, but something more automated would definitely be a great addition!
View user's profileFind all posts by speedpacketSend private message


Joined: 15 Jul 2006
Posts: 18
Reply with quote
I'm bit lazy to code it but generally you can do it by writing a simple php code to search for functions and add the comment tags before it, there are already tutorials for it on this forum (shell php5)

_________________
developer@ clexus
View user's profileFind all posts by danialtSend private message
A tool to generate code comments.
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic