1
Do not document private fields
Question asked by Douglas R Jones - 3/26/2024 at 1:58 PM
Answered
I am not a T4 expert. Where do I go to tell GhostDoc Pro to stop commenting private fields?

3 Replies

Reply to Thread
0
Misha Zhutov Replied
Employee Post
Hi Douglas, 

What GhostDoc edition are you using - Community or Pro? Do you mean "commenting" via Document This command?
0
Douglas R Jones Replied
Misha,
My post stated I am using Pro. My description could have been better. When I click the "Document File" option, GhostDoc Pro goes out and documents the entire file. Part of that work GhostDoc Pro documents all of the fields and parameters. For example:

        /// <summary>
        /// The text lines
        /// </summary>
        private ObservableCollection<string> _textLines;

I would like it to ignore private fields when documenting a file.

Thanks.
0
Misha Zhutov Replied
Employee Post Marked As Answer
Douglas

You need to uncheck Private in the GhostDoc Pro->Options->General->Scope for Document File/Type

Reply to Thread