Browse by Tags
Showing page 1 of 2 (18 total posts)
My use case is as follows: In my unit tests I tend to store a lot of mocks as member variables on the test class. This is an ...
I am trying the demo version of GhostDoc Pro to see if it fits our needs. The first thing I am trying to do is to modify the rule template for the methods in C#. Our standard is already define and cannot change
Here is my expected result:
I'm trying to modify this in a way that the Modified Date, Modified By and Description stay in the file and don't get overwritten every time I select "Document File". Is that possible? I'd also like to keep the // Author and // Created from getting over written as well. Is there another way around this? I want to be ...
I am having trouble getting GhostDoc Pro 4 beta to generate a return type for the following example:
public List<string> TestMethod(List<string> test)
This is what is generated:
In the GhostDoc Help file the Reference: Macros section lists many examples of "supported" macros along with their descriptions. However, I've discovered that many other macros work -- for example:
Is there a list of possible macros? Or even better, an outline that shows the validity rules for ...
I've introduced my own rules to extend the xml output of properties, methods, fields, etc.
As mentioned in the subject, the processor stops processing, if it hits on
a List<T> type.
Take this short code snippet as an example:
There appears to be a bug in the default script in V 3.0.10340 when documenting a static constructor.
It checks for a static constructor on System.Object (or actual parent if child class) and finds one so provides that, incorrect comment rather than a comment for proper static constructor.
This can be fix by switching the order of the else ...
GhostDoc ignores generic interfaces, while non-generic ones are mapped correctly.
The following code ilustrates the issue:
using System;using System.Collections.Generic;
To define the type for the parameters and the return type, one has to write the full name of the type. It would be good to see System.Object in the combo list. But I needed to tell that a mehod returns nothing, that it's void, I did try System.Void (which would have been correct) and it didn't work, instead I have to leave it open to any ...
I just downloaded the last released GhostDoc atm. and started writting some custom configuration (I had played with old versions, before it was adquired by submain). I decided to write a custom rule for all the methods and properties in one of my solutions in Visual Studio 2010... I thought it was a good way to test both my ...