Share a link to a location in code (source file / line number) in Visual Studio

后端 未结 3 1346
闹比i
闹比i 2020-12-16 18:52

I\'m looking for a plugin (may be a TFS plugin) for Visual Studio 2010 that add a \'Copy uri\' context menu entry in code editor and would make possible to copy paste a file

3条回答
  •  醉梦人生
    2020-12-16 19:09

    There's no such extension that exist from what I know.

    However it wouldn't that hard to create a VSX that adds an entry in the Source Code context menu that will get the Source Control path from the Local Path using the TFS Api then putting the result in the clipboard.

    In the meantime there's no easy way to come up with a workaround as I'm not aware of a way to get the Source Control path from the Local path in Visual Studio.

提交回复
热议问题