ReSharper Help

Copying Symbol Information to Clipboard

ReSharper provides two handy commands for copying symbol information to clipboard:

Copying XML-Doc ID

ReSharper | Edit | Copy XML-Doc ID to Clipboard
ReSharper_CopyXmlDocIdToClipboard

When you invoke this command on any symbol (declaration or usage), it copies to the clipboard its XML-Doc ID, which will identify this symbol in the XML documentation of your code. You can use this ID when referencing this symbol from XML-doc comments of other symbols. For more information about the ID format, see Processing the XML File (C# Programming Guide).

For example, for the method MyMethod declared as

namespace MyNamespace { class MyClass { void MyMethod(){} } }

the XML-doc iD will be M:MyNamespace.MyClass.MyMethod

Copying fully-qualified name

ReSharper | Edit | Copy Fully-qualified name to Clipboard
ReSharper_CopyFqn

When you invoke this command on any symbol (declaration or usage), it copies to the clipboard its fully-qualified name or any of its prefix parts:

Copying fully-qualified type name with ReSharper
You may need symbol's fully-qualified name in different situations, for example when you use reflection.

This feature is supported in the following languages/technologies:

C# VB.NET C++ HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by Language section.

See Also

Last modified: 21 September 2015