AgentSmith
AgentSmith copied to clipboard
Can there be an option to use built-in type names instead of their class names?
For example: /// Returns a <see cref="string" /> instead of /// Returns a <see cref="System.String" />
I'm using VS 2015 and R# 9.2.
Hi Jeremy
Can you give an example when /// Returns a <see cref="System.String" /> is created?
namespace Sample
{
/// <summary>
/// A static class.
/// </summary>
public static class Class1
{
/// <summary>
/// Returns a <see cref="string" /> representing something.
/// </summary>
public static string MyMethod()
{
return "something";
}
}
}
Choosing "Reflow and Retag Comment [Agent Smith]" on the method's XML comment changes it to:
/// <summary>
/// Returns a <see cref="System.String" /> representing something.
/// </summary>