1

How can I configure GhostDoc to generate comments for attributes on properties such as this:

[Required(ErrorMessage = "Name is Required.")]
[StringLength(50, ErrorMessage = "Name must be less than 50 characters.")]
public string Name { get; set; }
SetiSeeker
  • 6,482
  • 9
  • 42
  • 64

1 Answers1

-1

Easy

move to Tools --> GHostDoc--> Options --> Rules --> Properties --> Double click your required type and set the comments generation rule.

Saboor Awan
  • 1,567
  • 4
  • 24
  • 37
  • By no means is it easy to make those adjustments to the standard template. I'm looking at the boilerplate C# template. Yes, it is easy to find where the configuration takes place, though. This thread could do with a nice example of what @SetiSeeker is asking. An example of how it is not easy for everyone: http://bensnose.blogspot.com/2014/07/configuring-ghostdoc-pro-part-1-file.html – shmup Oct 24 '16 at 19:59