Code Comment

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Hello

Is there an option in the Code Comment Tool, so that the values of constants
are automatically commented? Or must I comment them manually?

Thanks
- Andy
 
There is no such tool.
Why would you want to comment constant value?

To explain exactly what it's the constant of, presumably - the same way
Double.MinValue, Double.NaN etc are commented. Why would you *not* want
to comment constant values?
 
I think if we go back to the original post -

the real question is HOW will a tool AUTOMATICALLY generate comments for
constants?
If you find a tool that will read my mind and write code, i'm in! :-)

-Rob Teixeira [MVP]
 
I think if we go back to the original post -


the real question is HOW will a tool AUTOMATICALLY generate comments for
constants?
If you find a tool that will read my mind and write code, i'm in! :-)

Oh I have no problem with *that* being impossible, but that's not what
Miha asked.
 
Ah yes, actually Rob got my intention while my question was bad-formed.
Yes, I was acutally wondering why would you automatically comment ....
Sorry, for misleading you.
 
Back
Top