Skip to content
| Marketplace
Sign in
Visual Studio>Tools>CopyWithLocation
CopyWithLocation

CopyWithLocation

Igor Shatalkin

|
1,282 installs
| (2) | Free
Copies selected code with its location (class name, method name, line numbers)
Download

This extension copies the text you selected in file with it's location: the class and the method, code block belongs to, and the line number.

Assume, you selected such a string:

You can copy that string with its location using menu Edit -> Copy with location or by using a toolbar button:

After it your buffer will contain text:

ExtendedCopier.CopySelectionWithLocation:14: var activeDocument = dte.ActiveDocument;

This extension has got several options. Go to Tools -> Options -> Copy with location to customize copying formats.

You can load source code or contribute at https://bitbucket.org/ishatalkin/visual-studio-extensions.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft