0

Is there any way to automate Resharper to add function headers to all C# functions?

Eg

/// <summary />
/// <param name="path"></param>
/// <param name="logError"></param>
public FileFormatPluginLoader(string path, Action<string, Exception, bool> logError = null)

If I type /// at least once, then run Code Cleanup (Ctrl+e,c) it will create these. I would like it to also automate the initial /// step for functions with no XML header at all.

Is this possible with Resharper? Or do I require a third party program/script?

1 Answer 1

1

I'm not aware of any ReSharper plugins that do this, but you may want to look at GhostDoc which will do this and more for you.

GhostDoc analyzes method signatures and generates very basic documentation based on it. So you don't even need to type ///.

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

Comments

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.