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
 
Andy,

You must comment them manually.

Hope this helps.
 
Hi Andy,

There is no such tool.
Why would you want to comment constant value?
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top