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

て烟熏妆下的殇ゞ 提交于 2019-11-29 04:09:40

I wrote an extension for this. It's called CodeLink:

https://marketplace.visualstudio.com/items?itemName=AuriRahimzadeh.CodeLinktm

I'm looking for testers and feedback. I only have so many solutions with which to test it :)

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.

Its not a plugin, but you can now add a line parameter (eg &line=1234) to a TFS file browser url, and then email that link to a colleague, it will open the file in a browser with the specified line highlighted.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!