![](/img/trans.png)
[英]Is there a Visual Studio or Resharper keystroke to copy-to-clipboard the current line?
[英]Is there a Visual Studio or Resharper shortcut to copy the current type and member to the clipboard?
例如...
public class TestClass
{
public void Method1()
{
// Cursor is here or on Method1
}
}
我想要一種方法將“TestClass.Method1”復制到剪貼板。
沒有內置功能可以做到這一點,但在ReSharper 8中有類似的東西 - 您可以將XML-Doc ID復制到剪貼板,例如:
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
}
}
}
將插入符號放在Main
,然后選擇此菜單:
將M:ConsoleApplication1.Program.Main(System.String[])
復制到剪貼板。
希望(有點)幫助......
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.