4

I have a project with over 100 C# classes and want to generate the documentation for every variable, property and method. In the Visual Studio macOS IDE you can do this for 1 method at a time with /// , but this is monkey work to do this for all classes.

Is there a possibility to automate this in Xamarin Studio/Visual Studio for Mac? If not, is there an IDE where I can do this?

I don't want a program that bundles the documentation (like Doxygen), I want something that adds the inline documentation, I will add the documentation myself (or edit the autogenerated documentation).

7
  • So you need somethig that would generate empty summary tags for you? Commented Feb 23, 2017 at 13:55
  • 1
    GhostDoc could do the trick: submain.com/products/ghostdoc.aspx However, it can only generate comments derived from the information in the code. That makes it pretty usesless if you don't upgrade it with useful information Commented Feb 23, 2017 at 13:55
  • @MaLiN2223 Visual studio for mac does not generate empty tags. It gives a generated summary and a summary of every paramater of your method. Commented Feb 23, 2017 at 14:01
  • Did you try to search for similar problems? Check for answers in e.g. this question. Commented Feb 23, 2017 at 14:12
  • 2
    The problem with auto-generating the documentation comments is it's then difficult to keep track of which ones are currently useless (just auto-generated) vs the ones that are useful (have real documentation attached). Your one chance to know this for sure is to not auto-generate them. Commented Feb 23, 2017 at 14:26

2 Answers 2

2

You can do this with GhostDoc or SandCastle. Sandcastle is a standalone app that will run over the source in your project folder, while Ghostdoc is a plugin for Visual Studio.

Sadly, neither work on mac.

Sign up to request clarification or add additional context in comments.

Comments

0

I use doxygen for C# documentation, it works for Xamarin too.

3 Comments

From the Question: "I don't want a program that bundles the documentation (like Doxygen),..."
ok sorry, I suggest it because I used it and I found it perfect.
How to generate todo list in xamarin?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.