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. |